Solved

Comms between vlans via router

Posted on 2016-10-18
2
22 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 6

Accepted Solution

by:
Niten Kumar earned 500 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now