Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: dreinetworks on October 15, 2020, 04:18:07 PM

Title: Ubuntu 20.04 LTS on vServer(OpenVZ) cant config tunnel
Post by: dreinetworks on October 15, 2020, 04:18:07 PM
I have a vServer running with Ubuntu 20.04.

used the config from the tunnelbroker website:

Code: [Select]
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
        address 2001:470:1f0a:xxx::2
        netmask 64
        endpoint 216.66.80.30
        local 178.2xx.2xx.2xx
        ttl 255
        gateway 2001:470:1f0a:xxx::1

after saving I tried to restart network interfaces with
service networking restart

and got this message:
Quote
Job for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xe" for details.

systemctl status networking.service says following:
Quote
Oct 16 01:12:24 vserver1 systemd[1]: Starting Raise network interfaces...
Oct 16 01:12:24 vserver1 ifup[922]: Waiting for DAD... Done
Oct 16 01:12:24 vserver1 ifup[954]: add tunnel "sit0" failed: No such device
Oct 16 01:12:24 vserver1 ifup[890]: ifup: failed to bring up he-ipv6
Oct 16 01:12:24 vserver1 systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Oct 16 01:12:24 vserver1 systemd[1]: networking.service: Failed with result 'exit-code'.
Oct 16 01:12:24 vserver1 systemd[1]: Failed to start Raise network interfaces.

any help how I can make it run? thanks
Title: Re: Ubuntu 20.04 LTS on vServer(OpenVZ) cant config tunnel
Post by: mk01 on October 18, 2020, 07:11:17 AM
check if you have module "sit" loaded

(lsmod | grep -w sit)