public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] question regarding gateway_mode server
@ 2014-02-05 19:52 Daniel
  2014-02-06 10:22 ` Antonio Quartulli
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel @ 2014-02-05 19:52 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Ufo

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-06 10:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 19:52 [B.A.T.M.A.N.] question regarding gateway_mode server Daniel
2014-02-06 10:22 ` Antonio Quartulli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox