interface_up_down_command
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
interface_up_down_command [2024/01/12 14:02] – created walkeradmin | interface_up_down_command [2024/01/12 14:07] (current) – walkeradmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Interface Up Down Command] | + | ====== Alma Linux 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.1705068133.txt.gz · Last modified: 2024/01/12 14:02 by walkeradmin