Can I use GRE and PBR in conjunction.
Here is my scenario
rtr1 --- rtr2 ---2 rtr3
There is a GRE tunnel between rtr1 and rtr2. One the packet lands on rtr2 to reach rtr3 it should take path 3.
After the packet lands on rtr2, Where will I match the packets?
can I do it on the GRE tunnel at rtr2?
Yes PBR can be applied to GRE Tunnel interface to influnce the routing path/next-hop.
Access-list 100 permit ip host S.S.S.S host D.D.D.D
match ip address 100
set ip next-hop 22.214.171.124
ip policy route-map TUNNEL-PBR