Dos command to set Automatic IP configuration from DHCP server

Every networking devices on a network should has unique IP address for establishing communication between them. In a local network we can assign IP address to a computer by ether manual IP address configuration or automatic IP address configuration. For a large network it is difficult to maintain manual IP address so the prefered way is automatic IP address configuration. Dynamic Host Configuration Protocol (DHCP) is the network protocol which assigns automatic IP address. DHCP server assigns IP address to the DHCP clients.

Working of DHCP on a network



The way DHCP works is called DORA. Where the each letters of DORA are:

1. D-- DHCP Discovery

It is the process where DHCP client discover the DHCP server.

2. O--- DHCP Offer

In this process DHCP server offer an IP address to the client.

3. R---- DHCP Request

Here client request for an IP address to one of the DHCP servers in the network

4. A--- DHCP Acknowledgment

In this stage DHCP server send an acknowledgment to the client that the IP request is granted.


Set Automatic IP configuration by DHCP server from command prompt



The steps to set Automatic UP configuration from a DHCP server using command prompt are:

1. Click on start

2. Go to command prompt

3. Type the following command

netsh interface ip set address "Local Area Connection" dhcp

After typing the command press enter. The DORA will start now to get an IP address from DHCP server.


Related Topics

1. How to check the connectivity issues in your Local network

2. I can ping global DNS server but cannot go online

3. How to assign static IP address from DOS prompt


New Topics

0 comments: