Re: [LARTC] Unnumbered GRE tunnel

2007-09-25 Thread the sew
Hi' I'm using few ways to achieve a ip tunnel

option 1
ppp over ssh

option 2
ipip:
modprobe ipip
iptunnel add tundev mode ipip remote ${REMOTEIP}
ifconfig tundev $IP

or u can use gre like your email above,

hope it helps

Sew





On 9/23/07, Pullus Cuetlachtli <[EMAIL PROTECTED]> wrote:
> Hi!
> Can I create the unnumbered GRE tunnel with iproute2 utility?
> Can someone provide me a link/howto/example_config how to do it?
> The topology is one tunnel between two linux boxes:
> -- eth1-|__|-eth0 <-> eth0-|__|-eth1 --
>
> I'm trying now with:
> ip tu add tun1 mode gre local loc.IP remote rem.IP ttl 255 dev eth0
> ip addr add tun1 0.0.0.0
> ip link set tun1 up
>
> but it doesn't succeed..
>  Thanks in advance for any help!
> --
> WBR Sagi Sh
>
> ___
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
>
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] Unnumbered GRE tunnel

2007-09-24 Thread Grant Taylor

On 09/23/07 03:25, Pullus Cuetlachtli wrote:

Can I create the unnumbered GRE tunnel with iproute2 utility?
Can someone provide me a link/howto/example_config how to do it?


If I understand what you are trying to do, you can try bridging, but I 
don't know if it will work the way you want it to or not.



The topology is one tunnel between two linux boxes:
-- eth1-|__|-eth0 <-> eth0-|__|-eth1 --

I'm trying now with:
ip tu add tun1 mode gre local loc.IP remote rem.IP ttl 255 dev eth0
ip addr add tun1 0.0.0.0 
ip link set tun1 up


Bring your tunnel up like you are, with IPs on each end.  Then bridge 
the tunnel interfaces with their local ethernet interfaces at each end. 
 In essence you are bridging your local ethernet segment with a common 
element, the tunnel, and thus together them selves.





Grant. . . .
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] Unnumbered GRE tunnel

2007-09-23 Thread Pullus Cuetlachtli
Hi!
Can I create the unnumbered GRE tunnel with iproute2 utility?
Can someone provide me a link/howto/example_config how to do it?
The topology is one tunnel between two linux boxes:
-- eth1-|__|-eth0 <-> eth0-|__|-eth1 --

I'm trying now with:
ip tu add tun1 mode gre local loc.IP remote rem.IP ttl 255 dev eth0
ip addr add tun1 0.0.0.0
ip link set tun1 up

but it doesn't succeed..
Thanks in advance for any help!
--
WBR Sagi Sh
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc