Troubleshooting CentOS 7 Boot Network device not booting method

Source: Internet
Author: User

In the VMware 10 installed a CentOS 7 system, boot found no network, so Ifconfig found that the network card did not start


Eno16777736:flags=4163<up,broadcast,running,multicast> MTU 1500

Ether 00:0c:29:2b:c0:1e Txqueuelen (Ethernet)

RX Packets 1 Bytes 251 (251.0 B)

RX errors 0 dropped 0 overruns 0 frame 0

TX Packets 0 Bytes 0 (0.0 B)

TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


Lo:flags=73<up,loopback,running> MTU 65536

inet 127.0.0.1 netmask 255.0.0.0

Inet6:: 1 prefixlen ScopeID 0x10

Loop Txqueuelen 0 (Local Loopback)

RX Packets 386 bytes 33512 (32.7 KiB)

RX errors 0 dropped 0 overruns 0 frame 0

TX Packets 386 bytes 33512 (32.7 KiB)

TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


A habitual restart of the network card Services "service network restart"


Tips:


Restarting network (via Systemctl): [OK]


Restart OK,,,,


Check the NIC "Ifconfig" again


It's the same old way.


So "Ifup eno16777736" manually restart the NIC


Tips:


Connection successfully activated (D-bus active path:/org/freedesktop/networkmanager/activeconnection/0)


Startup success


Check the NIC status "Ifconfig" again


Eno16777736:flags=4163<up,broadcast,running,multicast> MTU 1500

inet 192.168.41.128 netmask 255.255.255.0 broadcast 192.168.41.255

Inet6 fe80::20c:29ff:fe2b:c01e Prefixlen ScopeID 0x20<link>

Ether 00:0c:29:2b:c0:1e Txqueuelen (Ethernet)

RX Packets Bytes 9637 (9.4 KiB)

RX errors 0 dropped 0 overruns 0 frame 0

TX Packets bytes 7083 (6.9 KiB)

TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


Lo:flags=73<up,loopback,running> MTU 65536

inet 127.0.0.1 netmask 255.0.0.0

Inet6:: 1 prefixlen ScopeID 0x10

Loop Txqueuelen 0 (Local Loopback)

RX Packets 650 Bytes 56612 (55.2 KiB)

RX errors 0 dropped 0 overruns 0 frame 0

TX Packets 650 Bytes 56612 (55.2 KiB)

TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


OK, get the IP problem resolved,


Subsequent:


Originally this problem will not appear, mainly my network environment is a DHCP server, IP address can be automatically obtained. If it is the manual input IP will not appear this problem, because in the network card configuration file There is a "onboot=no" indicates that the network card is not activated , because the CENTOS7 is not familiar with, so did not find this problem.


The above solution is not exhaustive, because every restart of the server will need to enter "Ifup eno16777736", it is troublesome, we can modify the network card configuration file "/etc/sysconfig/network-scripts/ ifcfg-eno16777736"Inside of the"onboot=no"modified to"Onboot=yes", so that the problem completely solved!



Troubleshooting CentOS 7 Boot Network device not booting method

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.