Separate Default Gateways for each VLAN on a 3750 switch

Unanswered Question
Apr 16th, 2010
User Badges:

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)
akeyr Fri, 04/16/2010 - 06:09
User Badges:

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
User Badges:

I have created the following ACL and Route-map, to route all traffic in VLAN 161 to Router 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 any

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

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

Jennifer Halim Sat, 04/17/2010 - 03:36
User Badges:
  • Cisco Employee,

What software image are you running? Only "IP Services" support PBR on switch.


This Discussion