Subject: Re: setting up IPv6
To: Sean Davis <dive-nb@endersgame.net>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-net
Date: 04/08/2002 02:01:28
On Sun, 7 Apr 2002, Sean Davis wrote:
> 1) Is there a doc somewhere that describes how to do IPv6 addresses in bind

Forward mapping is AAAA records instead of A:

noon            IN      AAAA    2001:638:a01:2:200:39ff:fe40:409a

Reverse is PTR with nibbles used to seperate things, under the ip6.int
domain, e.g. in db.1.0.a.0.8.3.6.0.1.0.0.2.ip6.int I have:

a.9.0.4.0.4.e.f.f.f.9.3.0.0.2.0.2.0.0.0 IN      PTR noon.ipv6.fh-regensburg.de.

ipv6calc is useful for making reverse maps:

miyu% ipv6calc -r 2001:638:a01:2:200:39ff:fe40:409a
a.9.0.4.0.4.e.f.f.f.9.3.0.0.2.0.2.0.0.0.1.0.a.0.8.3.6.0.1.0.0.2.ip6.int.

There are a few other things like A6 records, but I won't claim to
understand them. 


> 2) How do I determine what the IPv6 address for each machine should be

um, that information consists of two parts: the network prefix (MSB/left
bits of the address) and the host address (LSB/right bits of the address). 
Network prefix should be assigned via Router Advertisement on the LAN (see
articles in my .sig), host adresses are derived from MAC address.

If you have a properly configured rtadvd running on a LAN, all you need is
ip6mode=autohost and rtsol=yes in /etc/rc.conf and that's it. 


> 3) Is there anything else I need to know to make it work

Maybe read the two articles in my .sig... :)


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/