Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

How to force a route

dear all,

i have the folwoing scenario :

Router 1 Router 2

E0(10.20.1.1) S0(1.1.1.1)-------------------->s0(1.1.12) --- E0 10.40.1.1

S1(2.2.2.1) ---------

-------

------->

S0 (2.2.22) Router 3 --- E0 10.50.1.1

i do have my routing table in Router 1 look like this:

S 10.40.0.0 [1/0] via 1.1.1.2

S 10.50.0.0 [1/0] via 2.2.2.2

C 10.20.0.0 is directly connected, Ethernet0/0

1.1.1.0/30 is subnetted, 1 subnets

C 1.1.1.0 is directly connected, Serial0/0

2.2.2.0/30 is subnetted, 1 subnets

C 2.2.2.0 is directly connected, Serial0/1

S* 0.0.0.0/0 [1/0] via 10.20.1.10

the last static route (default route) is directed to our proxy (10.20.1.10) that means all IP packets not handled by Router 1 routing talbe will be forwarded to proxy.

now my problem is that if anyone of this branch link goes down (eg, router 2 link) router 1 is transferring all packets to my proxy and huge network usage is happening on my proxy. i need to force a route destined to network 10.50.0.0 through one path only. if that link down, drop the packet. dont re-route to the default route.

How can i do this. if any onw knows please help me.

Regards

Mohamed

3 REPLIES
Community Member

Re: How to force a route

sorry the my diagram was not good, try to see this,

Router 1------------------------------- Router 2--------------- -- Router 3

E0(10.20.1.1) ------------------------ E0(10.40.1.1)------------E0(10.50.1.1)

S0(1.1.1.1) ---------------------------- S0(1.1.1.2) --------------- S0(2.2.2.2)

S1(2.2.2.1)

Bronze

Re: How to force a route

Mohamed,

I suggest that you put the following route in all routers:

ip route 10.0.0.0 255.0.0.0 null0 200

This will make all packets to a private network that is unreachable get dropped by the routers without forwarding them to the proxy server.

Good luck.

Mark

Silver

Re: How to force a route

You could also try

ip route 10.50.0.0 255.255.0.0 2.2.2.2 permanent.

This will make the route to stay in the routing table even when the link goes down.

90
Views
0
Helpful
3
Replies
CreatePlease to create content