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.] batman-adv gw_mode and ipv6 router advertisements
Date: Mon, 11 Jun 2012 01:23:00 +0200 [thread overview]
Message-ID: <20120610232259.GA23542@ritirata.org> (raw)
In-Reply-To: <CAHD-aqK3yvVCDi9wucx4nX5jM4OjxbjbUFz3QHG+KzzuoMhz7Q@mail.gmail.com>
[-- 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 --]
next prev parent reply other threads:[~2012-06-10 23:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2012-06-11 5:45 ` Sven Eckelmann
2012-06-10 23:29 ` Marek Lindner
2012-06-10 23:48 ` Guido Iribarren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120610232259.GA23542@ritirata.org \
--to=ordex@autistici.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox