/sbin/ip tunnel add gre1 mode gre remote x.x.x.x local y.y.y.y dev eth1
/sbin/ip addr add y.y.y.y broadcast z.z.z.z scope global dev gre1
/sbin/ip link set gre1 up

the x.x.x.x is the other end of the tunnel.

Eric.

-----Original Message-----
From: Carlos Barros [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 16, 1999 5:12 PM
To: [EMAIL PROTECTED]
Subject: gre tunnel configuration



Hello!

Im looking for some docs/info about how to configure a gre tuunel or an ipip
tunnel.

The NET3-HOWTO says all about ipip but dont work on kernel 2.2.10

also doing a ifconfig gre 192.168.0.1 netmask 255.255.255.0 the kernel add
the route to the net using this device, but how to tell the tunnel which is
the other point of the tunnel?

As NET3-HOWTO says about configuring ipip tunnel the command

route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.1.10 tunl0
gives an error

SIOCADDRT: Invalid argument

-- 
Bye
    Carlos Barros.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to