Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Policy Based Routing C2600 routers

Status
Not open for further replies.

datadan

IS-IT--Management
Joined
Jul 22, 2002
Messages
283
Location
US
I am trying to setup PBR and need some help please.

I have a WAN/LAN

router 10.10.10.10 is homebase
router 10.60.40.1 is far away over a frame.

They connect fine.

Gateway of last resort of 10.10.10.10 is 10.10.10.6.
However if the Frame goes down I want traffic between these routers to go to a different gateway:
10.10.10.2

Here is what I have:

access-list 101 permit ip 10.10.10.0 0.0.0.255 10.60.0.0 0.0.255.255
route-map temptuc permit 10
match ip address 101
set ip next-hop 10.10.10.2

I want to configure this to be: Try Serial Connection first for all traffice destined for 10.60.x.x, if can't connect then go to 10.10.10.2.

Thanks for your input.
 
you could also use a default route statement with a higher administrative distance to accomplish this.

ie ip route 0.0.0.0 0.0.0.0 10.10.10.6

is what you have now.

then just add

ip route 0.0.0.0 0.0.0.0 10.10.10.2

this will route all traffic over 10.10.10.2 in the event of a failure of 10.10.10.6. If 10.10.10.6 fails, then it will be removed from the routing table and 10.10.10.2 will be used. not very quickly but it will failover.

the other thing you could try is setting up hot standby routing protocol on both routers and letting them share the same default gateway. if they are both ciscos use HSRP. if not then i believe you can use VRRP if they support it.

with the cisco devices you set up the interface like so



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top