We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
Router DHCP Configuration
‘Sragneanrough cable
‘Sorta cable
oneal (Plover)
Crossover oable
Router | Router | FastEthemet | Subnetmask | Enable | Login Password
Designation | Name | 0/0 Address Secret | VTY, and console
password passwords
RouterO GAD__|192.168.10.1 | 255.255.2550 | class cisco
Objective
Perform basic router configurations
] Change the DHCP setting to a specific network range
I Configure the clients to obtain an IP address via DHCP
Background/Preparation
All three PCs which connect to the router should obtain an IP address automaticallyStep 1 Configure the hostname and passwords on the GAD router
‘a. On the router, enter the global configuration mode. Configure the hostname as
shown in the chart. Then configure the console, virtual terminal and enable
passwords. If there are any difficulties, refer to the Configuring Router
Passwords lab.
Step 2 Configure the interface on the GAD router
Go to the proper command mode and enter the following text:
GAD(config)#interface fastethernet 0/0
GAD(config-if}#ip address 192.168.10.1 255.255.255.0
GAD(config-if}#no shutdown
Step 3: Exclude statically assigned addresses
] The DHCP server assumes that all IP addresses in a DHCP address pool subnet
are available for assigning to DHCP clients. You must specify the IP addresses that
the DHCP server should not assign to clients
These IP address are usually static addresses reserved for the router interface,
switch management IP address, servers, and local network printer.
The ip dhcp excluded-address command prevents the router from assigning IP
addresses within the configured range.
These addresses will not be assigned to any DHCP clients
Step 4: Configure the pool
GAD(config)#ip dhep pool GADfa0
GAD(dhop-config)#network 192.168.10.0 255.255.255.0
GAD(dhop-config)#default-router 192.168.10.1
GAD(dhop-config)#exit
Step 5: to exclude the first 5 address from the DHCP
GAD(pconfig)# ip dhep excluded-address 192.168.10.1 192.168.10.5Step 6: Configure DHCP on the PCs
.a) Enable DHCP on PCO
Click PCO .1
Click he Config tab. Go to the Interface FastEthernet sub-menu .2
Enable DHCP by selecting the DHCP button in the IP Configuration panel .3
Notice that an IP address and subnet mask is automatically assigned*
Close the configuration window .4
-b) Observe the IP configuration of a client that does not have DHCP enabled
Click PC1 1
Click the Desktop tab > Command Prompt .2
‘Type ipconfig and press enter. *Notice that all settings are set to 0.0.0.0. No IP address .3
is assigned statically, and the PC has not obtained an address automatically from DHCP
.c) Enable DHCP on PC1 and PC2, u:
1g the Config tab as outlined in Step 5a
Notice that a different IP address from the one assigned to PCO is automatically assigned*
to PC1 and PC2
.d) Close the configuration window
Step 7: Verify connectivity
1a) Click PC1 and select the Desktop tab > Command Prompt
b) Type ipconfig to view the IP configuration of PC1
.c) Type ping 192.168. 10.1 to ping the Router
4) Ping PCO
You should receive a reply from both devices"
) Close the configuration window
show ip dhcp conflict
show ip dhep binding