From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] gateway-tunnel crashes with multiple net-dev
Date: Thu, 29 Nov 2007 14:13:08 +0100 [thread overview]
Message-ID: <200711291413.08971.lindner_marek@yahoo.de> (raw)
In-Reply-To: <200711241816.31241.lindner_marek@yahoo.de>
Hi,
some thoughts regarding your problem. I debugged that issue with Björn from
Leipzig and it turned out that the source of your trouble lies within your
firmware configuration.
On a client you can have 2 situations (regarding the tunnel):
- The batman host generates traffic and sends it through the tunnel.
- Other hosts (LAN/OLSR/etc) generate traffic and are routed into the tunnel.
In the later case you have to masquerade the original IP with the gate0 IP
otherwise the gateway wont recognize the IP and can't send back the data.
If you don't do so you get something like that (on the gw):
kern.err batmand[17436]: Error - got packet from unknown client: 105.61.116.10
(virtual ip 104.61.116.10)
Here the OLSR IP was not masqueraded, therefore the gateway does not recognize
the clients IP, drops the packet and the blackhole detection on your batman
host kicks the connection as the gateway does not respond.
Your firmware (1.6.10 Kit: 1.6.10-a973) has NAT entries but only for the LAN
connected to that device. You should either manipulate the policy routing or
extend the NAT for all clients. I guess you are going to choose the first
option and as soon as you do so your problem will vanish. :-)
Greetings,
Marek
prev parent reply other threads:[~2007-11-29 13:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-17 15:40 [B.A.T.M.A.N.] gateway-tunnel crashes with multiple net-dev tetzlav
2007-11-17 17:00 ` a.anselmi
2007-11-19 9:57 ` Marek Lindner
2007-11-23 20:15 ` tetzlav
2007-11-24 17:16 ` Marek Lindner
2007-11-29 13:13 ` Marek Lindner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200711291413.08971.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@open-mesh.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox