All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Wharton <naw@greptar.com>
To: B.A.T.M.A.N@open-mesh.net
Subject: [B.A.T.M.A.N.] Gateway on multiple interfaces
Date: Tue, 28 Apr 2009 12:42:19 -0500	[thread overview]
Message-ID: <4313f3060904281042l39d51140we6440d1cff0b74c7@mail.gmail.com> (raw)

I am using B.A.T.M.A.N. 0.3.2-beta rv1246 with the batgat module.
Internet tunneling works well on the first interface mentioned on the
command line.  Tunneling does not work on the secondary interface, and
it floods the log file on the gateway with:

Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash
Apr 28 17:38:09 OpenWrt user.debug kernel: batgat: [get_ip_addr:645]
found client in hash

And on the client with:

Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
request: sender IP is not gateway IP
Apr 28 17:33:10 OpenWrt user.notice batmand: Error - can't receive ip
from gateway: number of maximum retries reached

Is there something I can do to get it to work on the secondary interface?

On the gateway, I am using:
batmand -d 3 -g 11000 -a 10.2.1.0/24 --disable-client-nat
--hop-penalty 5 --purge-timeout 10000 ath0 eth0
ath0 is IP 10.0.2.1/16
eth0 is IP 10.255.2.1/16

On the client, I am using:
batmand -d 3 -r 2 -a 10.1.11.0/24 --disable-client-nat --hop-penalty 5
--purge-timeout 10000 ath0 eth0
ath0 is IP 10.0.1.11/16
eth0 is IP 10.255.1.11/16

Thanks in advance for any help on this.

             reply	other threads:[~2009-04-28 17:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28 17:42 Nathan Wharton [this message]
2009-04-29  3:14 ` [B.A.T.M.A.N.] Gateway on multiple interfaces Marek Lindner
2009-04-29 14:09   ` Nathan Wharton
2009-04-30  3:17     ` Marek Lindner
2009-04-30 16:29       ` Nathan Wharton
2009-05-01  7:57         ` Marek Lindner

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=4313f3060904281042l39d51140we6440d1cff0b74c7@mail.gmail.com \
    --to=naw@greptar.com \
    --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 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.