Sponsored Link

DHCP : Configure DHCP Client : Rocky Linux2021/07/23

Configure DHCP Client to get IP address from DHCP Server in local network.
[1] For Rocky Linux Clients, Configure like follows. (Replace [enp1s0] to your own device name)
# install DHCP client if not installed (generally installed by default)

[root@client ~]#
dnf -y install dhcp-client
[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 10.
[2] Open the network settings and select [Internet Protocol version 4] and click [Properties] button.
[3] Check boxes like follows, then IP address is re-configured automatically.
[4] Verify network status IP address has been successfully assigned or not.
Matched Content