IPV6-Config in Ubuntu

Linux is a simple OS, and you can almost define every system configure as you like. Today's problem is about IPV6. In Windows or Mac, ipv6 config is done automaticlly by the system. However, in Linux, it's a little hard to do such work. You have to change some system-conf file manually.

Step 1

Install some dependencies is required:

1
sudo apt install miredo

Step 2

Modify file /etc/default/ufw

1
sudo gedit /etc/default/ufw

And change IPV6=no to IPV6=yes. If IPV6 has already changed into yes, just skip this step.

Step 3

Restart the system serivce:

1
sudo invoke-rc.d networking restart

Step 4 (Optional)

There is something more we have to do if you are connecting into ethernet like your education-network.

1
sudo gedit /etc/sysctl.d/10-ipv6-privacy.conf

Change

1
2
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2

into

1
2
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0

And then refresh your configures:

1
sudo sysctl --system

IPV6-Config in Ubuntu
http://blog.chivier.site/2019-12-03/2d235e11b9d6/
Author
Chivier Humber
Posted on
December 3, 2019
Licensed under