CCNA – Switching example – Inter VLAN routing


  1. Topology

  1. Required:

    We now have a router and we allow all PCs (different VLANs) can contact each other

    Then configure Router to assign IP for phone

  2. Implement: Step 1 – Need to finish all steps on Example 1

         Step 2 – Configure trunk link between Router and Switch 2 (Done require 1)

Switch 2


S2 (config)# interface fastEthernet 0/2

S2 (config-if)#switchport mode trunk

S2 (config-if)#switchport trunk allowed vlan 1-99



Router(config)#interface fastEthernet 0/0.1

Router(config-subif)#encapsulation dot1Q 1

Router(config-subif)#ip address

Router(config-subif)#interface fastEthernet 0/0.50

Router(config-subif)#encapsulation dot1Q 50

Router(config-subif)#ip address

Router(config-subif)#interface fastEthernet 0/0.99

Router(config-subif)#encapsulation dot1Q 99

Router(config-subif)#ip address

Router(config-subif)#interface fastEthernet 0/0.60

Router(config-subif)#encapsulation dot1Q 60

Router(config-subif)#ip address

Create sub interface (for vlan 1)

Encapsulation dot1Q for vlan 1

Create sub interface (for vlan 50)

Encapsulation dot1Q for vlan 50

Create sub interface (for vlan 99)

Encapsulation dot1Q for vlan 99

Create sub interface (for vlan 60)

Encapsulation dot1Q for vlan 60


About Terri

System Administrator @Netpower Datacenter

Posted on 24.03.2015, in Basic & Networking, Technical Articles and tagged , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

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

Google+ photo

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

Twitter picture

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

Facebook photo

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


Connecting to %s

%d bloggers like this: