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