Enabling IPv6 on the Raspberry Pi

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 /etc/modules:

ipv6

Reboot your Pi and you should see lines starting with inet6 addr in the output of ifconfig for your lo and eth0 interfaces.

To disable IPv6, simply remove the lines from the modules file and reboot.

Related links

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.