Manually configure static IPv6 address in Debian/Ubuntu

Submitted by emartell on

Add these lines to /etc/network/interfaces


iface eth0 inet6 static
        address 2001:1458:E008:0001::2
        netmask 64
        gateway 2001:1458:E008:0001::1
        pre-up modprobe ipv6
Application
Operating System