Linux settings Nic default start linux Nic start network recently used rhel-server-64-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 Nic boot, you can perform according to the following operations, first say a few Linux settings Nic default boot linux Nic boot network recently used rhel-server-6.4-i386, it is found that the network card must be manually started every time after the system starts. by default, the system network card does not start. 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.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.