Lab Section: Router and Routing Protocol
Lab Title: Configure Cisco 2600 Router as a DHCP Server
Purpose:
1. Understand how to configure Cisco 2600 as a DHCP server.
2. Understand how the DHCP server distribute IP
Preparation:
1. DHCP, ARP, DNS.
Topological:
Requires:
1. Don’t distribute IP address 172.20.30.1 and from 172.20.30.200 to 172.20.30.254
2. Default gateway is 172.20.30.254.
3. Dns server is 208.67.222.222
4. The ranger of IP that can be distributed is 172.20.0.0/16
Procedure:
1. Open a terminal to setup the router:
Router>en
Router#conf t
Router(config)#ip dhcp excluded-address 172.20.30.1
Router(config)#ip dhcp excluded-address 172.20.30.200 172.20.30.254
Router(config)#ip dhcp pool testdhcp
Router(dhcp-config)#?
default-router Default routers
dns-server Set name server
exit Exit from DHCP pool configuration mode
network Network number and mask
no Negate a command or set its defaults
Router(dhcp-config)#default-router 172.20.30.254
Router(dhcp-config)#dns-server 208.67.222.222
Router(dhcp-config)#network 172.20.30.0 255.255.0.0
Router(dhcp-config)#end
Router#conf t
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 172.20.30.1 255.255.0.0
Router(config-if)#no shut
Router(config-if)#end
2. Check the PC’s IP address. Open a command line window,
> ipconfig /renew
--- Renew the IP address.
> ipconfig /all
--- Show current IP setting.
3. Back to the terminal of router:
Router#show arp
---Display Arp table
Router#show ip dhcp binding
--- Display all the distributed IP
*******************************************************************************
1. For more information, please visit my blog http://jhuang8.blogspot.com/.
2. Video demo is located in http://www.valit.ca/lab/.
No comments:
Post a Comment