CentOS Stream 9
Sponsored Link

DHCP : Configure DHCP Client : CentOS2022/01/11

 
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 down enp1s0; nmcli connection up enp1s0
DHCP : Configure 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 connection], and then click the [Properties].
[3] That's OK if [IP assignment] is [DHCP]. If not, click the [Edit] button.
[4] If clicked [Edit] button on previous section, following window is shown. Select [Automatic (DHCP)] and save.
[5] Confirm the Network connection status, that's OK if IP is assigned.
Matched Content