GRE and PBR

Answered Question
Jan 10th, 2008
User Badges:

Can I use GRE and PBR in conjunction.


Here is my scenario

---1

rtr1 --- rtr2 ---2 rtr3

---3

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?


-Sai.

Correct Answer by mounir.mohamed about 9 years 6 months ago

Yes PBR can be applied to GRE Tunnel interface to influnce the routing path/next-hop.


For example:

Access-list 100 permit ip host S.S.S.S host D.D.D.D


route-map TUNNEL-PBR

match ip address 100

set ip next-hop 3.3.3.3


interface tun1

ip policy route-map TUNNEL-PBR


Best Regards,

Mounir Mohamed

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
saimbt Thu, 01/10/2008 - 21:29
User Badges:

Oops the schematic got distorted.


from rtr2 there are 3 paths to reach rtr3


-Sai.

Correct Answer
mounir.mohamed Fri, 01/11/2008 - 00:21
User Badges:
  • Gold, 750 points or more

Yes PBR can be applied to GRE Tunnel interface to influnce the routing path/next-hop.


For example:

Access-list 100 permit ip host S.S.S.S host D.D.D.D


route-map TUNNEL-PBR

match ip address 100

set ip next-hop 3.3.3.3


interface tun1

ip policy route-map TUNNEL-PBR


Best Regards,

Mounir Mohamed

saimbt Fri, 01/11/2008 - 04:39
User Badges:

That did the magic. thank you so much..

Actions

This Discussion