Inter VLAN Routing

By default only hosts are member of the same VLAN can communicate. To change this and allow inter-vlan communication, we need a layer 3 switch or router. Or simply when we want to ping or access a computer which is on other vlan. so we have to place a router for inter routing.


For this purpose we will logically divide the port of router in required parts and will assign IP to them which become the default gateway for both VLAN.

  • Switch# vlan database
  • Switch(vlan)# vlan 2 name IT
  • Switch(vlan)#vlan 3 name HR
  • Switch(vlan)# exit
  • Switch# conf t
  • Switch(config)# int range fa 0/1 – 8
  • Switch(conf_if)# switchport access vlan 2
  • Switch(conf_if)# exit
  • Switch(config)#int range fa 0/9 – 15
  • Switch(conf_if)# switchport access vlan 3
  • Switch(conf_if)# exit
  • Switch(conf)# int fa 0/24
  • Switch(conf)if)# switchport mode trunk
  • Switch(conf_if)# no shut
  • Switch(conf_if)# exit
  • Switch(conf)# exit
  • Now on router do the following configuration
  • Router>enable
  • Router# conf terminal
  • Router(conf)# int fa 0/0.1
  • Router(conf_if)# encapsulation dot1q 2
  • Router(conf_if)# IP address
  • Router(conf_if)# exit
  • Router(conf)# int fa 0/0.2
  • Router(conf_if)# encapsulation dot1q 3
  • Router(conf_if)# IP address
  • Router(conf_if)# exit
  • Router(conf)# int fa 0/0
  • Router(conf)if)# no shutdown

Copyright ©2010 - 2021 | Privacy Policy

Porno Gratuit Porno Français Adulte XXX Brazzers Porn College Girls Film érotique Hard Porn Inceste Famille Porno Japonais Asiatique Jeunes Filles Porno Latin Brown Femmes Porn Mobile Porn Russe Porn Stars Porno Arabe Turc Porno caché Porno de qualité HD Porno Gratuit Porno Mature de Milf Porno Noir Regarder Porn Relations Lesbiennes Secrétaire de Bureau Porn Sexe en Groupe Sexe Gay Sexe Oral Vidéo Amateur Vidéo Anal