b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] batman on top of vlan?
@ 2017-08-16 15:43 dan
  2017-08-20  6:55 ` Sven Eckelmann
  0 siblings, 1 reply; 5+ messages in thread
From: dan @ 2017-08-16 15:43 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

Can batman operate on top of a vlan?  For example, a wireless link
with MTU of 1532 to accommodate both batman and the vlan.  Plugs into
the batman-adv box on eth0, configure eth0.10 and add eth0.10 to bat0.

This is meant to solve a specific issue of needing non-batman-adv
access to the radio web-ui's on the native/untagged vlan1

thanks.

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

* Re: [B.A.T.M.A.N.] batman on top of vlan?
  2017-08-16 15:43 [B.A.T.M.A.N.] batman on top of vlan? dan
@ 2017-08-20  6:55 ` Sven Eckelmann
  2017-08-20 17:52   ` dan
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Eckelmann @ 2017-08-20  6:55 UTC (permalink / raw)
  To: b.a.t.m.a.n

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

On Mittwoch, 16. August 2017 09:43:34 CEST dan wrote:
> Can batman operate on top of a vlan?  For example, a wireless link
> with MTU of 1532 to accommodate both batman and the vlan.  Plugs into
> the batman-adv box on eth0, configure eth0.10 and add eth0.10 to bat0.

It should work. batman-adv is not too picky about what is used below it. It 
must be able to transport ethernet frames and it must allow things like 
broadcasts. We could go here into more details but it wouldn't help us to 
answer the question. At least 802.1Q should not influence the behavior in any 
significant way and should therefore not be a problem.

Kind regards,
	Sven

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

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

* Re: [B.A.T.M.A.N.] batman on top of vlan?
  2017-08-20  6:55 ` Sven Eckelmann
@ 2017-08-20 17:52   ` dan
  2017-08-22  6:59     ` Sven Eckelmann
  0 siblings, 1 reply; 5+ messages in thread
From: dan @ 2017-08-20 17:52 UTC (permalink / raw)
  To: Sven Eckelmann; +Cc: The list for a Better Approach To Mobile Ad-hoc Networking

thanks.  Just to clarify, batman-adv 32 bytes, so to stack vlans qinq
I need 32+4+4 so 1540 yes?

On Sun, Aug 20, 2017 at 12:55 AM, Sven Eckelmann <sven@narfation.org> wrote:
> On Mittwoch, 16. August 2017 09:43:34 CEST dan wrote:
>> Can batman operate on top of a vlan?  For example, a wireless link
>> with MTU of 1532 to accommodate both batman and the vlan.  Plugs into
>> the batman-adv box on eth0, configure eth0.10 and add eth0.10 to bat0.
>
> It should work. batman-adv is not too picky about what is used below it. It
> must be able to transport ethernet frames and it must allow things like
> broadcasts. We could go here into more details but it wouldn't help us to
> answer the question. At least 802.1Q should not influence the behavior in any
> significant way and should therefore not be a problem.
>
> Kind regards,
>         Sven

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

* Re: [B.A.T.M.A.N.] batman on top of vlan?
  2017-08-20 17:52   ` dan
@ 2017-08-22  6:59     ` Sven Eckelmann
  2017-08-22  7:01       ` Antonio Quartulli
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Eckelmann @ 2017-08-22  6:59 UTC (permalink / raw)
  To: dan
  Cc: The list for a Better Approach To Mobile Ad-hoc Networking,
	Antonio Quartulli

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

On Sonntag, 20. August 2017 11:52:24 CEST dan wrote:
> thanks.  Just to clarify, batman-adv 32 bytes, so to stack vlans qinq
> I need 32+4+4 so 1540 yes?

Seems to be right.

But TT doesn't track QinQ clients with two VLANs (it only tracks the outer 
VLAN). Maybe Antonio already thought about possible consequences.

Kind regards,
	Sven

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

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

* Re: [B.A.T.M.A.N.] batman on top of vlan?
  2017-08-22  6:59     ` Sven Eckelmann
@ 2017-08-22  7:01       ` Antonio Quartulli
  0 siblings, 0 replies; 5+ messages in thread
From: Antonio Quartulli @ 2017-08-22  7:01 UTC (permalink / raw)
  To: Sven Eckelmann, dan
  Cc: The list for a Better Approach To Mobile Ad-hoc Networking


[-- Attachment #1.1: Type: text/plain, Size: 715 bytes --]

On 22/08/17 14:59, Sven Eckelmann wrote:
> On Sonntag, 20. August 2017 11:52:24 CEST dan wrote:
>> thanks.  Just to clarify, batman-adv 32 bytes, so to stack vlans qinq
>> I need 32+4+4 so 1540 yes?
> 
> Seems to be right.
> 
> But TT doesn't track QinQ clients with two VLANs (it only tracks the outer 
> VLAN). Maybe Antonio already thought about possible consequences.

I haven't really thought this trough, but I think it should still work,
because batman-adv will just take care of delivering the packet to/from
where the outer encapsulation is applied/removed. What happens to the
inner payload should not be batman's business.  If I see this correctly.


Cheers,

-- 
Antonio Quartulli


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2017-08-22  7:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-16 15:43 [B.A.T.M.A.N.] batman on top of vlan? dan
2017-08-20  6:55 ` Sven Eckelmann
2017-08-20 17:52   ` dan
2017-08-22  6:59     ` Sven Eckelmann
2017-08-22  7:01       ` Antonio Quartulli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).