12-11-2009 06:26 AM - edited 03-06-2019 08:55 AM
Hi,
Is there a way to let a router choose one of multiple default routes depending of source ip address or source interface?
I have a C4015 with multiple vlans. There is a firewall connected to this switch. The C4015 has a static route (0.0.0.0/0) pointed to the interface of the firewall.
For testing purposes i have a second firewall interface (with an ip adress in a different subnet) connected to the switch.
Now i want traffic to 0.0.0.0/0 with a specific source address or a specific source vlan interface to be routed to the second (test) firewall interface.
thanks in advance
Solved! Go to Solution.
12-11-2009 07:20 AM
DennisV99 wrote:
Hi,
Is there a way to let a router choose one of multiple default routes depending of source ip address or source interface?
I have a C4015 with multiple vlans. There is a firewall connected to this switch. The C4015 has a static route (0.0.0.0/0) pointed to the interface of the firewall.
For testing purposes i have a second firewall interface (with an ip adress in a different subnet) connected to the switch.
Now i want traffic to 0.0.0.0/0 with a specific source address or a specific source vlan interface to be routed to the second (test) firewall interface.
thanks in advance
Dennis
Yes, you can use PBR (Policy Based Routing) to do this which allows you to set the next-hop based on source IP address.
Just to clarify - what exactly is your switch - haven't heard of a C4015 ?
Jon
12-11-2009 10:10 AM
Yes for your requirement go with PBR check out the below link hope this will help you
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008009481d.shtml
Regards
Ganesh.H
12-11-2009 07:20 AM
DennisV99 wrote:
Hi,
Is there a way to let a router choose one of multiple default routes depending of source ip address or source interface?
I have a C4015 with multiple vlans. There is a firewall connected to this switch. The C4015 has a static route (0.0.0.0/0) pointed to the interface of the firewall.
For testing purposes i have a second firewall interface (with an ip adress in a different subnet) connected to the switch.
Now i want traffic to 0.0.0.0/0 with a specific source address or a specific source vlan interface to be routed to the second (test) firewall interface.
thanks in advance
Dennis
Yes, you can use PBR (Policy Based Routing) to do this which allows you to set the next-hop based on source IP address.
Just to clarify - what exactly is your switch - haven't heard of a C4015 ?
Jon
12-11-2009 10:10 AM
Yes for your requirement go with PBR check out the below link hope this will help you
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008009481d.shtml
Regards
Ganesh.H
12-18-2009 03:49 AM
Jon, Ganesh.H,
Thanks.
I think PBR does what i'm looking for.
Jon,
It's a 4010
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