All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Unnumbered GRE tunnel
@ 2007-09-23  8:25 Pullus Cuetlachtli
  2007-09-24 14:11 ` Grant Taylor
  2007-09-25 11:14 ` the sew
  0 siblings, 2 replies; 3+ messages in thread
From: Pullus Cuetlachtli @ 2007-09-23  8:25 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 443 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 535 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Unnumbered GRE tunnel
  2007-09-23  8:25 [LARTC] Unnumbered GRE tunnel Pullus Cuetlachtli
@ 2007-09-24 14:11 ` Grant Taylor
  2007-09-25 11:14 ` the sew
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Taylor @ 2007-09-24 14:11 UTC (permalink / raw)
  To: lartc

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 <http://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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Unnumbered GRE tunnel
  2007-09-23  8:25 [LARTC] Unnumbered GRE tunnel Pullus Cuetlachtli
  2007-09-24 14:11 ` Grant Taylor
@ 2007-09-25 11:14 ` the sew
  1 sibling, 0 replies; 3+ messages in thread
From: the sew @ 2007-09-25 11:14 UTC (permalink / raw)
  To: lartc

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 <pullusum@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-25 11:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-23  8:25 [LARTC] Unnumbered GRE tunnel Pullus Cuetlachtli
2007-09-24 14:11 ` Grant Taylor
2007-09-25 11:14 ` the sew

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.