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

routing with more specific routes

My location, network, has an adjacent network connected to it by a point to point connection, and my network leads to a frame-relay wan, which has many 10.x.x.x networks and a few 192.168.x.x. networks. Currently our Internet traffic is forwarded to another site on the frame, and from there forwarded to the Internet. We are looking at pinning up our own Internet connection using Comcast cable. Right now the adjacent WAN router to our router is the default gateway, so the routing table is pretty simple. I want to be able to send Internet traffic towards our Comcast connection, but route the 10.x.x.x and some 192.168.x.x traffic toward the frame-relay WAN. I've come up with this config thinking that if a more specific route exists, that route will be taken.

ip route 10.0.0.0 255.0.0.0 159.24.205.201 - The adjacent Frame-relay router to cover all the 10.x.x.x networks.

ip route 10.4.2.0 255.255.255.0 10.0.4.2 - The adjacent P2P connection

ip route 192.168.0.0 255.255.0.0 159.24.205.201 - to cover the 192.18.x.x network on our Frame-relay

ip route 0.0.0.0 0.0.0.0 192.168.64.2 - to cover all Internet traffic by pointing it to our PIX

Does this look like it will work? Will traffic destined for 10.5.1.x travel to our WAN rather than the PIX and the Internet?

thank you,

Bill

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Re: routing with more specific routes

Bill

It looks to me like this will do what you want - as least as far as you have explained your requirements. Traffic for 10.5.1.x will be routed by the 10.0.0.0 summary static route and not by the default route.

Do verify that the router is configured with ip classless.

HTH

Rick

2 REPLIES
Hall of Fame Super Gold

Re: routing with more specific routes

Bill

It looks to me like this will do what you want - as least as far as you have explained your requirements. Traffic for 10.5.1.x will be routed by the 10.0.0.0 summary static route and not by the default route.

Do verify that the router is configured with ip classless.

HTH

Rick

Community Member

Re: routing with more specific routes

yes, ip classless is configured on the router. Thank you very much.

117
Views
0
Helpful
2
Replies
CreatePlease to create content