public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Daniel <daniel@makrotopia.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Ufo <ufo@public-ip.org>
Subject: [B.A.T.M.A.N.] question regarding gateway_mode server
Date: Wed, 05 Feb 2014 20:52:45 +0100	[thread overview]
Message-ID: <52F2968D.8050101@makrotopia.org> (raw)

Hi!

Is there a way how I can prevent a local DHCP-server from replying to
non-gw_mode-client's DHCP requests?
The situation is that we got a central DHCP server on the mesh which should be
used by all nodes which do not have gw_mode set. In my understanding, setting
gw_mode to 'server' on another local DHCP server should prevent that DHCP server
from receiving (and thus replying to) requests from clients with gw_mode set to
'off', however, it seems like the local gw_mode==server node occasionally
replies to gw_mode==off clients (seems like the usual
more-than-one-dhcp-server-on-a-subnet race condition)
I'm aware that this could probably be solved using ebtables, however, due to the
high performance impact and ugliness of ebtables, I'd prefer another way to fix it.
Am I getting something wrong regarding the intended behavior of gw_mode==server?
If needed, I can write a patch to implement that functionality and have a
gw_mode==exclusive_server or something like that in case the current behavior is
actually intentional.

(We are using batman-adv v14 (2013.4.0) on various OpenWrt versions.)


Cheers


Daniel


             reply	other threads:[~2014-02-05 19:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 19:52 Daniel [this message]
2014-02-06 10:22 ` [B.A.T.M.A.N.] question regarding gateway_mode server Antonio Quartulli

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=52F2968D.8050101@makrotopia.org \
    --to=daniel@makrotopia.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=ufo@public-ip.org \
    /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