Mac OS X 10.3
Mac OS X 10.3 Panther has native support for IPv6 and IPSec and they are turned on by default (see the the "Configure IPv6..." button in the TCP/IP pane of an interface in the Network panel of System Preferences). In addition, 10.3 added a user interface for configuring IPv6's 6to4 service, eliminating the need to use the command line to use 6to4.
Mac OS X 10.2
In Mac OS X 10.2 Jaguar IPv6 and IPSec support were added to the kernel and IPv6 is turned on by default (see the the "Configure IPv6..." button in the TCP/IP pane of an interface in the Network panel of System Preferences). However, in 10.2 IPv6 isn't really well integrated. For example, the IPv6 6to4 service is implemented by Mac OS X 10.2, but it isn't integrated in to the user interface. You can, however, use the command line (via the Terminal application) and the script ip6config to turn on 6to4:
sudo ip6config start-stf en0
10.2 also comes with rtadvd for advertising routes.
Mac OS X 10.1
http://www.kame.net/newsletter/20020322/ describes how to recompile MacOSX's kernel to include IPv6. It's not the best how to and there are a few catches. Here goes... --TomO'Hern
To apply the patch file first place the file in xnu/ and then use the command
patch -po bsd/conf/MASTER.ppc darwin-v6-patch.Apple-201-15.diff
It seems to work just fine on the 201-19 kernel also. Add in --dry-run if you want to make sure everything will work alright first.
Next big problem is that 10.1.3 doesn't come with the relpath command. Use the command
cvs -d :pserver:yourid@anoncvs.opensource.apple.com:/cvs/Darwin checkout bootstrap_cmds
to get the source for the relpath command. cd into bootstrap_cmds/relpath.tproj/ and do a make and a make install. It tells you where it places the relpath command xnu folder. cd into that directory and cp the binary to /usr/local/bin/
Now, go back to cvs and check out cctools and Libstreams. From Libstreams/ cp the streams.h file into cctools/include/streams/ (streams/ will not exist, you need to create the directory. Now go into cctools/misc/ and do a
make seg_hack.NEW mv seg_hack.NEW /usr/local/bin/seg_hack
2am... going to bed for tonight... finish more later...
At this point you should cd back to the xnu directory and continue with the how to starting at the line
source SETUP/setup.csh


