Linux settings Nic default start linux Nic start network recently used rhel-server-6.4-i386, found that the system starts each time you need to manually start the NIC, the system Nic is not started by default. For ease of use, you need to set the default start of the NIC, you can follow the steps below, first talk about Several configuration files: nic configuration file/etc/sysconfig/network-script/ifcfg-eth0DNS configuration file/etc/resolv. conf host name configuration file/etc/sysconfig/network static host name configuration file/etc/hosts because I am operating in the virtual machine, there is actually only one Nic, so you need to configure the ifcfg-eth0 to view the configuration file content: Java code DEVICE = eth0 TYPE = Ethernet UUID = bab30ce3-e7d7-4682-a8a3-3e2ef2ad206c ONBOOT = yes NM_CONTROLLED = yes BOOTPROTO = none HWADDR = 00: 0C: 29: 32: 6E: cd ipaddr = 192.168.0.173 PREFIX = 24 GATEWAY = 192.168.0.1 DEFROUTE = yes pai4_failure_fatal = yes pai6init = no NAME = "System eth0" LAST_CONNECT = 1378973118 ONBOOT attribute indicates whether the instance is started, here I have set it to boot. The default value is no.