cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4588
Views
0
Helpful
4
Replies

GRE and PBR

saimbt
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

mounir.mohamed
Level 7
Level 7

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

View solution in original post

4 Replies 4

saimbt
Level 1
Level 1

Oops the schematic got distorted.

from rtr2 there are 3 paths to reach rtr3

-Sai.

is there a tunnel between rt2 and rt3 or its normal connection..??

if normal can do it at rt2.Just classify ur packets for the destination using access-list and set the next-hop as your path 3.

For ur ref::

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/fqcprt1/qcfpbr.htm

mounir.mohamed
Level 7
Level 7

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

That did the magic. thank you so much..

Review Cisco Networking products for a $25 gift card