cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1139
Views
0
Helpful
3
Replies

Multiple gateways for VLANS

stikekar
Level 1
Level 1

I have multiple VLANS running on a 6509 layer 3 switch. Currently all the VLANS use the default ip route to a fiewall to access internet. I want to change this. I want to assign some VLANS to a different gateway firewall to access internet. How can I achieve this. Any help will be greatly appreciated.

3 Replies 3

t.hadarson
Level 1
Level 1

Hello,

You can use policy routing.

Example:

Define access-list with ip address of network who should use a different gateway.

access-list 10 permit x.x.x.x 0.0.0.255

Route-map [name of map] permit

match ip address 10

set ip default next-hop [ip of gw]

bind the route map to a vlan interface

interface vlan 100

ip policy route-map [route-map name]

Regards Tony

Thanks Tony. I will pursue this path.

thisisshanky
Level 11
Level 11

You can do policy routing for those vlans and set the next hop to a different gateway.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus