Debian IPv6 Networking Configuration
To configure IPv6 networking on Debian, you can follow these steps:
- Edit the /etc/network/interfaces file:
sudo nano /etc/network/interfaces - Add the following lines to the file, assuming your network interface is
eth0:iface eth0 inet6 autoThis will tell the system to use the automatic IPv6 configuration method, which is called stateless address autoconfiguration (SLAAC).
- Save and close the file.
- Restart the networking service to apply the changes:
sudo systemctl restart networking - Check if the interface has an IPv6 address assigned:
ip -6 address show dev eth0This will show the IPv6 address assigned to the
eth0interface. - Test the connection to an IPv6-enabled website:
ping6 ipv6.google.comThis will send ICMPv6 packets to Google's IPv6 address and show the response times.
