Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Two gre tunnels to one address

 
   Soft32 Home -> Linux -> Networking RSS
Next:  lablgl_1.04-3_amd64.changes ACCEPTED  
Author Message
Jarek

External


Since: Jun 29, 2007
Posts: 5



(Msg. 1) Posted: Wed Sep 23, 2009 5:20 pm
Post subject: Two gre tunnels to one address
Archived from groups: comp>os>linux>networking (more info?)

Hi!

I'd like to setup two GRE tunnels to one IP address from one Linux
machine, but from separate interfaces with different IP addresses.

First:
ip tunnel add tun1 mode gre remote REMOTE_IP local LOCAL_IP1 ttl 255
(this is OK, tun1 is created)
then:

ip tunnel add tun2 mode gre remote REMOTE_IP local LOCAL_IP2 ttl 255

there is no error, but tun2 isn't created.

Is there any limitation on number of tunnels terminated on single IP ?
What can be wrong ?

Best regards
Jarek
Back to top
Login to vote
Tauno Voipio

External


Since: Oct 23, 2005
Posts: 36



(Msg. 2) Posted: Thu Sep 24, 2009 11:20 am
Post subject: Re: Two gre tunnels to one address [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jarek wrote:
> Hi!
>
> I'd like to setup two GRE tunnels to one IP address from one Linux
> machine, but from separate interfaces with different IP addresses.
>
> First:
> ip tunnel add tun1 mode gre remote REMOTE_IP local LOCAL_IP1 ttl 255
> (this is OK, tun1 is created)
> then:
>
> ip tunnel add tun2 mode gre remote REMOTE_IP local LOCAL_IP2 ttl 255
>
> there is no error, but tun2 isn't created.
>
> Is there any limitation on number of tunnels terminated on single IP ?
> What can be wrong ?
>
> Best regards
> Jarek


It seems that you're attempting to do something that
should not be done. The set-up resembles an attempt
to connect two boxes together with two separate
Ethernets with both in own subnets.

Please explain what you're attempting to achieve.

It is fairly possible tyhat there is a better way
achieve the final goal.

--

Tauno Voipio
Back to top
Login to vote
Pascal Hambourg

External


Since: Apr 06, 2007
Posts: 99



(Msg. 3) Posted: Thu Sep 24, 2009 11:20 am
Post subject: Re: Two gre tunnels to one address [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

Jarek a écrit :
>
> I'd like to setup two GRE tunnels to one IP address from one Linux
> machine, but from separate interfaces with different IP addresses.
>
> First:
> ip tunnel add tun1 mode gre remote REMOTE_IP local LOCAL_IP1 ttl 255
> (this is OK, tun1 is created)
> then:
>
> ip tunnel add tun2 mode gre remote REMOTE_IP local LOCAL_IP2 ttl 255
>
> there is no error, but tun2 isn't created.

It works for me on Debian etch with default kernel 2.6.18. I didn't
actually test the tunnels, but at least both tun1 and tun2 are created.
What is your kernel version ?
Back to top
Login to vote
Display posts from previous:   
Related Topics:
WiFi browsing for Windows, but not for Linux? - That seems to be the problem a colleague of mine is currently experiencing in France. Details here: ..

Setting up iwlwifi and wpa supplicant on Fedora 7 - Could someone give me the steps (script) to setup iwlwifi for WPA. I have iwlwifi installed from the Fedora..

VPN OpenSwan&Xl2tp problem with big udp packets - Hi all, I'm having a problem with my vpn server using openswan et xl2tp on a gentoo linux. All the tcp traffic seems....

Hacked, now trying to disinfect - Yeah, i know, it can't happen in Linux. But it has been happening to our work servers for several months. Due to poor....

[gentoo-user] openvpn multiple tunnels - Used to be you could have multiple tunnels open with vpn. when it changed to require /etc/openvpn/openvpn.conf,..

[PATCH] blackfin arch PNAV and Bluetechnix CM-BF537 use th.. - Signed-off-by: Bryan Wu <bryan.wu@analog.com> --- arch/blackfin/mach-bf537/boards/eth_mac.c | 5 ++--- 1 file...
       Soft32 Home -> Linux -> Networking All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]