[Dnsmasq-discuss] OT: IPV6 howto
samuel.lethiec at intelunix.fr
Thu Jun 9 12:21:24 BST 2011
On Wed, Jun 08, 2011 at 03:54:32PM +0100, Ed W wrote:
> Although not directly related to dnsmasq, I'm hoping to get a bit of a
> leg up from somewhere on ipv6 best practices right now...
> I have a (UK) ISP (idnet) which alleges to offer me IPV6 range, but at
> present my PPPOE router (airport express) is not obviously receiving an
> IPV6 range. I suspect the router is the problem, but lets leave that
> for the moment. The allocated range is believed to be static/persistent.
> Next up is how to allocate my ipv6 range inside the office. In the past
> I have used static IPs for servers and other interesting bits of gear
> (phones/printers), with dnsmasq handing out dhcp addresses for
> everything else and also managing the dns mapping to the static ips. I
> can't get my head around the best practice of what we should be doing
> with ipv6 though - seems like it's meant to be all automatic, but then
> how to give machines meaningful dns addresses?
I'm not sure this is going to help but anyway...
As you said, the stateless IPv6 autoconfiguration has nothing to do with
dnsmasq, and so unless you specify in a hosts file (or via the --address
directive) the IPv6 address of your servers along with their name, then
dnsmasq just won't be able to resolv the name (to an IPv6 address).
If the privacy extension is disable on the "client", then, you can
blindly copy&paste its IPv6 address (the 'global' one) to the host.
if the privacy extension is enable or if you want a shorter address,
then, you can manually set the address on the host, and edit your hosts
> Finally, I use a bunch of linux-vserver guests, effectively a low
> overhead type of virtualisation. Any tips on how others handle
> allocating ipv6 to virtual servers? At present I use something like a
> static (class C) IPV4 where the last octet is used also as the guests
> "unique id" (vserver housekeeping requirement to allocate all machines a
> unique 32bit id)
if all machine _can_ have a 64bit identifier instead, then you can
probably just use the IPv6 stateless autoconfiguration, the last 64bits
of their address will be the unique identifier.
If that's not possible, then, you might want to wait for a better
answer:) (or use a DHCPv6 server?)
Hope that helps
> Any tips or pointers on getting started here, especially if the answer
> is to look somewhere else..?
> Ed W
> P.S. I do get the very basics of ipv6, I'm looking for implementation
> suggestions rather than "what is it"...
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss