Basic Networking Commands CentOS 7

Check Network Info: IP address

Bring Interface Up (where x us the interface number): ifup em(x)

Take Interface Down: ifdown em(x)

Edit interface config: vi /etc/sysconfig/network-scripts/ifcfg-(interface name e.g/ eth0)

Leave a comment

Your email address will not be published. Required fields are marked *