public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Ryan Jud Hughes <ryan@iheartryan.com>
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.] "Distributed" DHCP vs gateway
Date: Sat, 06 Aug 2011 10:20:01 -0700	[thread overview]
Message-ID: <14d8e95b055e78a5fee934eb3192a2b8@pirateship.org> (raw)
In-Reply-To: <20110806145555.GD20928@excalibur.hozed.org>


> Why reinvent the wheel? I would argue that using IPv6 stateless
autoconfig
> 
>
http://en.wikipedia.org/wiki/IPv6#Stateless_address_autoconfiguration_.28SLAAC.29
> 
> and then working to provide a mechanism to support 'legacy' IPv4-only
> clients would be a beter solution than a lot of the hoops we have to
> jump through to support distributed dhcp cleanly.

I was looking into the idea of using IPv6-only on the inside of the
network, but the consensus seems to be that this is a hard and unsolved
problem.

Let's say that you are an IPv6-only client on the inside of the network. 
You want to view the website kittenwar.com.  You look it up on DNS.  Let's
say that kittenwar.com only has an A record and not an AAAA record.  If you
don't have an IPv4 address, this A record is useless to you.  The solution
is this trick called DNS64.  DNS64 is a proxy.  If it sees that a site has
only an A record, it will construct an AAAA record and return that for you,
using the standard transformations of IPv4 addresses to IPv6 addresses.

Then, how does your IPv6 traffic get over to kittenwar.com, which is only
listening on IPv4?  The solution is a trick called NAT64, which nats your
IPv6 traffic over to IPv4.

So the technology theoretically exists.  But as of the time I was last
doing the research, it was unstable and did not have a lot of development
effort behind it.

It's not as simple as the problem of getting your IPv4 traffic out to an
IPv6 address.

So, it's hoops either way.  I was hoping that the distributed-dhcp path
would be shorter.

But yeah, the problem is much simpler in IPv6-land, where there's
autoconfiguration, and you can have as many IPv6 addresses as you need.

--Ryan


  reply	other threads:[~2011-08-06 17:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-06 14:19 [B.A.T.M.A.N.] "Distributed" DHCP vs gateway Ryan Hughes
2011-08-06 14:56 ` Troy Benjegerdes
2011-08-06 17:20   ` Ryan Jud Hughes [this message]
2011-08-15 21:15     ` Donald Gordon
2011-08-07 13:25 ` Marek Lindner
2011-08-08 19:15 ` The Doctor

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=14d8e95b055e78a5fee934eb3192a2b8@pirateship.org \
    --to=ryan@iheartryan.com \
    --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