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
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
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.
Ok
I thought using gw=tunnel all packets addressed to that network would be routed through tunnel to the remote site…
Thank you
Routed in the tunnel, not through the tunnel ![]()
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.