How to Configure Different Gateways for Different VLANs
- by Bryan
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.