Solved

Comms between vlans via router

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can Cisco resolve internet address internally 4 44
Cisco RSTP portfast 3 69
Alcatel Lucent OS6450 switch randomly reboots 4 64
Understanding split up wire 10 35
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

786 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