1 Server版:
1.1 修改IPv4地址
sudo vim /etc/network/interfaces
加入以下语句:
auto enp1s0f0
iface enp1s0f0 inet static
address 210.72.140.152
gateway 210.72.140.1
netmask 255.255.255.0
dns-nameservers 223.5.5.5 1.1.1.1
1.2 ipv6隧道
以下是ipv6隧道的设置:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto