Solved

Can VLAN NO be differnt on differnt Switches?

Posted on 2008-06-19
4
308 Views
Last Modified: 2010-05-19
Deal All,

I would need some help on understanding how the below is working. Its been some time i had to work on VLAN's and i am confused after looking into the below design. Also all the below switches are in a differnt VTP Domain in Server Mode.

There is a L3 switch called SW1 which has has a VLAN100  with routing enabled. The vlan has a ip helper address assigned so that the users can get IP Automatically. Then this SW1 is connected to a Layer 2 switch which is called SW2 via a Access Port. And in the SW1 the access port vlan number stated is VLAN 100. BUt on the other end in the SW 2 the VLAN number stated is VLAN002 as an Access Port and also all the ports on the switch has VLAN002 as the vlan. Firstly how does ths work? Can VLAN Names be differnt on differnt switches? I know that VLAN on differnt VTP Domain does not need to be the same. But i would like to know how the packets really flow?


Also adding to this. This SW2 is conneted to a another L2 switch SW3. The SW2 and SW3 is connected by an access port where SW2 end the access port vlan is VLAN002 but in the SW3 the access port VLAN is nothing which mean it is the default VLAN1. But in he SW3 the default gateway is set to the VLAN100 IP in the SW1.

I know it is quite difficult to understand what i am trying to say but i have put it the most simplest way i can, hope to get some answers from you all.


NOTE: Other than the ports connected to the switches the other ports are set to portfast. in the above i have just mentioned only  1 VLAN100 example, as of now there are many another VLAN between those 3 switches and are names differntly in others 2.

Thanks
0
Comment
Question by:kamalgopi
  • 2
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
from_exp earned 500 total points
ID: 21828621
hi!
when you have switches connected with access ports, each switch can have its own vlans, because access vlan means: "all incoming packets treat as if in vlan X"
Note, word "incoming", because outgoing packets are not marked. so unless you connect switches with trunked ports vlan IDs can be different in each switch.

0
 
LVL 11

Author Comment

by:kamalgopi
ID: 21828963
Hi,

Thanks a lot for sharing that info, this was something new for me. Now i totally understand how it works.

Right now i am planning to have 2 more VLANs in the SW3, instead of creating a Trunk and disturbing the whole design(i have just told 3 switches but in the real world we have some 40 to 50 switches) i can just create an another Access Port to the SW2 with the new VLAN i am creating? This should make it work right?

I know creating an Trunk is easier but it would need a lot of changes and surely the local people would not want to change anything, they are very content with what they have now.

Thanks
Hari
0
 
LVL 21

Expert Comment

by:from_exp
ID: 21829289
trunk is much better, than plugging two cables between switches each within its own vlan, because you can avoid creation of potential loop.
0
 
LVL 11

Author Comment

by:kamalgopi
ID: 21829527
Hi ,

Yeah me also decided on Trunk and just to allow that particular VLAN on it. I would sit down and plan it properly instead of just do a Temp thing. Thanks a lot for your suggestion.

Regards
Hari
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Transparency shows that a company is the kind of business that it wants people to think it is.
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

18 Experts available now in Live!

Get 1:1 Help Now