添加IPV6位址
删除原有連接配接
nmcli connection add aon-name eth0 ifname eth0 type ethernet ip6 2016::15/48
如果隻想要ipv6,要将ipv4從dhcp改為靜态
systemctl restart network
或
vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6ADDR=2016::15/48
systemctl stop NetworkManager