Professional Documents
Culture Documents
DHCP use UDP 67 and 68 ports. It has a messaging system for the communication
between DHCP server and DHCP client.These messaging system’s messages and
their types are mentined below:
RouterA(config-if)# exit
RouterA(dhcp-config)# exit
Connect DNS Server to Switch and enter the following TCP/IP Configuration .
IP ADDRESS 10.0.0.2
GATEWAY 10.0.0.1
Click on Config Tab , Select DNS & enter the following Details for Web Server
Turn on DNS Service.
Web Connect Server to Switch and enter the following TCP/IP Configuration.
IP ADDRESS 10.0.0.3
GATEWAY 10.0.0.1
Now go to User 1 PC
Turn on DHCP for this PC , you will see all details populated from DHCP Server.
www.cisco.com
DHCP_SERVER(config)#int f0/0
DHCP_SERVER(config-if)#ip address 192.168.2.2 255.255.255.0
DHCP_SERVER(config-if)#no shutdown
DHCP_SERVER(config)#ip dhcp pool POOL1
DHCP_SERVER(dhcp-config)#network 192.168.1.0 255.255.255.0
DHCP_SERVER(dhcp-config)#default-router 192.1Now, the ip helper address
command is used for configuring the router as a dhcp relay agent, giving 192.168.2.2
the address of DHCP_server.
ROUTER(config)#int f0/0
ROUTER(config-if)#ip helper-address 192.168.2.2
ROUTER(config-if)#exit
68.1.1
DHCP_SERVER(dhcp-config)#exit