My ISP, Allophone.com, does not support IPv6 on their optical fiber network. (Real soon now!). Neither did my previous ISP, spectrum.
Since I created my Hurricane account I have been using
in /etc/network/interfaces
Then, my IPv6 stopped working. Netplan doesn't use the interfaces file.
So, I created a script, IPv6.sh, in my home directory, assigned it to root and added the excute permisson:
For I don't remember how long I just opened a Konsole and issued "sudo ./IPv6.sh".
Then I got tired of that and did some exploring into possible Systemd units. I discovered this config file:
he-ipv6.service
I saved that script under /etc/systemd/system/he-ipv6.service and then using the systemd GUI in Settings I used "enable" and "start" to activate it. Then I rebooted and had my tunnel. This method does not use sit or sit0, like my manual method does. Also, this method is for Systemd-System configurations.
I have a static IP address, but I am also behind NAT on my router. So, according to Hurricane, I must use my local IP address, which ends with .100. IF I used my static Internet facing IP address this service won't work. Neither with my script.
If you use Systemd-Networkd then use the other method shown in the link below:
https://wiki.archlinux.org/index.php...l_broker_setup
Since I created my Hurricane account I have been using
Code:
#tunnelbroker auto he-ipv6 iface he-ipv6 inet6 v4tunnel address 2001:XXX:YYY:ZZZ::2/64 netmask 64 endpoint 1AA.1BB.CCC.DDD local 192.168.11.100 ttl 255 gateway 2001:XXX:YYY:ZZZ::1 dns-nameservers 2606:4700:4700:1111 dns-nameservers 2606:4700:4700:1001
Then, my IPv6 stopped working. Netplan doesn't use the interfaces file.
So, I created a script, IPv6.sh, in my home directory, assigned it to root and added the excute permisson:
Code:
#!/bin/bash PATH=/sbin:/bin ifconfig sit0 up ifconfig sit0 inet6 tunnel ::aaa.bbb.ccc.ddd ifconfig sit1 up ifconfig sit1 inet6 add 2001:XXX:YYY:ZZZ::2/64 route -A inet6 add ::/0 dev sit1
Then I got tired of that and did some exploring into possible Systemd units. I discovered this config file:
he-ipv6.service
Code:
[Unit] Description=he.net IPv6 tunnel After=network.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/bin/ip tunnel add he-ipv6 mode sit remote AAA.BBB.CCC.DDD local 192.168.11.100 ttl 255 ExecStart=/bin/ip link set he-ipv6 up mtu 1480 ExecStart=/bin/ip addr add 2001:XXX:YYY:ZZZ::2 dev he-ipv6 ExecStart=/bin/ip -6 route add ::/0 dev he-ipv6 ExecStop=/bin/ip -6 route del ::/0 dev he-ipv6 ExecStop=/bin/ip link set he-ipv6 down ExecStop=/bin/ip tunnel del he-ipv6 [Install] WantedBy=multi-user.target
I have a static IP address, but I am also behind NAT on my router. So, according to Hurricane, I must use my local IP address, which ends with .100. IF I used my static Internet facing IP address this service won't work. Neither with my script.
If you use Systemd-Networkd then use the other method shown in the link below:
https://wiki.archlinux.org/index.php...l_broker_setup
Comment