Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Comms between vlans via router

Posted on 2016-10-18
2
Medium Priority
?
64 Views
Last Modified: 2016-10-18
Hi
This is all theory as I haven't got a router to test.
Looking at the attached /embedded drawing, PC1 needs to talk to PC2.
Switch 1 has ports 2-23 configured for Switchport mode access, ports 1 & 24 are trunks.
Switch 2 has ports 1-23 configured for switchport mode access, switchport access vlan 2, port 24 is trunk.

My question is, do the switches need to have both interface vlan 1 and interface vlan 2 configured in their config?, or does switch 1 only need interface vlan 1 as none of the ports will be used for vlan 2?
I currently have all switches configured with both.
regards
Rick

Network Diagram
0
Comment
Question by:Rick_Penney
2 Comments
 
LVL 7

Accepted Solution

by:
Niten Kumar earned 2000 total points
ID: 41848098
Yes the both the switches need interface vlan 1 and interface vlan 2 configured in their config because as the frames leave the switch a tag is inserted in the frame.  When an Ethernet frame traverses a trunk link, a special VLAN tag is added to the frame and sent across the trunk link.

As it arrives at the end of the trunk link the tag is removed and the frame is sent to the correct access link port according to the switch's table, so that the receiving end is unaware of any VLAN information.
0
 

Author Closing Comment

by:Rick_Penney
ID: 41848104
Excellent, I thought as much as I guess that's why VTP exists.
I'm very grateful for your quick reply and clear explanation
regards
Rick
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question