Linux boot does not get IP troubleshooting ideas

Source: Internet
Author: User

Recently found that the Linux host restart always get the IP, each time to manually dhclient eth0, very troublesome.

Thought about it, there might be a problem.

So, there is this troubleshooting idea:

1. Check if the NIC is connected on the boot:650) this.width=650; "Src=" Https://s3.51cto.com/wyfs02/M02/92/24/wKioL1j8d_ Ax2nsvaadlwb52may860.png-wh_500x0-wm_3-wmp_4-s_1005844048.png "title=" 3q.png "alt=" WKioL1j8d_ Ax2nsvaadlwb52may860.png-wh_50 "/>

2. in the virtual machine using the command to view, whether to start the network service, mainly see 3, 52 levels, it is best to open:

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/92/25/wKiom1j8eCKz9kZ-AAAUURHRcc8416.png-wh_500x0-wm_ 3-wmp_4-s_3824004084.png "title=" 5.png "alt=" Wkiom1j8eckz9kz-aaauurhrcc8416.png-wh_50 "/>

3.

Also need to look at the network card configuration file, whether the configuration is correct, mainly see

onboot: Boot up the NIC. If this item is yes

Bootproto: Network allocation mode, static, where lowercase is required , such as DHCP (automatic DHCP acquisition), static (in static IP mode exists).

I have written Bootproto as a capitalized DHCP, and have to manually get the IP ....


This article from the "Flying Small GUI" blog, reproduced please contact the author!

Linux boot does not get IP troubleshooting ideas

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.