I have two internet connections on seperate routers. I have multiple vlan's on a 3750x setup with intervlan routing. I would like to route all internet traffic from one particular vlan out through a 2nd connection.
currently I have a command ip route 0.0.0.0 0.0.0.0 10.1.1.211, where 10.1.1.211 is the router for my first internet connection.
The second router / internet connection is IP 10.1.1.212
Any tips guys? I am thinking I need to use PBR, is this the only way?
Thanks for that.
Do you have a quick example that I could use? For the vlan in question, I would like to have intervlan routing still apply and only internet traffic go out on the second connection.
You need to have IP Services IOS and also use SDM routing.
sdm prefer routing
set ip default next-hop 10.1.1.212
Interface Vlan X
Ip policy route-map PBR