Suppose we want to keep dhcp configuration for IPv4 and want to use a static IP for IPv6
1. Open '/etc/network/interfaces'
sudo gedit /etc/network/interfaces
2. Edit it
auto eth0
iface eth0 inet dhcp
iface eth0 inet6 static
address 2001::1
netmask 64
3. Restart networking
sudo /etc/init.d/networking restart
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment