Jan 2024
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).
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
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