In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
The physical network card here refers to the actual network interface equipment on the server, here I have two network cards on the server, and the two physical network cards seen in the system correspond to the two network interfaces of eth0 and eth1 respectively.
Recently, after installing CentOS with VMware, when configuring IP with ifconfig, I found that the network card eth0 was missing.
1. Use the command: ifconfig eth0 up starts the network card, but the IP address, subnet mask and gateway are all wrong.
You can change it using the following command:
Ifconfig eth0 10.0.13.24 netmask 255.255.255.0 gateway 10.0.13.1
If the network connection uses bridging, you can continue to configure the network eth0.
2. Modify the / etc/sysconfig/network-scripts/ifcfg-eth0 file as follows:
DEVICE=eth0 / / device name ONBOOT=yes / / activate the device yes or noBOOTPROTO=static / / static or dhcpIPADDR=10.0.13.24 / / IP address NETMASK=255.255.255.0 / / subnet mask GATEWAY=10.0.13.1 / / gateway HWADDR=00:0C:29:96:38:F8 / / MAC address at system startup
3. Use the command: service network restart to restart the network service
The above is the details of the linux virtual machine can not find the network card eth0, please pay attention to other related articles!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.