Wednesday, January 20, 2010

Configuring Inter VLAN routing and DHCP-Scope-VLAN Bindings

Hats off to Taha for digging it to the level it demanded, this exercise has polished DHCP and inter vlan routing issues. the details of the config are as follows



Replace the 3550 with 3725 hooked with NM-16-ESW, yep im speaking the GNS-3 language, the IP addressing is different from the above image but topology remains the same, the configs are follows.


Layer3_Switch Config

!---ENABLING IP ROUTING

conft# ip routing

!---INTERFACE TO DHCP ROUTER

conft# interface fa1/1
conft# no switchport
conft# ip address 200.1.1.1 255.255.255.0
conft# no shutdown

!---CREATING DATA AND VOICE VLANS

conft# vlan 10
conft# name VOICE
conft# vlan 10
conft# name DATA

!---CREATING SVIs FOR DATA AND VOICE VLANS

conft# interface vlan 10
conft# ip address 172.16.1.1 255.255.255.0
ADDING AN IP HELPER ADDRESS TO DHCP SERVER TO GET AN IP THROUGH VOICE SCOPE
conft# ip helper-address 200.1.1.2

conft# no shutdown

conft# interface vlan 20
conft# ip address 172.16.2.1 255.255.255.0
ADDING AN IP HELPER ADDRESS TO DHCP SERVER TO GET AN IP THROUGH DATA SCOPE
conft# ip-helper address 200.1.1.2
conft# no shutdown

!---INTERFACE TO PC AND IP SOFT/PHONE

conft# interface fa1/10
conft# switchport access vlan 20
conft# switchport voice vlan 10
conft# no shutdown


!---CREATING A DEFAULT ROUTE

------------------------------------------------------------

DHCP Router Config

conft# interface fa0/0

conft# ip address 200.1.1.2 255.255.255.0
conft# no shutdown


(config)# ip dhcp excluded-address 172.16.1.1 172.16.1.9
(config)# ip dhcp excluded-address 172.16.2.1 172.16.2.9

(config)# ip dhcp pool DATA
(dhcp-config)# network 172.16.2.0 255.255.255.0
(dhcp-config)# default-router 172.16.2.1
(dhcp-config)# dns-server 4.2.2.2
(dhcp-config)# exit

(config)# ip dhcp pool VOICE
(dhcp-config)# network 172.16.1.0 255.255.255.0
(dhcp-config)# default-router 172.16.1.1
(dhcp-config)# option 150 ip 172.16.1.1
(dhcp-config)# exit

(config)# ip route 172.16.1.0 255.255.255.0 200.1.1.1
(config)# ip route 172.16.2.0 255.255.255.0 200.1.1.1


very helpful reference document,

http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a008019e74e.shtml

1 comment:

raqueljackyl said...

Find out the best slots games at the best casino
Find out the 당진 출장안마 best 정읍 출장샵 slots 강원도 출장안마 games at the best casino gambling site with a bonus a great slot game for both beginners 구미 출장마사지 and seasoned players. 통영 출장샵 1. Slot Machine For All