Solved

Can VLAN NO be differnt on differnt Switches?

Posted on 2008-06-19
4
310 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

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
esx multi vlans 3 83
Trunk Port 7 44
RV042 site to site vpn can ping but not access server via rdp 6 28
Cisco 3560 Switch with Multiple Gateways 10 68
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Is your computer hacked? learn how to detect and delete malware in your PC
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

773 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