Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

vlan device gateways

Posted on 2012-12-20
7
Medium Priority
?
394 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 9

Assisted Solution

by:gt2847c
gt2847c earned 620 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 600 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
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…

597 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