* [B.A.T.M.A.N.] Problem with DHCP on batman-adv V
@ 2016-05-11 21:58 Alvaro Antelo
2016-05-12 5:05 ` Sven Eckelmann
0 siblings, 1 reply; 4+ messages in thread
From: Alvaro Antelo @ 2016-05-11 21:58 UTC (permalink / raw)
To: b.a.t.m.a.n
Hi everyone,
I am testing batman-adv V5 from the development feed on Chaos Calmer
and so far everything is working except for DHCP IPv4, only static
addresses.
In the same setup wich involves bridges connected to bat0 interfaces,
if I change only the routing algorithm to batman-adv IV, DHCP works
fine.
Is it a expected behaviour?
Gateway node
batctl gw server
-----------------------------------
br-lan(ipv4 static and dhcp server)---bat0
-----------------------------------
Mesh node
batctl gw client
-------------------
br-lan(dhcp client)----bat0
-------------------
Best regards,
Alvaro Antelo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] Problem with DHCP on batman-adv V
2016-05-11 21:58 [B.A.T.M.A.N.] Problem with DHCP on batman-adv V Alvaro Antelo
@ 2016-05-12 5:05 ` Sven Eckelmann
2016-05-12 8:57 ` Antonio Quartulli
0 siblings, 1 reply; 4+ messages in thread
From: Sven Eckelmann @ 2016-05-12 5:05 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Antonio Quartulli
[-- Attachment #1: Type: text/plain, Size: 975 bytes --]
On Wednesday 11 May 2016 18:58:48 Alvaro Antelo wrote:
> Hi everyone,
>
> I am testing batman-adv V5 from the development feed on Chaos Calmer
> and so far everything is working except for DHCP IPv4, only static
> addresses.
> In the same setup wich involves bridges connected to bat0 interfaces,
> if I change only the routing algorithm to batman-adv IV, DHCP works
> fine.
>
> Is it a expected behaviour?
Afaik there is no working gateway selection logic in B.A.T.M.A.N. V. At least
Antonio works on some patches for this:
https://patchwork.open-mesh.org/patch/16139/
https://patchwork.open-mesh.org/patch/16140/
https://patchwork.open-mesh.org/patch/16141/
https://patchwork.open-mesh.org/patch/16142/
https://patchwork.open-mesh.org/patch/16143/
This includes splitting up the logic and use the metrics for each routing
algorithm. But I think he can tell you more about now works (or doesn't) and
what will work after his patchset is applied.
Kind regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] Problem with DHCP on batman-adv V
2016-05-12 5:05 ` Sven Eckelmann
@ 2016-05-12 8:57 ` Antonio Quartulli
2016-05-12 13:42 ` Alvaro Antelo
0 siblings, 1 reply; 4+ messages in thread
From: Antonio Quartulli @ 2016-05-12 8:57 UTC (permalink / raw)
To: Sven Eckelmann; +Cc: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]
On Thu, May 12, 2016 at 07:05:20AM +0200, Sven Eckelmann wrote:
> On Wednesday 11 May 2016 18:58:48 Alvaro Antelo wrote:
> > Hi everyone,
> >
> > I am testing batman-adv V5 from the development feed on Chaos Calmer
> > and so far everything is working except for DHCP IPv4, only static
> > addresses.
> > In the same setup wich involves bridges connected to bat0 interfaces,
> > if I change only the routing algorithm to batman-adv IV, DHCP works
> > fine.
> >
> > Is it a expected behaviour?
>
> Afaik there is no working gateway selection logic in B.A.T.M.A.N. V. At least
> Antonio works on some patches for this:
>
> https://patchwork.open-mesh.org/patch/16139/
> https://patchwork.open-mesh.org/patch/16140/
> https://patchwork.open-mesh.org/patch/16141/
> https://patchwork.open-mesh.org/patch/16142/
> https://patchwork.open-mesh.org/patch/16143/
>
> This includes splitting up the logic and use the metrics for each routing
> algorithm. But I think he can tell you more about now works (or doesn't) and
> what will work after his patchset is applied.
Sven was right. In our current code, the GW selection logic doesn't work when
using B.A.T.M.A.N. V. We are working on it.
Maybe you could try applying the patches suggested by Sven and let us know if it
works for you ?
In the meanwhile you can just disable GW mode (batctl gw off).
Cheers,
--
Antonio Quartulli
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] Problem with DHCP on batman-adv V
2016-05-12 8:57 ` Antonio Quartulli
@ 2016-05-12 13:42 ` Alvaro Antelo
0 siblings, 0 replies; 4+ messages in thread
From: Alvaro Antelo @ 2016-05-12 13:42 UTC (permalink / raw)
To: Antonio Quartulli; +Cc: b.a.t.m.a.n
Thank you Sven and Antonio,
I will try both options.
Best regards,
On Thu, May 12, 2016 at 5:57 AM, Antonio Quartulli <a@unstable.cc> wrote:
> On Thu, May 12, 2016 at 07:05:20AM +0200, Sven Eckelmann wrote:
>> On Wednesday 11 May 2016 18:58:48 Alvaro Antelo wrote:
>> > Hi everyone,
>> >
>> > I am testing batman-adv V5 from the development feed on Chaos Calmer
>> > and so far everything is working except for DHCP IPv4, only static
>> > addresses.
>> > In the same setup wich involves bridges connected to bat0 interfaces,
>> > if I change only the routing algorithm to batman-adv IV, DHCP works
>> > fine.
>> >
>> > Is it a expected behaviour?
>>
>> Afaik there is no working gateway selection logic in B.A.T.M.A.N. V. At least
>> Antonio works on some patches for this:
>>
>> https://patchwork.open-mesh.org/patch/16139/
>> https://patchwork.open-mesh.org/patch/16140/
>> https://patchwork.open-mesh.org/patch/16141/
>> https://patchwork.open-mesh.org/patch/16142/
>> https://patchwork.open-mesh.org/patch/16143/
>>
>> This includes splitting up the logic and use the metrics for each routing
>> algorithm. But I think he can tell you more about now works (or doesn't) and
>> what will work after his patchset is applied.
>
> Sven was right. In our current code, the GW selection logic doesn't work when
> using B.A.T.M.A.N. V. We are working on it.
>
> Maybe you could try applying the patches suggested by Sven and let us know if it
> works for you ?
>
> In the meanwhile you can just disable GW mode (batctl gw off).
>
> Cheers,
>
>
>
> --
> Antonio Quartulli
--
Alvaro Antelo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-12 13:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11 21:58 [B.A.T.M.A.N.] Problem with DHCP on batman-adv V Alvaro Antelo
2016-05-12 5:05 ` Sven Eckelmann
2016-05-12 8:57 ` Antonio Quartulli
2016-05-12 13:42 ` Alvaro Antelo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox