Separate Default Gateways for each VLAN on a 3750 switch

Unanswered Question
Apr 16th, 2010

What is the best method to configure a different DG for each VLAN.I have two internet routers connected to the switch and I would like to route specific VLANs over each ISP connection. Can I simply define a unique DG for each VLAN interface ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
akeyr Fri, 04/16/2010 - 06:09

Thanks, will I be able to set and apply the route-map to a VLAN interface,  instead of a physical port ?

akeyr Sat, 04/17/2010 - 03:12

I have created the following ACL and Route-map, to route all traffic in VLAN 161 to Router 192.168.161.19. However the last command does not work, how do I apply the route-map policy to the vlan interface 161 ? Also will the other Vlans continue to use the switch's Default Gateway?

!! define port for ATT Router
int gigabitethernetn/n/n
desc ATT EVPN Router
no switchport

!! create ACL to match traffic
access-list 101 permit ip 192.168.161.0 0.0.0.255 any

!! create route-map
route-map reroute161traffic permit 10
match ip address 101
set ip next-hop 192.168.161.19

!!! apply route-map to interface
int vlan161
ip policy route-map reroute161traffic (This does not work)

Actions

This Discussion

Related Content