0% found this document useful (0 votes)
50 views2 pages

DHCP Server With InterVlan Routing

DHCP Server with InterVlan Routing in text format which help user to create DHCP server for intervlan routing

Uploaded by

Zoheb qureshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views2 pages

DHCP Server With InterVlan Routing

DHCP Server with InterVlan Routing in text format which help user to create DHCP server for intervlan routing

Uploaded by

Zoheb qureshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

DHCP Server with InterVlan Routing

-------------------------------
Lab Topology
(Router1, Switch, PC)
(R1 connect f0/0 to SW g0/0)
(SW connect g0/2 to PC)
-------------------------------

1. Router

int f0/0 ## Port Connected to Switch ##


no sh

int f0/0.10 ## Subinterface for VLAN 10


and DHCP default gateway ##
encapulsation dot1q 10
ip add 10.1.1.1 255.255.255.0

ip dhcp pool VLAN_10 ## DHCP Pool and default gateway


Subinterface 10 #
network 10.1.1.0 255.255.255.0
dns-server 8.8.8.8 4.4.2.
default-router 10.1.1.1
exit

ip dhcp excluded-address 10.0.0.1 ##remove gateway ip from pool##

2. Switch

int g0/0 ## Port Connected to Router


##
Switchport trunk encapulsation dot1q
switchport mode trunk

vlan 10 ## creating VLAN 10 as


for subinterface VLAN##
name DATA_DHCP

interface vlan 10
ip add 10.1.1.2 255.255.255.0 ##Router f0/0.10 subinterface same range IP
##
exit

ip default-gateway 10.1.1.1 ## Router Subinterface IP ##

int g0/2 ##interface connected to PC##


switchport mode access
switchport access vlan 10 ##Assiging in VLAN 10 ##

3. PC

ip dhcp
DORA Process ##Successfull complete if PC got the IP##

You might also like