By default, the Raspberry Pi doesn’t come with IPv6 enabled. This isn’t a problem for most people, as IPv6 adoption is still low and many home routers don’t support it. However, my ISP (Andrews & Arnold) is living in the future and ships routers which support the ‘new’ protocol, and I wanted to use it on my Pi.
Fortunately, enabling IPv6 on the Pi is as simple as adding the following line to the file
Reboot your Pi and you should see lines starting with
inet6 addr in the output of
ifconfig for your
To disable IPv6, simply remove the lines from the modules file and reboot.