public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* Any suggestions about configuring batman-adv gateways + modems
@ 2019-11-08 10:51 Xuebing Wang
  2019-11-09 13:50 ` Marek Lindner
  0 siblings, 1 reply; 6+ messages in thread
From: Xuebing Wang @ 2019-11-08 10:51 UTC (permalink / raw)
  To: b.a.t.m.a.n, Simon Wunderlich, Sven Eckelmann

Hi batman-adv community,

We have been building openwrt 15.05 + batman-adv mesh network for over 2 
years, they work great.

We are planning to use batman-adv gateways + 4G modems. For an example: 
our mesh network is with 20 nodes, 3 nodes have 4G modems connected.

1) My first thought is to use batman-adv gateway (with 4G modem 
connected) as dhcp server, and forward batman-adv interface to wan 
interface (modem).
1.1)  But, there is an issue with this setup. Once a modem is down, 
nodes that are connected to this batman-adv gateway (with modem) can not 
automatically "roam" to another batman-adv gateway (with good modem 
connection).
1.2)  This behavior is expected, right?

2) My second thought is to bridge batman-adv interface and wan interface 
(modem). This works great, I do not see issue (1.1) above.
-  By this setup, all batman-adv clients get ip via dhcp and via modem.
2.1)  Is this the suggested setup to use batman-adv gateways?

3) When I bridge batman-adv interface with other interface (as in step 2 
above), can I use batman-adv interface via *ipv6* to ping other 
batman-adv nodes?

Thanks.
Xuebing Wang


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <CAG5qQ7jY2YqyUdx6=Mw=OWbLF0avwibJVQn5YHFqGC-+nPCkXQ@mail.gmail.com>]
* Any suggestions about configuring batman-adv gateways + modems
@ 2019-11-11  0:52 Xuebing Wang
  0 siblings, 0 replies; 6+ messages in thread
From: Xuebing Wang @ 2019-11-11  0:52 UTC (permalink / raw)
  To: b.a.t.m.a.n, mareklindner

Hi Marek,

Thank you for your help, as I did not subscribe to the mailing list, I 
did not get your reply. I subscribe to the mailing list now and I am 
writing a new email thread.


 >> We have been building openwrt 15.05 + batman-adv mesh network for over 2
 >> years, they work great.
 >
 >hopefully, the batman-adv version you are using is newer than 15.05 ...
 >
 >
 >> 1) My first thought is to use batman-adv gateway (with 4G modem
 >> connected) as dhcp server, and forward batman-adv interface to wan
 >> interface (modem).
 >>
 >> 1.1)  But, there is an issue with this setup. Once a modem is down,
 >> nodes that are connected to this batman-adv gateway (with modem) can not
 >> automatically "roam" to another batman-adv gateway (with good modem
 >> connection).
 >
 >Why not ? What should prevent nodes or clients to choose another 
batman-adv
 >gateway ?

When modem (for WAN uplink) at gateway is down and loses internet 
connection (but batman-adv connections with clients are good and dhcp 
server works good), can batman-adv clients know that internet connection 
at gateway is lost and "roam" to another gateway with good internet 
connection?

Thanks.
Xuebing Wang


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Any suggestions about configuring batman-adv gateways + modems
@ 2019-11-11  1:32 Xuebing Wang
  2019-11-11  1:37 ` Marek Lindner
  0 siblings, 1 reply; 6+ messages in thread
From: Xuebing Wang @ 2019-11-11  1:32 UTC (permalink / raw)
  To: mareklindner, b.a.t.m.a.n

Hi Marek,

Thank you very much for your help.

 >> When modem at gateway (for WAN uplink) is down and loses internet
 >> connection (but batman-adv connections with clients are good and dhcp
 >> server works good), can batman-adv clients know that internet 
connection is
 >> lost and "roam" to another gateway with good internet connection?
 >
 >Seems you are looking for this:
 >https://www.open-mesh.org/projects/batman-adv/wiki/Gateways

Yes, batman-adv gateway is what I am using.

Do I need to write or find a daemon at gateway to sense internet 
connection, once internet connection is lost (and does not recover 
within like 2-5 minutes) then advertise batman-adv mesh network by 
"batctl gw_mode client" to turn this node to be a client?

Thanks.
Xuebing Wang


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

end of thread, other threads:[~2019-11-11  1:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-08 10:51 Any suggestions about configuring batman-adv gateways + modems Xuebing Wang
2019-11-09 13:50 ` Marek Lindner
     [not found] <CAG5qQ7jY2YqyUdx6=Mw=OWbLF0avwibJVQn5YHFqGC-+nPCkXQ@mail.gmail.com>
2019-11-11  0:46 ` Marek Lindner
  -- strict thread matches above, loose matches on Subject: below --
2019-11-11  0:52 Xuebing Wang
2019-11-11  1:32 Xuebing Wang
2019-11-11  1:37 ` Marek Lindner

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