All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] BLA and gateway mode
@ 2018-10-12  5:55 Марк Коренберг
  2018-10-12  6:05 ` Sven Eckelmann
  0 siblings, 1 reply; 6+ messages in thread
From: Марк Коренберг @ 2018-10-12  5:55 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hello, guys.

Does anybody know if BLA is somehow connected with gateway mode ? In
short, I'm unsure if gateway mode algorythms influence only DHCP
traffic. It is not strictly said. Documentation about BLA II use term
"gateway". As afr as I understand, there maybe case when BLA gateway
is one node, and DHCP gateway is another one. So, the question: does
GW functionality influence BLA algorythms ?

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

* Re: [B.A.T.M.A.N.] BLA and gateway mode
  2018-10-12  5:55 [B.A.T.M.A.N.] BLA and gateway mode Марк Коренберг
@ 2018-10-12  6:05 ` Sven Eckelmann
  2018-10-15  6:34   ` gary
  0 siblings, 1 reply; 6+ messages in thread
From: Sven Eckelmann @ 2018-10-12  6:05 UTC (permalink / raw)
  To: b.a.t.m.a.n
  Cc: Марк
	Коренберг

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

On Freitag, 12. Oktober 2018 10:55:02 CEST Марк Коренберг wrote:
> Hello, guys.
> 
> Does anybody know if BLA is somehow connected with gateway mode ?

No it isn't connected.

> In
> short, I'm unsure if gateway mode algorythms influence only DHCP
> traffic. It is not strictly said. Documentation about BLA II use term
> "gateway". As afr as I understand, there maybe case when BLA gateway
> is one node, and DHCP gateway is another one.

Correct

> So, the question: does
> GW functionality influence BLA algorythms ?

No

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [B.A.T.M.A.N.] BLA and gateway mode
  2018-10-12  6:05 ` Sven Eckelmann
@ 2018-10-15  6:34   ` gary
  2018-10-15 10:12     ` Simon Wunderlich
  0 siblings, 1 reply; 6+ messages in thread
From: gary @ 2018-10-15  6:34 UTC (permalink / raw)
  To: 'The list for a Better Approach To Mobile Ad-hoc Networking'
  Cc: 'Марк
	Коренберг'


Hi, guys,

I meet an issue related to bla.
There are two backbone nodes on backbone LAN, and many mesh nodes connected with the two backbone nodes.
When I run ping test on one client, there is about 20% packet loss.
And I find out the packet is always loss when the client is switch from one backbone node to another one(observing "batctl cl" on backbone node).

Do you have any suggestion for the issue?

Thanks very much.
-----Original Message-----
From: B.A.T.M.A.N <b.a.t.m.a.n-bounces@lists.open-mesh.org> On Behalf Of Sven Eckelmann
Sent: 2018年10月12日 14:06
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Марк Коренберг <socketpair@gmail.com>
Subject: Re: [B.A.T.M.A.N.] BLA and gateway mode

On Freitag, 12. Oktober 2018 10:55:02 CEST Марк Коренберг wrote:
> Hello, guys.
> 
> Does anybody know if BLA is somehow connected with gateway mode ?

No it isn't connected.

> In
> short, I'm unsure if gateway mode algorythms influence only DHCP 
> traffic. It is not strictly said. Documentation about BLA II use term 
> "gateway". As afr as I understand, there maybe case when BLA gateway 
> is one node, and DHCP gateway is another one.

Correct

> So, the question: does
> GW functionality influence BLA algorythms ?

No

Kind regards,
	Sven



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

* Re: [B.A.T.M.A.N.] BLA and gateway mode
  2018-10-15  6:34   ` gary
@ 2018-10-15 10:12     ` Simon Wunderlich
  2018-10-16  9:50       ` gary
  0 siblings, 1 reply; 6+ messages in thread
From: Simon Wunderlich @ 2018-10-15 10:12 UTC (permalink / raw)
  To: b.a.t.m.a.n
  Cc: gary,
	'Марк
	Коренберг'

[-- Attachment #1: Type: text/plain, Size: 2080 bytes --]

Hi Gary,

when the loss happens, for how long does it happen? Do you see where/why the 
ping packets get dropped? That should be the first step to find out, IMHO.

Changing the gateway should be working in general [1]. It's also possible that 
the loss is mesh related and the gateway change happens due to a node failing 
in your mesh - that would be a problem independent of BLA.

I hope those suggestions help you to find out the problem. :)

Cheers,
      Simon
[1] https://www.open-mesh.org/projects/batman-adv/wiki/Bridge-loop-avoidance-Testcases#A-client-switches-its-gateway-due-to-loss-of-linkbetter-TQ


On Monday, October 15, 2018 2:34:53 PM CEST gary wrote:
> Hi, guys,
> 
> I meet an issue related to bla.
> There are two backbone nodes on backbone LAN, and many mesh nodes connected
> with the two backbone nodes. When I run ping test on one client, there is
> about 20% packet loss. And I find out the packet is always loss when the
> client is switch from one backbone node to another one(observing "batctl
> cl" on backbone node).
> 
> Do you have any suggestion for the issue?
> 
> Thanks very much.
> -----Original Message-----
> From: B.A.T.M.A.N <b.a.t.m.a.n-bounces@lists.open-mesh.org> On Behalf Of
> Sven Eckelmann Sent: 2018年10月12日 14:06
> To: b.a.t.m.a.n@lists.open-mesh.org
> Cc: Марк Коренберг <socketpair@gmail.com>
> Subject: Re: [B.A.T.M.A.N.] BLA and gateway mode
> 
> On Freitag, 12. Oktober 2018 10:55:02 CEST Марк Коренберг wrote:
> > Hello, guys.
> > 
> > Does anybody know if BLA is somehow connected with gateway mode ?
> 
> No it isn't connected.
> 
> > In
> > short, I'm unsure if gateway mode algorythms influence only DHCP
> > traffic. It is not strictly said. Documentation about BLA II use term
> > "gateway". As afr as I understand, there maybe case when BLA gateway
> > is one node, and DHCP gateway is another one.
> 
> Correct
> 
> > So, the question: does
> > GW functionality influence BLA algorythms ?
> 
> No
> 
> Kind regards,
> 	Sven


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [B.A.T.M.A.N.] BLA and gateway mode
  2018-10-15 10:12     ` Simon Wunderlich
@ 2018-10-16  9:50       ` gary
  2018-10-16 10:00         ` Simon Wunderlich
  0 siblings, 1 reply; 6+ messages in thread
From: gary @ 2018-10-16  9:50 UTC (permalink / raw)
  To: 'Simon Wunderlich', b.a.t.m.a.n
  Cc: 'Марк
	Коренберг'


Hi Sinon,

Thanks for your tips. The loss happens only on one mesh point, other mesh points work well.
By default bla is enabled on all of the mesh point. 
Can disabling bla on non-backbone mesh point help to improve the mesh network's overall performance?

Regards,
Gary

-----Original Message-----
From: Simon Wunderlich <sw@simonwunderlich.de> 
Sent: 2018年10月15日 18:12
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: gary <guohuizou2000@sina.com>; 'Марк Коренберг' <socketpair@gmail.com>
Subject: Re: [B.A.T.M.A.N.] BLA and gateway mode

Hi Gary,

when the loss happens, for how long does it happen? Do you see where/why the ping packets get dropped? That should be the first step to find out, IMHO.

Changing the gateway should be working in general [1]. It's also possible that the loss is mesh related and the gateway change happens due to a node failing in your mesh - that would be a problem independent of BLA.

I hope those suggestions help you to find out the problem. :)

Cheers,
      Simon
[1] https://www.open-mesh.org/projects/batman-adv/wiki/Bridge-loop-avoidance-Testcases#A-client-switches-its-gateway-due-to-loss-of-linkbetter-TQ


On Monday, October 15, 2018 2:34:53 PM CEST gary wrote:
> Hi, guys,
> 
> I meet an issue related to bla.
> There are two backbone nodes on backbone LAN, and many mesh nodes 
> connected with the two backbone nodes. When I run ping test on one 
> client, there is about 20% packet loss. And I find out the packet is 
> always loss when the client is switch from one backbone node to 
> another one(observing "batctl cl" on backbone node).
> 
> Do you have any suggestion for the issue?
> 
> Thanks very much.
> -----Original Message-----
> From: B.A.T.M.A.N <b.a.t.m.a.n-bounces@lists.open-mesh.org> On Behalf 
> Of Sven Eckelmann Sent: 2018年10月12日 14:06
> To: b.a.t.m.a.n@lists.open-mesh.org
> Cc: Марк Коренберг <socketpair@gmail.com>
> Subject: Re: [B.A.T.M.A.N.] BLA and gateway mode
> 
> On Freitag, 12. Oktober 2018 10:55:02 CEST Марк Коренберг wrote:
> > Hello, guys.
> > 
> > Does anybody know if BLA is somehow connected with gateway mode ?
> 
> No it isn't connected.
> 
> > In
> > short, I'm unsure if gateway mode algorythms influence only DHCP 
> > traffic. It is not strictly said. Documentation about BLA II use 
> > term "gateway". As afr as I understand, there maybe case when BLA 
> > gateway is one node, and DHCP gateway is another one.
> 
> Correct
> 
> > So, the question: does
> > GW functionality influence BLA algorythms ?
> 
> No
> 
> Kind regards,
> 	Sven




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

