Home > OS >  How the Linux system boot automatically obtain an IP address
How the Linux system boot automatically obtain an IP address

Time:09-20

Linux system is centos 8, unable to obtain IP address automatically after login system, as shown in the figure below

Need to log in to system input dhclient command to get the IP

System has been configured network adapter ifcfg - ens33 BNBOOT=yes already set

Gnome graphical interface and system network icon was gone

Interface is a product of glyph before network configuration button

Want to ask everybody to help, who had two days didn't find out why

CodePudding user response:

With static IP is not sweet?

CodePudding user response:

I can get IP through dhclient can into the system, also can configure a static IP, but didn't find the reasons for this problem

CodePudding user response:

This is a virtual machine, consider the UUID conflict problem, the UUID deleted in the network adapter configuration file and try again

CodePudding user response:

There is a service, networkmanager, should be not caused by normal operation,

CodePudding user response:

Centos 8 should be similar to redhat8
1. The DHCP server is built? If it is built, check whether the DHCP server state is normal, whether since the launch of boot
2. The card file inside information, most of them are useless advice streamline
Also recently in network management under Linux, welcome exchange
You can refer to my blog: https://blog.csdn.net/chaos_oper/article/details/104334538

CodePudding user response:

reference 5 floor chaos_oper reply:
centos 8 should be similar to redhat8
1. The DHCP server is built? If it is built, check whether the DHCP server state is normal, whether since the launch of boot
2. The card file inside information, most of them are useless advice streamline
Also recently in network management under Linux, welcome exchange
You can refer to my blog: https://blog.csdn.net/chaos_oper/article/details/104334538

Compared with 7 the redhat8 changes in the network management is to restart the network service order change

CodePudding user response:

The DHCP server is not built, is a virtual machine to install centos8 system, after testing, NetworkManager service run normally, it is no use UUID deleted
  • Related