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.] no gateway / tun interface / default route
Date: Fri, 19 Oct 2007 12:51:35 +0200 [thread overview]
Message-ID: <200710191251.35340.lindner_marek@yahoo.de> (raw)
In-Reply-To: <200710190135.41117.axel@open-mesh.net>
Hi,
> > The laptop uses a proxy (squid) to only allow some URLs. Also the
> > firewall only allows some specific ip ranges. Does this have any
> > influence for the gateway detection? --------------------------
>
> I dont know!
No. The gateway detection itself is only influenced by the batman originator
packets.
> > Oct 18 21:54:53 0-1 batmand[13603]: Error - can't create tun device
> > (TUNSETIFF): Device or resource busy Oct 18 21:54:53 0-1 batmand[13603]:
> > Trying to name tunnel to bat2 ... Oct 18 21:54:53 0-1 kernel: bat2:
>
> This is usual as well, batmand is searching for an unused tunnel name.
But unnecessary and confusing. These errors can be avoided.
> > Gateway Router (#/128)
> > => 10.12.0.1 10.12.0.1 (123), gw_class 33 - 1024KBit/256KBit,
> > reliability: 0
>
> In the first place, this just indicated that the local batmand has decided
> for one of the available GWs. It does not necessarily mean, that the
> connection to that GW was successfull
Correct. The connection to the gateway itself is triggered as soon as you
begin to use the tunnel. This output shows you to which gateway the
connection will be established (assuming that the gateway responds).
> > But the ip route list table bat_default contains only a throw entry and
> > not the default route.
>
> There is no default route until the client has decided for a GW. After the
> startup, the daemon waits a while before it decides for a GW. This is done
> to gather some statistics about the available GWs.
But his output shows that the client has selected a gateway. Therefore a
default route should exist. I guess you just looked into the wrong table. I
assume that "bat_default" is table 67 ?! The batman default route can be
found in table 68.
> > :kern.err batmand[6649]: Error - can't receive ip from gateway: number of
> >
> > maximum retries reached
> >
> > The manually added default route is removed after a while by batmand.
>
> It really sounds your GW is not reachable. Check your ip rules and if
> ping 10.12.0.1
> works.
This indicates that port 4306 is blocked at the gateway side. The client will
ask for an IP an that port.
Regards,
Marek
next prev parent reply other threads:[~2007-10-19 10:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 20:14 [B.A.T.M.A.N.] no gateway / tun interface / default route Freifunk Dresden
2007-10-18 23:35 ` Axel Neumann
2007-10-19 10:32 ` Axel Neumann
2007-10-19 10:51 ` Marek Lindner [this message]
2007-10-19 17:17 ` Freifunk Dresden
2007-10-19 17:52 ` Marek Lindner
2007-10-19 19:10 ` Freifunk Dresden
2007-10-20 11:00 ` Axel Neumann
2007-10-21 17:35 ` Freifunk Dresden
2007-10-21 18:07 ` Axel Neumann
2007-10-21 19:41 ` Freifunk Dresden
2007-10-22 12:58 ` Axel Neumann
2007-10-25 10:33 ` Freifunk Dresden
2007-10-25 11:13 ` Axel Neumann
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=200710191251.35340.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