Solved

Comms between vlans via router

Posted on 2016-10-18
2
51 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Draytek (Site to Site VPN using IPSec) 6 108
Cisco IOS upgrade c3560_backup and deletion of drwx 7 89
Voice QoS 3Com 5500G 5 59
Routers to buy for MDT Multitasking 6 81
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
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…

752 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