Detailed explanation of centos Network configuration File
Nic profile description:
# #
[root@oldboy ~] # cat / etc/sysconfig/network-scripts/ifcfg-eth0 = "here is the default configuration file of the eth0 network card device # Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] DEVICE=eth0 =" here is the name of the network card: the first network card is eth0, the second is eth2...BOOTPROTO=static= "static is a fixed IP address, non-dynamic DHCP acquisition BROADCAST=10.0.0.255 =" here is the broadcast address, usually the last address of the network address. HWADDR=00:0C:29:0E:5F:63 = "here the mac address cannot be duplicated by different machines, especially when it comes to the Kelon virtual machine or copying the network card configuration. IPADDR=10.0.0.161 = "here is the IP address NETMASK=255.255.255.0=" subnet mask / 24NETWORK=10.0.0.0 = "network segment setting ONBOOT=yes =" boot network card self-boot GATEWAY=10.0.0.254= "gateway configuration, you can also add and delete the command line through route. TYPE=Ethernet= "type prompt: the first Nic is ifcfg-eth0, and the second is ifcfg-eth2....
Reference website:
Linux system basic network configuration old bird essence-old boy linux training-51CTO technology blog http://oldboy.blog.51cto.com/2561410/784625
Linux Network related configuration File-starof-blog Park http://www.cnblogs.com/starof/p/4153663.html
Linux network configuration file details-Hu. Jay-blog Park http://www.cnblogs.com/jackhub/archive/2013/11/03/3404686.html