cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1812
Views
0
Helpful
2
Replies

GRE on subinterface

ciscothejam00
Level 1
Level 1

Hi,

if i have a Hub and Spoke topology where i have subinterfaces on the Hub, can i implement GRE??? should i use the physical interface as the source or the subinterface???

regards

Fady

2 Replies 2

atif.awan
Level 3
Level 3

GRE can be implemented between any two routers that have ip reachability between them for IPs used as source and destination of the gre tunnel. One important thing to always remember is that this source / destination pair should never end up being routed over the tunnel itself otherwise the tunnel will be unstable.

In short yes you can use IP Addresses of the subinterfaces as long as they are reachable to the tunnel destination and you make sure that the routing instability does not occur as I have mentioned in the previous paragraph. That being said I do not recommend using physical IP addresses or derivatives of such addresses (sub-interfaces) for use as tunnel source or destination. For your tunnel to be highly available you should try to use loopback addresses as the tunnel source and destination addresses.

a.kiprawih
Level 7
Level 7

Hi,

You can use either the sub-interface, not physical interface, as source IP or loopback interface. Loopback is more recommended as this logical interface is always up.

Rgds,

AK