* [B.A.T.M.A.N.] batman-adv gw_mode and ipv6 router advertisements
@ 2012-06-10 23:14 Guido Iribarren
2012-06-10 23:23 ` Antonio Quartulli
2012-06-10 23:29 ` Marek Lindner
0 siblings, 2 replies; 5+ messages in thread
From: Guido Iribarren @ 2012-06-10 23:14 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hello everyone,
in the deploy of DeltaLibre (a local WCN very similar to EigenNet
(part of ninux) in Italy) i'm facing a dilemma:
i'm currently using batman-adv gw_mode client in all nodes, and the
ones that connect directly to internet through an ISP have gw_mode =
server
This way, clients have their DHCP requests transparently unicasted to
the 'best' gateway, and get a corresponding IPv4 and default gw.
Which is great.
But in IPv6 there's no equivalent functionality. If two routers on the
same broadcast domain (batman-adv cloud) run radvd and announce two
different prefixes, all hosts on the network autoconfigure 2 ips, one
in each prefix. Then, AFAIU, it's up to the client to choose between
the announced gateways, to send the traffic.
Are there any plans of implementing in batman-adv something analog to
the mangling done on DHCPv4 packets, to RA packets as well? (the
mechanism would be the inverse: instead of unicasting queries and
replies, propagate to clients only 1 RA packet out of all incoming;
decide which one to propagate based on gw_mode current logic)
Or, at least, extend the current mangling done in DHCPv4 packets to
DHCPv6 packets as well?
I would *love* to simply show some code instead of asking 'wishlist'
questions, but sadly i'm not a programmer :(
Thanks a lot,
Guido
pd. I'm pretty new to ipv6, so It's possible that i'm overlooking
'obvious' concepts in my questions: in that case you can politely tell
me to RTFM :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv gw_mode and ipv6 router advertisements
2012-06-10 23:14 [B.A.T.M.A.N.] batman-adv gw_mode and ipv6 router advertisements Guido Iribarren
@ 2012-06-10 23:23 ` Antonio Quartulli
2012-06-11 5:45 ` Sven Eckelmann
2012-06-10 23:29 ` Marek Lindner
1 sibling, 1 reply; 5+ messages in thread
From: Antonio Quartulli @ 2012-06-10 23:23 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 1992 bytes --]
Hello Guido,
On Sun, Jun 10, 2012 at 08:14:27PM -0300, Guido Iribarren wrote:
> Hello everyone,
> in the deploy of DeltaLibre (a local WCN very similar to EigenNet
> (part of ninux) in Italy) i'm facing a dilemma:
> i'm currently using batman-adv gw_mode client in all nodes, and the
> ones that connect directly to internet through an ISP have gw_mode =
> server
> This way, clients have their DHCP requests transparently unicasted to
> the 'best' gateway, and get a corresponding IPv4 and default gw.
> Which is great.
correct.
>
> But in IPv6 there's no equivalent functionality. If two routers on the
> same broadcast domain (batman-adv cloud) run radvd and announce two
> different prefixes, all hosts on the network autoconfigure 2 ips, one
> in each prefix. Then, AFAIU, it's up to the client to choose between
> the announced gateways, to send the traffic.
>
yes. batman-adv does treat RA packets as normal broadcasts. They are neither
filtered nor handled in any particular way.
> Are there any plans of implementing in batman-adv something analog to
> the mangling done on DHCPv4 packets, to RA packets as well? (the
> mechanism would be the inverse: instead of unicasting queries and
> replies, propagate to clients only 1 RA packet out of all incoming;
> decide which one to propagate based on gw_mode current logic)
>
someone proposed the idea on the bugtraq, but no plans about implementation have
been seen so far..
> Or, at least, extend the current mangling done in DHCPv4 packets to
> DHCPv6 packets as well?
>
this is already implemented. Gw_mode supports snooping of both dhcpv4 and
dhcpv6 packets. So you could use dhcpv6 instead of radvd (at least for now).
> I would *love* to simply show some code instead of asking 'wishlist'
> questions, but sadly i'm not a programmer :(
you are contributing anyway :-)
Cheers,
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv gw_mode and ipv6 router advertisements
2012-06-10 23:14 [B.A.T.M.A.N.] batman-adv gw_mode and ipv6 router advertisements Guido Iribarren
2012-06-10 23:23 ` Antonio Quartulli
@ 2012-06-10 23:29 ` Marek Lindner
2012-06-10 23:48 ` Guido Iribarren
1 sibling, 1 reply; 5+ messages in thread
From: Marek Lindner @ 2012-06-10 23:29 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Monday, June 11, 2012 07:14:27 Guido Iribarren wrote:
> Are there any plans of implementing in batman-adv something analog to
> the mangling done on DHCPv4 packets, to RA packets as well? (the
> mechanism would be the inverse: instead of unicasting queries and
> replies, propagate to clients only 1 RA packet out of all incoming;
> decide which one to propagate based on gw_mode current logic)
>
> Or, at least, extend the current mangling done in DHCPv4 packets to
> DHCPv6 packets as well?
What makes you think DHCPv6 is not working ? It should ...
Regards,
Marek
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv gw_mode and ipv6 router advertisements
2012-06-10 23:29 ` Marek Lindner
@ 2012-06-10 23:48 ` Guido Iribarren
0 siblings, 0 replies; 5+ messages in thread
From: Guido Iribarren @ 2012-06-10 23:48 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Sun, Jun 10, 2012 at 8:29 PM, Marek Lindner <lindner_marek@yahoo.de> wrote:
> On Monday, June 11, 2012 07:14:27 Guido Iribarren wrote:
>> Or, at least, extend the current mangling done in DHCPv4 packets to
>> DHCPv6 packets as well?
>
> What makes you think DHCPv6 is not working ? It should ...
Nothing but my own unfounded prejudice...
loving batman-adv every day a bit more!
one of these days i'm going to try "batctl solve life"
cheers!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv gw_mode and ipv6 router advertisements
2012-06-10 23:23 ` Antonio Quartulli
@ 2012-06-11 5:45 ` Sven Eckelmann
0 siblings, 0 replies; 5+ messages in thread
From: Sven Eckelmann @ 2012-06-11 5:45 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]
On Monday 11 June 2012 01:23:00 Antonio Quartulli wrote:
> > Are there any plans of implementing in batman-adv something analog to
> > the mangling done on DHCPv4 packets, to RA packets as well? (the
> > mechanism would be the inverse: instead of unicasting queries and
> > replies, propagate to clients only 1 RA packet out of all incoming;
> > decide which one to propagate based on gw_mode current logic)
>
> someone proposed the idea on the bugtraq, but no plans about implementation
> have been seen so far..
Just for completeness: http://www.open-mesh.org/issues/159
Kind regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-11 5:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-10 23:14 [B.A.T.M.A.N.] batman-adv gw_mode and ipv6 router advertisements Guido Iribarren
2012-06-10 23:23 ` Antonio Quartulli
2012-06-11 5:45 ` Sven Eckelmann
2012-06-10 23:29 ` Marek Lindner
2012-06-10 23:48 ` Guido Iribarren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox