Skip to main content

Posts

Showing posts from August, 2018

Work with IPv6 on Ubuntu 16.04

IPv6 is enable in Ubuntu by default, but I have found that without experiece you can spend a lot of time to find information for IPv6 network configuration  and operation. How to change IP address permanently Make changes in  file /etc/network/interfaces iface ens4 inet static  address 192.168.0.254  netmask 255.255.255.0  gateway 192.168.0.1 iface ens4 inet6 static   address 2001:db8::254  netmask 64  gateway 2001:db8::1 Temporary IPv6 Address Assignment stack@devstack# ip address add 2001:db8::254/64 dev ens4   Temporary IPv6 Address Deletion stack@devstack#   ip address del 2001:db8::254/64 dev ens4 Verify IPv6 address configuration stack@devstack# ip address dev ens4 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000     link/ether 00:50:00:00:04:01 brd ff:ff:ff:ff:ff:ff     inet 192.168.0.254/24 brd 192.168.0.255 scope global ens4        valid_lft forever preferred_lft forever     inet