Wednesday, July 8, 2009

Use IPv6 In Linux

2. Search the listing to see if ipv6 is there. If it isn't there try it with the command:

sudo /sbin/modprobe ipv6

Now issue the lsmod command to see if it is there. It should be.

3. The file to configure will be the standard network interface configuration. This will only work for static IP addresses. The file in question is /etc/network/interfaces. Most likely this is either not configured (if you are using DHCP) or set up for IPv4.

The details of our configuration:

IPv4 address: 162.82.1.65

IPv6 Address: 2002:c0a8:10a::

IPv4 gateway: 162.168.1.1

IPv6 gateway: 2002:c0a8:0101::

5. Add this to the /etc/network/interfaces file. The new file will look like this: