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

PBR(policy based routing) question

Status
Not open for further replies.

menace212

Programmer
Jul 11, 2003
144
US
I have PBR setup on several of my routers. But it's not rerouting the traffic at all...currently I have a 10.1.1.0 network on the LAN coming to my router. The normal behavior is routing via the ospf.but I want it to go in a different direction across a T3...Am I missing something..Below is my configuration


r1:
int s2/0 (T3)
ip 1.1.1.1 255.255.255.252

int s3/0 (OC3)

int fa0/3 (LAN interface for the 10.1.1.0 traffic)
ip address x.x.x.x
ip policy route-map reroute


ip access-list extended reroute
10 permit ip 10.1.1.0 0.0.0.255

route-map reroute permit 10
match ip address reroute
set ip next-hop 1.1.1.1
!
route-map t-bureau permit 20
 
The next hop should be the IP on the other side of the link, not the IP on your side. You could set interface s2/0 instead.

HTH
 
it was a writers error on my part..I setup it to the other side of the router...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top