Configuration of Router as a DHCP Client
Hi !!! everyone on today we are going see and learn about how to configure a router as a DHCP client in the given below topology.
What do you know about DHCP client ?
A DHCP client is an Internet host using DHCP to obtain configuration parameters such as an IP address.
The configurable dynamic host configuration protocol client functionality allows a DHCP client to use a user-specified client identifier, class identifier, or suggested lease time when requesting an address from a DHCP server.
Configuration parameters and other control information are carried in tagged data items that are stored in the options field of the DHCP message.
Step 1: Now we can see in this lab that i have to configure Router R1 as DHCP Server
Configuration on Router R1:
Step 2: After our configuration in R1 as DHCP server, we have to configure Router R2 as DHCP Client
Configuration on Router R2:
In the above screenshot we can look the command that R2(config-if)#ip address dhcp in which this command will automatically assign the ip address on Router R2 interface. Which is shown below as screenshot.
Note: IP address DHCP will assign ip on interface on which you will run this command and it will ask for ip from DHCP SERVER.Here in our this Lab DHCP SERVER is Router R1. But you can also configure a dedicated Machine as a DHCP Server.
Through this results shown in screenshot that we can see the change in state to up which shows as green color.
Step 3: We can check or test Router R2 interface whether it got IP address or not
Therefore, we have successfully completed our lab session on how to configure a router as a DHCP client with the help of Packet Tracer version 7.0.
No comments:
Post a Comment