Community discussions

 
ik3umt
Member Candidate
Member Candidate
Topic Author
Posts: 248
Joined: Tue Jul 08, 2014 3:58 pm

Static route over gre tunnel : interface vs ipaddress

Wed Oct 28, 2015 10:13 am

When adding a static route for a remote network over a gre tunnel, what should i use as gateway ? the remote tunnel endpoint ip address or the tunnel interface name itself ?
What's the difference ?

Thank you
 
patrick7
Member Candidate
Member Candidate
Posts: 298
Joined: Sat Jul 20, 2013 2:40 pm

Re: Static route over gre tunnel : interface vs ipaddress

Wed Oct 28, 2015 2:24 pm

The remote IP. If you add the route with gateway=tunnel, then the network would be on the tunnel interface directly, not behind the remote tunnel endpoint.
 
ik3umt
Member Candidate
Member Candidate
Topic Author
Posts: 248
Joined: Tue Jul 08, 2014 3:58 pm

Re: Static route over gre tunnel : interface vs ipaddress

Wed Oct 28, 2015 4:04 pm

Ok
I thought using gw=tunnel all packets addressed to that network would be routed through tunnel to the remote site.....

Thank you
 
patrick7
Member Candidate
Member Candidate
Posts: 298
Joined: Sat Jul 20, 2013 2:40 pm

Re: Static route over gre tunnel : interface vs ipaddress

Wed Oct 28, 2015 8:44 pm

Routed in the tunnel, not through the tunnel :-)
 
whiterabbit
just joined
Posts: 19
Joined: Fri Aug 10, 2012 4:17 am

Re: Static route over gre tunnel : interface vs ipaddress

Tue Nov 24, 2015 4:08 am

It does appear to work fine, using the tunnel name as the interface in the static route...
See my post "Is the inside addresses needed for GRE tunnels?".
Noone replied to it, but the routing certainly appears to work.

Who is online

Users browsing this forum: MSN [Bot] and 126 guests