Centos 6.5 ip network card configuration

Modify the file: / etc / sysconfig / Network-scripts / ifcfg- eth0 
the DEVICE
= eth0 the TYPE = Ethernet BOOTPROTO = static IPADDR = 192.168 . 1.100 NETMASK = 255.255 . 255.0 GATEWAY = 192.168 . 1.1 NM_CONTROLLED = NO ONBOOT = yes # open from the start reboot card services /etc/init.d/network restart

 

Guess you like

Origin www.cnblogs.com/bretzhao/p/11818876.html