Windows Server

How to configure a Windows client to obtain IP Address automatically from a DHCP Server

An IP address is made up of a 32-bit number divided into octets. An IP address is used to help identify and address network-capable devices that are connected to computer networks that support the IP protocol. Each of the octets that make up an IP address has 8 positions in binary form that have 32 bits. The bit positions in an octet can have a value of 0 or 1 with a total number of 256 numbers possibly assigned to each octet. In this guide, we discussed how the Dynamic Host Configuration Protocol works.

For more information on DHCP, see the following links below
– How to install Dynamic Host Configuration Protocol on Windows Server 2019
– On how to configure DHCP: Post-deployment of Dynamic Host Configuration Protocol.
– How to configure DHCP Server option 60, 66 and 67 for Windows Deployment Services
– Information on BOOTP Vendor Extensions and DHCP Options.
– We can’t sign you with this credential because your domain isn’t available – Why Can’t I Connect with a 169.254 IP Address?

How Does a Private IP Address Function? The Internet Assigned Numbers Authority (IANA) is responsible for assigning blocks of private IP addresses such as 192.168.1.1 etc. These predefined ranges of addresses are intended to be used for specific tasks on individual computers or devices or local networking use. Devices that make use of a private address will not be able to connect to the Internet or receive connections from hosts located on the Internet without going through another computer or networking device located local to the machine using the private address that implements the Network Address Translation (NAT) protocol. See this guide on how to create and delete a DHCP reservation in Windows Server 2019.

To configure a client in order to obtain IP Address from DHCP Server, follow the steps below
–  Navigate to the taskbar (This is the easiest way to go about this)
– Click on your Network icon and choose “Network & Internet Settings” as shown below.

This will open the Windows Settings page
– Click on Ethernet on the left pane.
– Click on Change adaptor options on the right pane as shown below under Related Settings.

This will open up the Network Connection Window having your Network Adaptors
– Right-click on the Adaptor and select Properties or double click on the Adaptor as shown below

After double clicking on the Adaptor, this will open the Ethernet Status as shown below.
– Click on Properties

This will open a new window called Ethernet Properties
– Click on Internet Protocol Version 4 (TCP/IPv4), then click on “properties“.
In this Window, you can uncheck IPv6 if you do not use it in your environment. leaving it checked does not create any problem though.

This will open Internet Protocol Version 4 (TCP/IPv4) Properties.
– Click on “Obtain an IP address automatically and
– Click on Obtain DNS server address automatically
– Finally, click on OK

For more information on these commands, see DNS Error: How to fix Err Connection Timed Out Error.

To Verify the clients IP address, DNS, etc. use the following commands below
– To verify the client’s IP address obtained automatically, use the ipconfig/all from the command line.

 ipconfig/all 

You can also verify this from the Ethernet Status Windows
– Click on Details and this will open the Network Connection Details as shown below

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Advertisements
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x