cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2010
Views
0
Helpful
16
Replies

HSRP PBR issue

rubberheart
Level 1
Level 1

I have a requirement which needs your help, many thanks in advance 

for example, vlan 200 , 10.10.10.0/24

I have hsrp in 2-N7Ks in this vlan , but with a different group with different VIP

under SVI 200 

hsrp 1 --VIP1 --10.10.10.1 and hsrp 2--VIP2--10.10.10.10

in this VLAN200,  the host whose gateway is  VIP1 just follows the normal gateway routing, but the host whose gateway is VIP2 will go a special next-hop 

how can I separate them?

 

16 Replies 16

Thanks Paul , but how I can use PBR to separate the next-hop? 

 as the host whose GW is 1.1.1.10 need go go a special next-hop ,, the host whose GW is 1.1.1.1 should go normal routing which is different with that special next-hop

 

thanks

once I apply the PBR , all the traffic will forced to go that next-hop , 

mlund
Level 7
Level 7

What seems to be overlooked is that with nexus vpc and hsrp/vrrp config, both primary and secondary is forwarding traffic, contrary what is happening with regular routers. So regardless of which of the 2 nexus the traffic hits first, depending on port channel hashing, will do the routing.

So I think the easiest way is to implement PBR on both nexus, and with PBR you use an access-list that specify the ip addresses that have to be PBR routed. Ip's that is not specified in the access-list will follow the normal routing. 

Review Cisco Networking for a $25 gift card