Solved

vlan device gateways

Posted on 2012-12-20
7
392 Views
Last Modified: 2012-12-21
If I have a layer 3 switch trunking down 5 vlans to a layer 2 switch.....what should the gateway be of the devices plugged into that layer 2 switch?  

What if i'm trunking down those same vlans through two layer 2 switches?  Is there any problems with this?  Can I trunk through as many layer 2 switches as I want?  Any best practices here?   Thanks!
0
Comment
Question by:readymade
[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
  • 3
  • 2
  • 2
7 Comments
 
LVL 9

Expert Comment

by:gt2847c
ID: 38711785
If you're sending 5 VLANs down a trunk to a layer 2 switch, the gateway for devices plugged into that layer 2 switch would depend on which VLAN their device's port was configured to use.  Assuming your VLANs are carrying IP traffic, each VLAN would typically have an IP subnet associated with it (doesn't necessarily have to or could have more than one, but generally speaking will have one).  Whatever is routing that subnet would be the appropriate gateway.

Trunking through multiple layer 2 switches is fine, there is an upper limit based on distance and latency, but two is completely fine.  You would simply have to have trunk ports in between them.
0
 
LVL 6

Expert Comment

by:traoher
ID: 38711827
If you trunking is working correctly, your gateway still is the layer 3 switch VLAN interface IP for systems from within each VLAN.

For example, if your vlan5 has vlan interface ip 10.10.10.5 for 10.10.10.0/24 subnet then, your gateway for vlan 5 computers would be 10.10.10.5, no matter where they are as long as they are in the same vlan 5.
0
 

Author Comment

by:readymade
ID: 38713373
What if the layer 2 switch has an interface ip on that vlan?
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 9

Assisted Solution

by:gt2847c
gt2847c earned 155 total points
ID: 38713395
So long as the IP address is not the same as the layer 3 switch interface, fine.  You can use it to remotely manage the layer 2 switch.  It would not be the gateway address for other devices, however as the layer 2 switch can't route.  The layer 2 switch would need to have a default route pointing to the layer 3 switch interface so that it could reach and be reached by other networks.
0
 

Author Comment

by:readymade
ID: 38713428
I would have thought so too.  I had the layer 3 switch as the gateway for those devices, however any time I was on any of the other vlans other than the management vlan, I could not go anywhere.  

I called Dell this morning and they looked at all my routing, gateways, etc.  They said if the vlan has an interface IP, it should be the gateway of those devices.  I made that interface ip my gateway and that solved it.  

Now, I know making the layer 3 switch your gateway works sometimes, but it seems when I was on this 3rd switch in the chain, it wasn't.  

The layer 2 switch doesn't need to route in this case.

So i'm not really sure what the deal is.
0
 
LVL 6

Accepted Solution

by:
traoher earned 150 total points
ID: 38714624
The problem comes about if your other layer 2 switches doesn't forward the arp request (a broadcast request), the originating device would not know which MAC to use as a destination MAC.

The question is the why wouldn't the switches in between relay the arp request for MAC?

anyway, glad you got it resolved.
0
 

Author Closing Comment

by:readymade
ID: 38714712
I understand what you're saying.  This is all still a little above my head.  There is probably more than one way to make it work.  Thanks for the help guys.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

717 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