GRE tunnel setup w/ dynamic remote address

Shalon Wood (
10 Dec 1999 12:26:23 -0600

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

<home machine> public interface, private

<laptopp> dynamic ppp0 interface, private

gre tunnel and routes connecting and 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
ip addr add dev gre1
ip route add via 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

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