CentOS Stream 10
Sponsored Link

DHCP Client : CentOS2025/03/12

 

Configure DHCP Client to get IP address from DHCP Server in local network.

[1] For CentOS Clients, Configure like follows. (Replace [enp1s0] to your own device name)
[root@client ~]#
nmcli connection modify enp1s0 ipv4.method auto

[root@client ~]#
nmcli connection up enp1s0
DHCP Client : Windows
 

Configure DHCP Client on Windows computer. This example is based on Windows 11.

[2] Right-click the start button and open the [Network Connections].
[3] Click [Ethernet] to open.
[4] If the [IP assignment] is set to [Automatic (DHCP)], then everything is OK. If it is not, click the [Edit] button.
[5] If you click the [Edit] button, you will see the following screen. Select [Automatic (DHCP)] and save.
[6] Check the network status, and if the IP address is automatically assigned as shown below, then everything is OK.
Matched Content