cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2858
Views
0
Helpful
5
Replies

PBR: Route Map Multiple Next Hop

Luigi_0228
Level 1
Level 1

Hello,

 

I implement PBR earlier, I set the route-map next hop to 2 IP address. I know that the second IP was wrong but I still leave it in the configuration since my understanding is that it will only take place when the primary is down and since primary is up. I believe it will not do any harm even if it is wrong. 

 

But then, it cause issue in traffic. Unfortunately, I did not also able to collect the debug logs.

 

Is that not function as redundancy? or is it load balance?

 

Thank you.

 

 

 

5 Replies 5

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Luigi,

can you post your route-map configuration ?

and what device and IOS/IOS XE version is running on it ?

You can post a show version to check this

 

Hope to help

Giuseppe

 

route-map Example permit 10
match ip address 1
set ip next-hop 209.165.200.226 209.165.200.228

 

 

Device: 1941

IOS: c1900-universalk9-mz.SPA.156-3.M4.bin

 

 

It is my understanding that a route map in PBR with 2 IP addresses specified in the set statement would operate for redundancy and not for load sharing. Can you give us any more information about what the problem was? Are you sure that the first address was valid and reachable when the problem was occuring?

 

We are not sure that the invalid second address actually caused the problem, but perhaps there is a lesson in this that when we discover something in our config that is not correct that we should remove it/correct it even if we believe that it will not have an effect.

 

HTH

 

Rick

HTH

Rick

Hi Rick,

 

I am trying to have 1 host 10.1.1.1 (sample) to traverse via public intenet which is via first hop. 

 

I see 2 way traffic when I applied the next hop [2] so I assume there is no problem and I also believe that second hop should not cause any problem but our host not able to conect via internet. My colleague removed the second next hop and they said it got in good state.

 

Thanks for the update. Glad to know that removing the second next hop seems to have got it in good state.

 

HTH

 

Rick

HTH

Rick