I have a question regarding PBR that i have set up and the packet forward behaviour that is confusing me..
Setup as below
[Network A]--- Router with PBR---- Router with PBR----- Switch with PBR ----- (Interface a shared Trunk)Cisco ASA (multicontext FW) ---- [Network B]
|_ _ _ _ _ _ _ _(Interface b dedicated Vlan) _ _|
I have configured PBR along the path till Switch and can see packets being matched in route-map... when i set next hop ip as IP of Cisco ASA interface that is shared i dont see any packets being matched on the switch. While if i change next hop ip as IP of Cisco ASA dedicated inteface i see packets being matched.
Switch is learning same MAC for shared interface which is running multiple VLANS, is switch confusing on where to send the frame/packet when multiple IPs/networks are on same mac address?
I guess my question would be how can i achieve PBR on trunk interface? How would switch forward packets to appropriate IP on ASA?
Any help will be appreciated.