Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed explanation of centos Network configuration File

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report