一、修改/etc/network/interfaces 文件内容

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

auto eth0
iface eth0 inet dhcp
pre-up sleep 2
iface eth0 inet6 static
address 2605:6400:0120:1b99::2
netmask 48
gateway 2605:6400:120::1

auto eth0:0
iface eth0:0 inet6 static
address 2605:6400:0120:1b99::3
netmask 48
gateway 2605:6400:120::1

auto eth0:1
iface eth0:1 inet6 static
address 2605:6400:0120:1b99::4
netmask 48
gateway 2605:6400:120::1

auto eth0:2
iface eth0:2 inet6 static
address 2605:6400:0120:1b99::5
netmask 48
gateway 2605:6400:120::1


iface ens3 inet6 static
      address 2604:9cc0:0000:1134:0000:0000:0000:0003/64
      gateway 2604:9cc0::1

iface ens3:0 inet6 static
      address 2604:9cc0:0000:1134:0000:0000:0000:0004/64
      gateway 2604:9cc0::1

iface ens3:1 inet6 static
      address 2604:9cc0:0000:1134:0000:0000:0000:0005/64
      gateway 2604:9cc0::1


root@ubuntu:~# sudo systemctl restart networking.service
root@ubuntu:~# ip -6 addr show ens3