Network config on Rhel based systems
Network configuration on Red Hat based systems
Edit ifcfg network files
nano /etc/sysconfig/network-scripts/ifcfg-networkadapter
Example configs
-No DNS or Gateway needed-
DEVICE=em2
ONBOOT=yes
BOOTPROTO=static
IPADDR=
PREFIX=24
MTU=1500
ZONE=trusted
-DNS and Gateway-
NAME=em1
DEVICE=em1
HWADDR=
BOOTPROTO=static
ONBOOT=yes
IPADDR=
NETMASK=
GATEWAY=
Bring network adapter online
ifup networkadaptername
Network manage commands
nmtui
nmcli