Content from | 2006, updated 2007 and April 2009 |
---|---|
Current versions | Mac OS X 10.6 (Snow Leopard), Mac OS X 10.5 (Leopard) |
Tested version | Mac OS X 10.4.8 (now EOL) |
Documentation for | there is no usable IPv6 documentation to speak of |
ip6 -a
To disable it:ip6 -x
sysctl -w net.inet6.ip6.accept_rtadv=1
(Or setting ip6mode=autohost in /etc/rc.conf.)sysctl net.inet6.ip6.use_tempaddr=1
ifconfig gif0 tunnel $host-ipv4 $router-ipv4
Set up the IPv6 endpoints of the tunnel:ifconfig gif0 inet6 alias $tunnel-v6host $tunnel-v6router prefixlen 128
Set the (IPv6) default route on the tunnel:route add -inet6 default -interface gif0
automaticconfigurationfor IPv6 addresses or nameserver information, which could be a DHCPv6 client in disguise.
Configure IPv6has to be set to Automatically.When dialling with the PPPoE tool (in the menu bar), the PPP daemon pppd automaticallytries to negotiate IPv6 whileestablishing the PPP link (IPv6CP) and successfully creates a link-local address for thePPP interface. The IPv6 stack afterward receives RAs on the PPP link and configures anglobal address on the PPP interface.
route add -inet6 default -interface ppp0