* Re: [B.A.T.M.A.N.] BLA and gateway mode
  2018-10-16  9:50       ` gary
@ 2018-10-16 10:00         ` Simon Wunderlich
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Wunderlich @ 2018-10-16 10:00 UTC (permalink / raw)
  To: gary
  Cc: b.a.t.m.a.n,
	'Марк
	Коренберг'

[-- Attachment #1: Type: text/plain, Size: 3093 bytes --]

Hi Gary,

On Tuesday, October 16, 2018 5:50:42 PM CEST gary wrote:
> Hi Sinon,
> 
> Thanks for your tips. The loss happens only on one mesh point, other mesh
> points work well. By default bla is enabled on all of the mesh point.
> Can disabling bla on non-backbone mesh point help to improve the mesh
> network's overall performance?

I don't think this will help. If they are not on a shared backbone, BLA will 
not do much more than sending an "announce" frame every 10 seconds. This 
shouldn't have performance implications.

Cheers,
      Simon

> 
> Regards,
> Gary
> 
> -----Original Message-----
> From: Simon Wunderlich <sw@simonwunderlich.de>
> Sent: 2018年10月15日 18:12
> To: b.a.t.m.a.n@lists.open-mesh.org
> Cc: gary <guohuizou2000@sina.com>; 'Марк Коренберг' <socketpair@gmail.com>
> Subject: Re: [B.A.T.M.A.N.] BLA and gateway mode
> 
> Hi Gary,
> 
> when the loss happens, for how long does it happen? Do you see where/why the
> ping packets get dropped? That should be the first step to find out, IMHO.
> 
> Changing the gateway should be working in general [1]. It's also possible
> that the loss is mesh related and the gateway change happens due to a node
> failing in your mesh - that would be a problem independent of BLA.
> 
> I hope those suggestions help you to find out the problem. :)
> 
> Cheers,
>       Simon
> [1]
> https://www.open-mesh.org/projects/batman-adv/wiki/Bridge-loop-avoidance-Te
> stcases#A-client-switches-its-gateway-due-to-loss-of-linkbetter-TQ
> On Monday, October 15, 2018 2:34:53 PM CEST gary wrote:
> > Hi, guys,
> > 
> > I meet an issue related to bla.
> > There are two backbone nodes on backbone LAN, and many mesh nodes
> > connected with the two backbone nodes. When I run ping test on one
> > client, there is about 20% packet loss. And I find out the packet is
> > always loss when the client is switch from one backbone node to
> > another one(observing "batctl cl" on backbone node).
> > 
> > Do you have any suggestion for the issue?
> > 
> > Thanks very much.
> > -----Original Message-----
> > From: B.A.T.M.A.N <b.a.t.m.a.n-bounces@lists.open-mesh.org> On Behalf
> > Of Sven Eckelmann Sent: 2018年10月12日 14:06
> > To: b.a.t.m.a.n@lists.open-mesh.org
> > Cc: Марк Коренберг <socketpair@gmail.com>
> > Subject: Re: [B.A.T.M.A.N.] BLA and gateway mode
> > 
> > On Freitag, 12. Oktober 2018 10:55:02 CEST Марк Коренберг wrote:
> > > Hello, guys.
> > > 
> > > Does anybody know if BLA is somehow connected with gateway mode ?
> > 
> > No it isn't connected.
> > 
> > > In
> > > short, I'm unsure if gateway mode algorythms influence only DHCP
> > > traffic. It is not strictly said. Documentation about BLA II use
> > > term "gateway". As afr as I understand, there maybe case when BLA
> > > gateway is one node, and DHCP gateway is another one.
> > 
> > Correct
> > 
> > > So, the question: does
> > > GW functionality influence BLA algorythms ?
> > 
> > No
> > 
> > Kind regards,
> > 
> > 	Sven


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2018-10-16 10:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12  5:55 [B.A.T.M.A.N.] BLA and gateway mode Марк Коренберг
2018-10-12  6:05 ` Sven Eckelmann
2018-10-15  6:34   ` gary
2018-10-15 10:12     ` Simon Wunderlich
2018-10-16  9:50       ` gary
2018-10-16 10:00         ` Simon Wunderlich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.