Week 2-1 - SRWE Workshop - Dynamic Host Configuration Protocol v4 (DHCPv4) - Instructions

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Switching, Routing, and Wireless (SRWE) – Semester 2

Week 1 workshop – Dynamic Host Configuration Protocol v4 (DHCP v4)

1. Configure the DHCP-Router using the PC connected using the console cable. The
console password is ‘consoleclass’ and the exec mode password is ‘cisco’
PC > Desktop > Terminal

2. Configure the DHCP-Router with the following IP variables: -

INTERFACE IP ADDRESS SUBNET MASK


Gig0/0 192.168.11.1 255.255.255.0
Gig0/1 192.168.10.1 255.255.255.0

DHCP-Router(config) #int gig0/0


DHCP-Router(config-if) #ip address 192.168.11.1 255.255.255.0
DHCP-Router(config-if) #no shut
DHCP-Router(config-if) #int gig0/1
DHCP-Router(config-if) #ip address 192.168.10.1 255.255.255.0
DHCP-Router(config-if) #no shut
DHCP-Router(config-if) #exit

3. Configure the DNS-Server with the following IP variables: -

INTERFACE IP ADDRESS SUBNET MASK DEFAULT GATEWAY


Gig0/0 192.168.11.5 255.255.255.0 192.168.11.1

DNS-Server > Desktop > IP Configuration

4. Configure the DHCP-Server

a) Exclude the first 10 useable and the last useable IP address of the network.
DHCP-Router(config) #ip dhcp excluded-address 192.168.10.1 192.168.10.10
DHCP-Router(config) #ip dhcp excluded-address 192.168.10.254

b) Create a DHCP pool named CISCO-POOL


DHCP-Router(config) #ip dhcp pool CISCO-POOL

c) Set the network.


DHCP-Router(dhcp-config) #network 192.168.10.0 255.255.255.0

d) Set the default router.


DHCP-Router(dhcp-config) #default-router 192.168.10.1

e) Set the DNS server.


DHCP-Router(dhcp-config) #dns-server 192.168.11.5
DHCP-Router(dhcp-config) #exit

DHCP-Router(config) #do w

5. Obtain IP addresses in the PCs using DHCP

End of Paper !!
Regards

Cisco SRWE, Aaditya Khwakhwali.

You might also like