* [B.A.T.M.A.N.] Multiple DHCP Gateways
@ 2011-08-10 17:52 gtolon
2011-08-12 16:02 ` Antonio Quartulli
2011-08-14 17:27 ` P. Mazart
0 siblings, 2 replies; 6+ messages in thread
From: gtolon @ 2011-08-10 17:52 UTC (permalink / raw)
To: b.a.t.m.a.n
Hi
I´m testing the Gateway roaming capabilities of Batman-adv (using
2011.1.0 version). I setted two computers as Gateway servers with DHCP
servers running on them and other as Gateway client, configured as class
3. Then i stressed individually the Gateway server´s links to make the
client choose the not stressed one. I confirmed that when te client
sends a layer 3 broadcast DHCP request, Batman redirects that request
only to the best gateway. However, when the original gateway becomes
worse than the alternative, and the client chooses the new one as
preferred (observed with batctl gwl) i noticed that the subsequent
request DHCP messages are sent to the original server, even if it
doesn´t have the best link.
I guess that´s because these subsequent DHCP requests are made as
Unicast to the original server and so Batman doesn´t redirect them, but
i wonder how this behavior affects the network balance, because the
computers would get tied always to the original DHCP and IP default
gateway even if they moved, right?
Thank you very much
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [B.A.T.M.A.N.] Multiple DHCP Gateways
2011-08-10 17:52 [B.A.T.M.A.N.] Multiple DHCP Gateways gtolon
@ 2011-08-12 16:02 ` Antonio Quartulli
2011-08-12 17:22 ` Marek Lindner
2011-08-14 17:27 ` P. Mazart
1 sibling, 1 reply; 6+ messages in thread
From: Antonio Quartulli @ 2011-08-12 16:02 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hello and thank you for sharing your gw experience with us,
On Wed, Aug 10, 2011 at 02:52:06PM -0300, gtolon@inti.gob.ar wrote:
> Hi
[CUT]
> However, when the original gateway becomes
> worse than the alternative, and the client chooses the new one as
> preferred (observed with batctl gwl) i noticed that the subsequent
> request DHCP messages are sent to the original server, even if it
> doesn´t have the best link.
>
> I guess that´s because these subsequent DHCP requests are made as
> Unicast to the original server and so Batman doesn´t redirect them,
Unicast renewal requests are "dropped" only if the TQ towards the destination is
smaller than the "current_GW_TQ - GW_THRESHOLD" (GW_THRESHOLD = 50).
To clarify:
In your topology you have three nodes: A, B and C. A and C are GWs. A is the
current best GW for B and B got an IP from the DHCP server running on A. Then
the link A <--> B becomes worse than B <--> C. At this point Batman-adv will
drop a DHCP unicast renewal request directed to A
if and only if TQ(C) - TQ(A) > 50
Is this condition verified in your topology when your are observing the renewal
DHCP packets?
I hope I've been clear. :-)
> but
> i wonder how this behavior affects the network balance, because the
> computers would get tied always to the original DHCP and IP default
> gateway even if they moved, right?
As above. Clients will keep the same GW as long as the link is still "usable"
(difference on TQs greater than 50)
>
> Thank you very much
Thank you too,
Antonio
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [B.A.T.M.A.N.] Multiple DHCP Gateways
2011-08-12 16:02 ` Antonio Quartulli
@ 2011-08-12 17:22 ` Marek Lindner
0 siblings, 0 replies; 6+ messages in thread
From: Marek Lindner @ 2011-08-12 17:22 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Friday, August 12, 2011 18:02:20 Antonio Quartulli wrote:
> In your topology you have three nodes: A, B and C. A and C are GWs. A is
> the current best GW for B and B got an IP from the DHCP server running on
> A. Then the link A <--> B becomes worse than B <--> C. At this point
> Batman-adv will drop a DHCP unicast renewal request directed to A
>
> if and only if TQ(C) - TQ(A) > 50
Be aware that only happens if you use the git repository. The "DHCP request
drop" feature was not released yet.
What version are you using ?
Cheers,
Marek
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [B.A.T.M.A.N.] Multiple DHCP Gateways
2011-08-10 17:52 [B.A.T.M.A.N.] Multiple DHCP Gateways gtolon
2011-08-12 16:02 ` Antonio Quartulli
@ 2011-08-14 17:27 ` P. Mazart
1 sibling, 0 replies; 6+ messages in thread
From: P. Mazart @ 2011-08-14 17:27 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi,
> I´m testing the Gateway roaming capabilities […]
> […], even if it doesn´t […]
> […] I guess that´s because these subsequent DHCP requests […]
Please don’t use the accute as an apostrophe.
You could use “ ' ” (U+0027/ASCII) or even better
a typografically true “ ’ ” (U+2019)…
Best Regards,
P.M.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [B.A.T.M.A.N.] Multiple DHCP Gateways
[not found] <mailman.1.1313229601.6855.b.a.t.m.a.n@lists.open-mesh.org>
@ 2011-08-15 15:54 ` gtolon
2011-08-15 16:29 ` Antonio Quartulli
0 siblings, 1 reply; 6+ messages in thread
From: gtolon @ 2011-08-15 15:54 UTC (permalink / raw)
To: b.a.t.m.a.n
Thank you for your answers. I understood clearly how the system should
work, but i´m not using the git repository but the 2011.1.0 version.
I'll try with the repo to see what happens.
Best regards
Gabriel
> Message: 2
> Date: Fri, 12 Aug 2011 18:02:20 +0200
> From: Antonio Quartulli<ordex@autistici.org>
> To: The list for a Better Approach To Mobile Ad-hoc Networking
> <b.a.t.m.a.n@lists.open-mesh.org>
> Subject: Re: [B.A.T.M.A.N.] Multiple DHCP Gateways
> Message-ID:<20110812160217.GB22361@ritirata.org.org>
> Content-Type: text/plain; charset=utf-8
>
> Hello and thank you for sharing your gw experience with us,
>
> On Wed, Aug 10, 2011 at 02:52:06PM -0300, gtolon@inti.gob.ar wrote:
>> Hi
> [CUT]
>> However, when the original gateway becomes
>> worse than the alternative, and the client chooses the new one as
>> preferred (observed with batctl gwl) i noticed that the subsequent
>> request DHCP messages are sent to the original server, even if it
>> doesn?t have the best link.
>>
>> I guess that?s because these subsequent DHCP requests are made as
>> Unicast to the original server and so Batman doesn?t redirect them,
>
> Unicast renewal requests are "dropped" only if the TQ towards the destination is
> smaller than the "current_GW_TQ - GW_THRESHOLD" (GW_THRESHOLD = 50).
> To clarify:
>
>
> In your topology you have three nodes: A, B and C. A and C are GWs. A is the
> current best GW for B and B got an IP from the DHCP server running on A. Then
> the link A<--> B becomes worse than B<--> C. At this point Batman-adv will
> drop a DHCP unicast renewal request directed to A
>
> if and only if TQ(C) - TQ(A)> 50
>
> Is this condition verified in your topology when your are observing the renewal
> DHCP packets?
>
> I hope I've been clear. :-)
>
>> but
>> i wonder how this behavior affects the network balance, because the
>> computers would get tied always to the original DHCP and IP default
>> gateway even if they moved, right?
>
> As above. Clients will keep the same GW as long as the link is still "usable"
> (difference on TQs greater than 50)
>
>>
>> Thank you very much
>
> Thank you too,
> Antonio
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 12 Aug 2011 19:22:28 +0200
> From: Marek Lindner<lindner_marek@yahoo.de>
> To: "The list for a Better Approach To Mobile Ad-hoc Networking"
> <b.a.t.m.a.n@lists.open-mesh.org>
> Subject: Re: [B.A.T.M.A.N.] Multiple DHCP Gateways
> Message-ID:<201108121922.28786.lindner_marek@yahoo.de>
> Content-Type: Text/Plain; charset="utf-8"
>
> On Friday, August 12, 2011 18:02:20 Antonio Quartulli wrote:
>> In your topology you have three nodes: A, B and C. A and C are GWs. A is
>> the current best GW for B and B got an IP from the DHCP server running on
>> A. Then the link A<--> B becomes worse than B<--> C. At this point
>> Batman-adv will drop a DHCP unicast renewal request directed to A
>>
>> if and only if TQ(C) - TQ(A)> 50
>
> Be aware that only happens if you use the git repository. The "DHCP request
> drop" feature was not released yet.
>
> What version are you using ?
>
> Cheers,
> Marek
>
>
> ------------------------------
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.org
> https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n
>
>
> End of B.A.T.M.A.N Digest, Vol 56, Issue 15
> *******************************************
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [B.A.T.M.A.N.] Multiple DHCP Gateways
2011-08-15 15:54 ` gtolon
@ 2011-08-15 16:29 ` Antonio Quartulli
0 siblings, 0 replies; 6+ messages in thread
From: Antonio Quartulli @ 2011-08-15 16:29 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Mon, Aug 15, 2011 at 12:54:47PM -0300, gtolon@inti.gob.ar wrote:
> Thank you for your answers. I understood clearly how the system should
> work, but i´m not using the git repository but the 2011.1.0 version.
Ah ok, then everything is ok with your description: successive DHCP requests are
sent in unicast and so to they are sent to the old GW, even if the node serving
the client just chose a new GW.
Please, feel free to share your experience with the git version :-)
Regards,
Antonio
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-08-15 16:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 17:52 [B.A.T.M.A.N.] Multiple DHCP Gateways gtolon
2011-08-12 16:02 ` Antonio Quartulli
2011-08-12 17:22 ` Marek Lindner
2011-08-14 17:27 ` P. Mazart
[not found] <mailman.1.1313229601.6855.b.a.t.m.a.n@lists.open-mesh.org>
2011-08-15 15:54 ` gtolon
2011-08-15 16:29 ` Antonio Quartulli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox