I'm trying to create a tunnel to HE.net to get an IPv6 address on my (cloud) server.
When I created the tunnel and put this in /etc/network/interfaces
:
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
address <my IPv6 address>
netmask 64
endpoint 66.220.7.82
local <my IPv4 address>
ttl 255
gateway <my gateway>
Then ifup he-ipv6
, and I got:
error: /etc/network/interfaces: line5: iface he-ipv6: unsupported address method 'v4tunnel'
How can I fix this?
The operating system is Ubuntu 18.04.3
.
(I've tried to search this error but it seems nobody ever has it. But I've tried on two separate machine by different providers, and the results are the same.)
Update: add a picture for details:
Update 2: add a picture of netplan:
Conclusion: the problem is caused by ifupdown2
.