03-09-2023 06:42 AM
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?
03-09-2023 07:12 AM
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 ,
03-14-2023 06:55 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide