Configure IPV6 on Apple and Windows


Do you have IPV6 network ready in your office? Lets configure IPV6 on your machine running on either Windows/Mac. We have IPV6 network running on our office network, running dual stack with IPV4, not running fully on IPV6 DNS at the moment. But will try it out and share soon.

How to Configure IPV6 on Windowx XP

Turn on your command prompt, try this command ipv6, you should see the command replies;

C:\Documents and Settings\takizo>ipv6
usage: ipv6 [-p] [-v] if [ifindex]
       ipv6 [-p] ifcr v6v4 v4src v4dst [nd] [pmld]
       ipv6 [-p] ifcr 6over4 v4src
       ipv6 [-p] ifc ifindex [forwards] [-forwards] [advertises] [-advertises] [
mtu #bytes] [site site-identifier] [preference P]
       ipv6 rlu ifindex v4dst
       ipv6 [-p] ifd ifindex
       ipv6 [-p] adu ifindex/address [life validlifetime[/preflifetime]] [anycas
t] [unicast]
       ipv6 nc [ifindex [address]]
       ipv6 ncf [ifindex [address]]
       ipv6 rc [ifindex address]
       ipv6 rcf [ifindex [address]]
       ipv6 bc
       ipv6 [-p] [-v] rt
       ipv6 [-p] rtu prefix ifindex[/address] [life valid[/pref]] [preference P]
 [publish] [age] [spl SitePrefixLength]
       ipv6 spt
       ipv6 spu prefix ifindex [life L]
       ipv6 [-p] gp
       ipv6 [-p] gpu [parameter value] ... (try -?)
       ipv6 renew [ifindex]
       ipv6 [-p] ppt
       ipv6 [-p] ppu prefix precedence P srclabel SL [dstlabel DL]
       ipv6 [-p] ppd prefix
       ipv6 [-p] reset
       ipv6 install
       ipv6 uninstall
Some subcommands require local Administrator privileges.

To configure IPV6, you need the command ipv6 if;

C:\Documents and Settings\takizo>ipv6 if
Could not access IPv6 protocol stack - the stack is not installed.
To install, please use 'ipv6 install'.

The protocol stack is not install yet, to install just run ipv6 install;

C:\Documents and Settings\takizo>ipv6 install

Run ipv6 if again and you should see something like this;

Interface 5: Ethernet: Local Area Connection
  Guid {E297F13A-7121-4014-B76D-A7888B02DD30}
  uses Neighbor Discovery
  uses Router Discovery
  link-layer address: 00-0c-29-9f-xx-xx
    preferred link-local fe80::20c:29ff:fe9f:xxxx, life infinite
    multicast interface-local ff01::1, 1 refs, not reportable
    multicast link-local ff02::1, 1 refs, not reportable
    multicast link-local ff02::1:ff9f:d79e, 1 refs, last reporter
  link MTU 1500 (true link MTU 1500)
  current hop limit 128
  reachable time 18000ms (base 30000ms)
  retransmission interval 1000ms
  DAD transmits 1
  default site prefix length 48

From the output above, it shows that your Local Area Connection is on Interface 5, to configure IPV6 address on Interface 5;

command> ipv6 adu 5/2001:2001:0:3::6:2

5 is your interface no. and 2001:4498:0:3::6:2 if your IPV6 Address. After IPV6 Address has been configure, now to configure default route of your router/gateway for IPV6 network.

command> ipv6 rtu ::/0 5/2001:2001:0:3::6:100

::/0 means default route 5 is interface 5 and your gateway address is 2001:2001:0:3::6:100. To find out is your IPV6 gateway has been configured;

command> netsh
command> interface ipv6
command> show route

Publish  Type       Met  Prefix                    Idx  Gateway/Interface Name
-------  --------  ----  ------------------------  ---  ---------------------
no       Manual       2  ::/0                        5  2001:2001:0:3::6:100

Try to do ping to your gateway, and you should get the ping reply;

command> ping6 2001:2001:0:3::6:100

You can also try to do ping test to google ipv6 at If you are not able to ping the gateway, try to turn off Teredo Tunneling Adapter.

command> netsh
command> interface ipv6
command> set teredo disable

How to Configure IPV6 on Apple Mac OSX

There are bugs on my Mac OSX Leopard, the IPV6 configuration cannot be done on System Preference UI. The best way to do it is configure it through terminal through few simple steps, best way means it's surely works! I assume you have cable connected to your LAN port, so I will take en0 as example or if you are running wireless, you can replace with en1, and yes, you need sudo command to do changes, unless you are already a su/root login.

To bring up IPV6 on your interface, do

shell> sudo ip6 -u en0

To shut down, do

shell> sudo ip6 -d en0

You don't have to down it unless it's not working. Try to check what is on your interface en0

shell> ifconfig en0
shell> en0: flags=8863 mtu 1500
        ether 00:19:xx:xx:xx:6e 
        media: autoselect (100baseTX ) status: active

I do not have IPv4 or IPV6 configured on the interface yet, to configure IPV6 address;

shell> sudo ifconfig en0 inet6 2001:2001::0:0:0:6:10
shell> ifconfig en0
shell> en0: flags=8863 mtu 1500
        inet6 2001:2001::0:0:0:6:10 prefixlen 64 
        ether 00:19:e3:62:68:6e 
        media: autoselect (100baseTX ) status: active

IPV6 address has been configure, right now to configure the default gateway for IPV6 network;

shell> sudo route add -inet6 default 2001:2001::0:0:0:6:100

Try to ping to your gateway and you should get some replies.

shell> ping6 2001:2001::0:0:0:6:100
shell> PING6(56=40+8+8 bytes) 2001:2001::0:0:0:6:10 --> 2001:2001::0:0:0:6:100
16 bytes from 2001:2001::0:0:0:6:100, icmp_seq=0 hlim=64 time=0.602 ms
16 bytes from 2001:2001::0:0:0:6:100, icmp_seq=1 hlim=64 time=0.669 ms
16 bytes from 2001:2001::0:0:0:6:100, icmp_seq=2 hlim=64 time=0.733 ms

How Do I Know I am on IPV6 Network?

There are few site you can test, one of the most popular site is You will see a dancing kame if you are on IPV6 network, otherwise is mosaic dancing kame đŸ˜‰ Other than that, provide your IPV6 address as well. Ripe, is another site we always check for our IPV6 address.

I will be doing some development on IPV6, will post more info soon.