Configure automatic DHCP on boot
Posted: 2019/12/29 00:35:16
Hi all,
I have CentOS 8 on a fairly standard PC with two NICs, enp5s0 and enp6s0.
I have tried using nmtui to set up enp5s0 to automatically connect and DHCP on boot, however it does not do this. Manually running dhclient enp5s0 allows the interface to acquire an IP address normally but this does not happen automatically.
The contents of the config file are standard. Is there anything that needs to happen specifically to make this work?
Thanks
I have CentOS 8 on a fairly standard PC with two NICs, enp5s0 and enp6s0.
I have tried using nmtui to set up enp5s0 to automatically connect and DHCP on boot, however it does not do this. Manually running dhclient enp5s0 allows the interface to acquire an IP address normally but this does not happen automatically.
The contents of the config file are standard. Is there anything that needs to happen specifically to make this work?
Thanks