How to configure Centos Network from command line

Check network status

The server has two network interfaces eth0 and eth1 (exclude lo), but only eth0 is enabled Enable eth1

Save ifcfg-eth1  Restart the network

  Confirm the network

 

Bookmark/Favorites