IPv6 with Mac OSX

As of OSX 10.5.8, there seems to be a problem with static assigned IPv6 Addresses. You can fill in the dialog, but it does not actually configure the adapter.

Work around:
ifconfig en0 inet6 2001:48:24:12::12/64
route add -inet6 -prefixlen 0 default 2001:48:24:12::1

Note: this is not actually my IP (v6) address

Ubuntu IPv6 Notes

Right now IPv6 does work with Ubuntu but there are a couple of notes:

  • There is no GUI for configuration. I think it works fine with DHCP for 6 if you have DHCP v4.
  • If you are manually setting networking you will have to:
    1. add v4 & v6 to /etc/network/interfaces
      auto lo
      iface lo inet loopback
      iface eth0 inet6 static
      	address 2001:48:24::20:13
      	netmask 120
      	gateway 2001:48:24::20:1
      iface eth0 inet static
    2. configure DNS: /etc/resolv.conf
  • If you are using the default ufw firewall, you will need to tell it to let IPv6 work. This is easy: edit /etc/default/ufw and set IPV6=yes. Then just:
    ufw disable
    ufw enable

    Otherwise you will get:

    root@localhost:/etc/default# ping6 ipv6.google.com
    PING ipv6.google.com(qw-in-x68.google.com) 56 data bytes
    ping: sendmsg: Operation not permitted
    ping: sendmsg: Operation not permitted
    ping: sendmsg: Operation not permitted
    ping: sendmsg: Operation not permitted
    --- ipv6.google.com ping statistics ---
    4 packets transmitted, 0 received, 100% packet loss, time 2999ms


  • Yes — the IP Addresses have been altered
  • Yes — the IP 6 netmask should be 64


  • http://www.ubuntugeek.com/ufw-uncomplicated-firewall-for-ubuntu-hardy.html
  • https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/188934
  • http://brainstorm.ubuntu.com/idea/1622/
  • http://brainstorm.ubuntu.com/idea/17331/
  • http://knowledgelayer.softlayer.com/questions/468/Adding+IPv6+to+Ubuntu+systems
  • https://wiki.ubuntu.com/IPv6