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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up a route map help

Status
Not open for further replies.

mitelritz

IS-IT--Management
Mar 28, 2007
128
US
is there a way to route traffic from a fa0/1 int to Go out to ip route 0.0.0.0 0.0.0.0 ISP A gateway

and from the interface fa0/0 to go out to ip route 0.0.0.0 0.0.0.0 S0/0/0


According to our ISP their routers a juniper and i cant have duplicate ip route 0.0.0.0 0.0.0.0 s0/0/0


Need to know if its possible and to set up a route map


thanks
 
Look up Policy Based Routing

----------------------------------
Bill
 
would that be using a type of route map is there a place on the web to find a sample config of this I can't seem to find it and does it involve any nat since I'm using the s0 thanks

 
Are you wanting fa0/0 to go out one interface and fa0/1 to go out a different interface? You can simply use acl's...let's say subnet A (192.168.1.0/24) needs to go out s0/0/0, and subnet B (192.168.2.0) needs to go out s0/1/0...
access-list 101 permit ip 192.168.1.0 0.0.0.255 any
int s0/0/0
ip access-group 101 out
access-list 102 permit ip 192.168.2.0 0.0.0.255 any
int s0/1/0
ip access-group 102 out
Remember---there's an implicit deny any any ate the end of each acl...so these statements for the acl's are all you need...
ip route 0.0.0.0 0.0.0.0 (next hop of ISP A)
ip route 0.0.0.0 0.0.0.0 (next hop of ISP B) 10
Just use a metric of 10 on the default route for subnet B. It will not choose the default route for subnet A because of the acl blocking subnet B from going out to ISP A.

Burt
 
Crap---thinking about it, the traffic may try and go out toward subnet A, and as a result, subnet B would get dropped because of the acl, and not "go back" and try the other static route...I think...maybe worth a try?

Burt
 
so for the metric 10 its always going to use the Default IP route


but im just wondering if i can even do a route map ill try to look for it though.. and ill see if this works ....


thanks ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top