interface_up_down_command
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| interface_up_down_command [2024/01/12 14:07] – walkeradmin | interface_up_down_command [2024/10/02 17:21] (current) – removed walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Interface Up Down Command ====== | ||
| - | <color # | ||
| - | \\ | ||
| - | \\ | ||
| - | |||
| - | ---- | ||
| - | ===== Introduction ===== | ||
| - | Bringing network interfaces UP and DOWN in Alma Linux 8 is different from what we were used to in CentOS (7.x). The Network Scripts were deprecated in Red Hat 8 (So Alma Linux 8 and CentOS 8). | ||
| - | \\ | ||
| - | \\ | ||
| - | ==== Set Network Interface Down ==== | ||
| - | To set a network interface down on Alma Linux 8 you need to use the following: | ||
| - | \\ | ||
| - | ip link set {interface name} down | ||
| - | | ||
| - | e.g. | ||
| - | ip link set eno2 down | ||
| - | \\ | ||
| - | ==== Set Network Interface Up ==== | ||
| - | To set a network interface down on Alma Linux 8 you need to use the following: | ||
| - | \\ | ||
| - | ip link set {interface name} up | ||
| - | | ||
| - | e.g. | ||
| - | ip link set eno2 up | ||
| - | \\ | ||
| - | \\ | ||
interface_up_down_command.1705068453.txt.gz · Last modified: by walkeradmin
