InterVLAN Routing Configuration Lab using cisco packet tracer

Posted: 25 Jul 2017 in CCNA
Tags: , ,

Today in this tutorial i am going to show you how to configure InterVLAN Routing. But before that we need to know what is InterVLAN Routing and Why we use it? What is the benefits of using intervlan routing?

InterVLAN Routing allow hosts and PCs in different vlan to communicate with each other. As we all know machines or PC in same VLAN can communicate with each other but if you want machines from other VLAN to communicate with you, for that you need to configure InterVLAN Routing.So here in this tutorial i will explain step wise method to easily configure InterVLAN Routing.As i love to explain to the point here i have mentioned step wise and to the point method to configure InterVlan routing.This article is completely focussed on configuration of InterVLAN using a cisco packet tracer.

InterVLAN Routing Configuration

inter vlan routing lab

STEP 1: Take four PC ,One Switch and A Router and connect them As i have shown in above topology Image.
STEP 2: Assign IP Address to ALL Computers.    and   to PC0  and  PC1   and  to PC2 and   PC3

STEP 3: Configure VLAN,Assign switch Ports to VLAN and Set Ports to access Mode.

Switch#config t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#vlan 10


Switch(config)#vlan 20


Switch(config)#int range fa0/1-2

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport access vlan 10


Switch(config)#int range fa0/3-4

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport access vlan 20
STEP 4: Create TRUNK PORT on SWITCH PORT which connected with ROUTER.

Since here in this Lab interface Fa0/5 port of switch is connected with Router and this port will have to route both VLAN network so we have to create TRUNK PORT on this Interface.

Switch(config)#int fa0/5

Switch(config-if)#no shut

Switch(config-if)#switchport mode trunk
STEP 5:GO  To Router interface Fa0/0 and turned ON interface.
Router(config)#int fa0/0

Router(config-if)#no shut
STEP 6:Create sub-interfaces, set 802.1Q trunking protocol and ip address on each sub-interface
Router(config)#int fa0/0.1

Router(config-subif)#encapsulation dot1q 10

Router(config-subif)#ip address

Router(config-subif)#no shut


Router(config)#int fa0/0.2

Router(config-subif)#encapsulation dot1q 20

Router(config-subif)#ip address

Router(config-subif)#no shut


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.