0% found this document useful (0 votes)
5 views9 pages

InterVLAN Routing Lab Tutorial Guide

Lab

Uploaded by

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

InterVLAN Routing Lab Tutorial Guide

Lab

Uploaded by

FarhanAshraf
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ITNE2003

Install, Configure, Operate and Troubleshoot


Medium-Networks

Lab Tutorial - 6 of Lesson - 6

June 2018
ITNE2003 Lab Tutorial 6

InterVLAN Routing LAB

Network address plan

VLAN-10

Allocated subnet [Link]/24

Network Address [Link]

Broadcast Address [Link]

SW-1: F0/1 To PC0: [Link]

SW-3: F0/1 To Pc2: [Link]

VLAN-20

Copyright © 2015-2018 VIT, All Rights Reserved. 2


ITNE2003 Lab Tutorial 6

Allocated subnet [Link]/24

Network Address [Link]

Broadcast Address [Link]

SW-1: F0/2 PC1: [Link]

SW-3: F0/2 PC3: [Link]

VLAN-30

Allocated subnet [Link]/24

Network Address [Link]

Broadcast Address [Link]

SW-2: F0/1 PC4: [Link]

SW-4: F0/1 PC5: [Link]

VLAN-40

Allocated subnet [Link]/24

Network Address [Link]

Broadcast Address [Link]

SW-2: F0/2 PC5: [Link]

SW-4: F0/2 PC7: [Link]

Network configuration
Switch and router interface description table
This table helps network engineers to quickly identify the routing direction of each interface in a
complex network environment.

SW-1

Interface FastEthernet0/1 ACCESS VLAN-10

Copyright © 2015-2018 VIT, All Rights Reserved. 3


ITNE2003 Lab Tutorial 6

Interface FastEthernet0/2 ACCESS VLAN-20

Interface GigabitEthernet0/1 TRUNK NATIVE VLAN-100

ALLOWED: VLAN-10, 20, 30, 40

Interface GigabitEthernet0/2 TRUNK NATIVE VLAN-100

ALLOWED: VLAN-10, 20, 30, 40

SW-2

Interface FastEthernet0/1 ACCESS VLAN-30

Interface FastEthernet0/2 ACCESS VLAN-40

Interface GigabitEthernet0/1 TRUNK NATIVE VLAN-100

ALLOWED: VLAN-10, 20, 30, 40

Interface GigabitEthernet0/2 Not connected

SW-3

Interface FastEthernet0/1 ACCESS VLAN-10

Interface FastEthernet0/2 ACCESS VLAN-20

Interface GigabitEthernet0/1 TRUNK NATIVE VLAN-100

ALLOWED: VLAN-10, 20, 30, 40

Interface GigabitEthernet0/2 TRUNK NATIVE VLAN-100

ALLOWED: VLAN-10, 20, 30, 40

SW-4

Interface FastEthernet0/1 ACCESS VLAN-30

Interface FastEthernet0/2 ACCESS VLAN-40

Interface GigabitEthernet0/1 TRUNK NATIVE VLAN-100

ALLOWED: VLAN-10, 20, 30, 40

Interface GigabitEthernet0/2 Not connected

Copyright © 2015-2018 VIT, All Rights Reserved. 4


ITNE2003 Lab Tutorial 6

SW-0

Interface FastEthernet0/24 TRUNK TO ROUTER RA

NATIVE VLAN-100

ALLOWED: VLAN-10, 20, 30, 40

Interface GigabitEthernet0/1 TRUNK NATIVE VLAN-100

ALLOWED: VLAN-10, 20, 30, 40

Interface GigabitEthernet0/2 TRUNK NATIVE VLAN-100

ALLOWED: VLAN-10, 20, 30, 40

Router RA

Interface FastEthernet0/0 NO IP ADDRESS InterVLAN routing

Interface FastEthernet0/0.10 [Link]/[Link] TO VLAN-10

