09-09-2004 02:50 AM - edited 03-02-2019 06:21 PM
Hi, I wanted to install 2 router in one site. But, all of them in one same VLAN. since only one default gateway can be set at the client machine, I want the primary router to decide what traffic to be redirect to the secondary router. e.g.: router1 serve only ftp traffic. Others traffic would be redirected to router2.
thanks.
09-09-2004 03:21 AM
Hi,
you can use policy routing for example to set the next-hop for some specific traffic (defined with access-lists). the following link shows a configuration example:
http://www.cisco.com/en/US/tech/tk364/tk871/technologies_configuration_example09186a00801f3b54.shtml
or search for:
ip policy route-map, route-map, set ip netx-hop
greetings
09-09-2004 05:44 AM
As Mark has pointed out Policy Based Routing would be one way to accomplish what you have described. And it would work as you describe.
But I wonder about your statement about having only one default gateway and I would suggest that you think about HSRP. With Hot Standby the client machine is configured with a default route address. That address is shared by both of the routers as a virtual address. The routers negotiate which one will be the lead and that is the one that traffic goes to. If the lead router fails the standby router takes over and all the traffic transparently is sent to it.
HTH
Rick
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