CentOS 8
Sponsored Link

DHCP : Configure DHCP Client : CentOS2019/10/02

Configure DHCP Client to get IP address from DHCP Server in local network.
[1] For CentOS Clients, Configure like follows. (Replace [ens2] 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 ens2 ipv4.method auto

[root@client ~]#
nmcli connection down ens2; nmcli connection up ens2
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] Make sure network status IP address has been assigned or not.
Matched Content