InterVLAN routing Configuration
configuration they will talk or tranfrer data connected to all devices in same switch or in network.
but when in switch we create vlan then divided in to subdomain or subnetworks so without any
By defaultin swithc there are one vlan and it's all ports are in same vlan so without any
layer three device two diffrent vlant can not tranfer information or talk each other also they cant
transfer information in other network.thay only can talk or transfer information which is in
same vlan or same sub twork.
here we r doing inter vlan routing.Configuration of router for interVLAN routing
for when we wannt to talk 2 different vlan in network then intervlan routing is needed.
appropriate VLANs back through the same line.
the packet goes to router first and the router will route the packets to the
For now lets configure the router to do interVLAN routing.
here we have cisco 2600 series router.it's have by default 2 ethernet interface
so we can connect through that port to our cisco switch.in on that port we devided in to
sub interfaces ,each interface for each vlan sapretely.we will give also sapret ip addresses
to each interface,there are no need to give ip address on main interface .
subinter face is one port can be logically devided into many sub interfaces.
Each sub interface will handle one VLAN/subnet.
here we need to assign VLAN first on the sub interface, after that give IP
address .no need to give IP address to main interface ethernet 0/0 but do not forget to give
command no shut , the sub interfaces will automatically apply the same no shutdown.
here's how we configure them:
router> enable
router2600# configure terminal
router 2600(config)# interface ethernet0/0
router 2600(config-if)# no ip address
router 2600(config-if)# no shutdown
router 2600(config-if)# interface ethernet0/0.1
router 2600(config-subif)# encapsulation dot1q 2
router 2600(config-subif)# ip address 10.100.2.1 255.255.255.0
router 2600(config-subif)# interface ethernet0/1.2
router 2600(config-subif)# encapsulation dot1q 3
router2600 (config-subif)# ip address 10.100.4.1 255.255.255.0
router 2600(config-subif)# interface ethernet0/1.3
router 2600(config-subif)# encapsulation dot1q 4
router 2600(config-subif)# ip address 10.100.6.1 255.255.255.0
router 2600(config-subif)# interface ethernet0/1.5
router 2600(config-subif)# encapsulation dot1q 5
router 2600 (config-subif)# ip address 10.100.8.1 255.255.255.0
router 2600 (config-subif)#exit
router 2600 (config-t#exit
router 2600#wr
0 comments:
Post a Comment