Interface FastEthernet0/0.20 [Link]/[Link] TO VLAN-20

Interface FastEthernet0/0.30 [Link]/[Link] TO VLAN-30

Interface FastEthernet0/0.40 [Link]/[Link] TO VLAN-40

VLAN configuration
Switch SW-1
Switch>enable
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
//configure switch hostname
Switch(config)#hostname SW1
//configure VLANs
SW1(config)#vlan 10
SW1(config-vlan)#name VLAN-10
SW1(config-vlan)#exit
SW1(config)#vlan 20
SW1(config-vlan)#name VLAN-20
SW1(config-vlan)#exit
SW1(config)#vlan 30
SW1(config-vlan)#name VLAN-30
SW1(config-vlan)#exit
SW1(config)#vlan 40

Copyright © 2015-2018 VIT, All Rights Reserved. 5


ITNE2003 Lab Tutorial 6

SW1(config-vlan)#name VLAN-40
SW1(config-vlan)#exit
SW1(config)#
//configure interface FastEthernet0/1 as access interface
SW1(config)#int F0/1
SW1(config-if)#description VLAN-10
SW1(config-if)#switchport access vlan 10
SW1(config-if)#no shut
SW1(config-if)#exit
//configure interface FastEthernet0/1 as access interface
SW1(config)#int F0/2
SW1(config-if)#description VLAN-20
SW1(config-if)#switchport access vlan 20
SW1(config-if)#no shut
SW1(config-if)#exit
//configure interface GigabitEthernet0/1 as trunk for VLAN 10,20,30,40
SW1(config)#int G0/1
SW1(config-inf)# description TO-SW2
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport trunk native vlan 100
SW1(config-if)#switchport trunk allowed vlan 10,20,30,40
SW1(config-if)#exit
//configure interface GigabitEthernet0/2 as trunk for VLAN 10,20,30,40
SW1(config)#int G0/2
SW1(config-inf)# description TO-SW0
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport trunk native vlan 100
SW1(config-if)#switchport trunk allowed vlan 10,20,30,40
SW1(config-if)#exit
SW1(config)#exit

Repeat for switch SW-2, SW-3, SW-4 and SW-0

Switch SW-2
Switch SW-3
Switch SW-4
Switch SW-0

Inter-VLAN routing configuration


Router RA
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
//configure switch hostname
Router(config)#hostname RA

Copyright © 2015-2018 VIT, All Rights Reserved. 6


ITNE2003 Lab Tutorial 6

//configure FastEthernet0/0 interface for interVLAN routing


RA(config)#int F0/0
RA(config-if)#description interVLAN routing interface
RA(config-if)#no ip address
RA(config-if)#no shut
RA(config-if)#exit
//configure virtual interface to connect to VLAN-10
RA(config)#int F0/0.10
RA(config-subif)#description TO-VLAN-10
RA(config-subif)#encapsulation dot1Q 10
RA(config-subif)#ip address [Link] [Link]
RA(config-subif)#exit
RA(config)#
//repeat for VLAN-20,30 and 40

After you have successfully configured the router interfaces, the connection between the interfaces are
established and shown in green colour.

Copyright © 2015-2018 VIT, All Rights Reserved. 7


ITNE2003 Lab Tutorial 6

Save the running configurations


Finally, we save the running configuration to NVRAM so the routers can load the configuration
automatically next time when power on.

Router RA
//exit from the global configuration mode (if not already done so)
RA(config)#exit
//save the running config to NVRAM (startup config)
RA#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
RA#

Repeat for switches

Switch SW-0
Switch SW-1
Switch SW-2
Switch SW-3
Switch SW-4

Copyright © 2015-2018 VIT, All Rights Reserved. 8


ITNE2003 Lab Tutorial 6

Configure PC IP addresses
VLAN-10

Repeat for other PCs

Copyright © 2015-2018 VIT, All Rights Reserved. 9

You might also like