07-26-2005 08:17 AM - edited 03-03-2019 10:08 AM
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.
07-26-2005 08:48 AM
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
07-26-2005 09:10 AM
Thanks Tony. I will pursue this path.
07-26-2005 08:48 AM
You can do policy routing for those vlans and set the next hop to a different gateway.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide