From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Pullus Cuetlachtli" Date: Sun, 23 Sep 2007 08:25:34 +0000 Subject: [LARTC] Unnumbered GRE tunnel Message-Id: MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0680491317==" List-Id: To: lartc@vger.kernel.org --===============0680491317== Content-Type: multipart/alternative; boundary="----=_Part_41848_28121288.1190535934921" ------=_Part_41848_28121288.1190535934921 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_41848_28121288.1190535934921 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_41848_28121288.1190535934921-- --===============0680491317== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0680491317==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Taylor Date: Mon, 24 Sep 2007 14:11:46 +0000 Subject: Re: [LARTC] Unnumbered GRE tunnel Message-Id: <46F7C5A2.3020600@riverviewtech.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "the sew" Date: Tue, 25 Sep 2007 11:14:19 +0000 Subject: Re: [LARTC] Unnumbered GRE tunnel Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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 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