GRE tunnel setup w/ dynamic remote address

Shalon Wood (dstar@pele.cx)
10 Dec 1999 12:26:23 -0600


Is it possible to set up a GRE tunnel in the following configuration?

<home machine> 63.68.137.43 public interface, 10.0.0.1 private

<laptopp> dynamic ppp0 interface, 10.0.1.1 private

gre tunnel and routes connecting 10.0.1.0 and 10.0.0.0/24 networks

I can set it up by telnetting in and modifying gre1 on the home
machine to have a remote of my dynamic addr that I just got, but I
want to avoid this. I don't know much about GRE and tunneling, but it
*looks* like this should be possible, with
ip tunnel add gre1 local 63.68.137.43
ip addr add 10.0.0.1 dev gre1
ip route add 10.0.1.0/24 via 10.0.0.1 dev gre1

But it doesn't work. I haven't been able to find TFM yet, all I can
find is the ip-tunnel.tex in the iproute2 package (which is where I
got the idea that this is possible).

Have I simply got the wrong idea? Or am I an idiot who's overlooked
something?

Shalon Wood
(I am not on this list yet, so please CC mme on replies)
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu