sudo su
pwd
vi /etc/network/interfaces
# The primary network interface auto eth0 iface eth0 inet static address 192.168.0.100 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1
if you have IPv6 then add... (this IPv6 adresse are example ask your ISP for your IPv6 adress)
### Start IPV6 static configuration iface eth0 inet6 static pre-up modprobe ipv6 address 2607:f0d0:2001:000a:0000:0000:0000:0010 netmask 64 gateway 2607:f0d0:2001:000a:0000:0000:0000:0001 ### END IPV6 configuration
after
sudo /etc/init.d/networking restart
oder
service networking restart