How to Configure Different Gateways for Different VLANs
Posted
by
Bryan
on Server Fault
See other posts from Server Fault
or by Bryan
Published on 2010-06-24T11:33:12Z
Indexed on
2012/09/29
9:39 UTC
Read the original article
Hit count: 251
I have around 10 VLANs, and two different internet gateways. I want traffic on some VLANs to use one gateway, and traffic on other VLANs to use another gateway. (e.g. I wish to route server traffic via one gateway and desktop internet traffic down another).
Is it possible to configure different default routes for different VLANs on a Dell 6224 switch? Or is their a better way of doing what I'm trying to achieve?
The core switch I am using is a Dell PowerConnect 6224 switch.
Currently I'm using:
ip route 0.0.0.0 0.0.0.0 10.58.3.16
which creates the default gateway for all VLANs.
I did consider adding multiple routes with equal metric, and setting ACLs between the VLANs to deny access to the 'wrong' gateway, but that idea just doesn't feel right to me.
© Server Fault or respective owner