debian配置ipv6
-
编辑/etc/network/interfaces文件
nano /etc/network/interfaces
iface ens3 inet6 static
address IPV6地址
netmask 64
gateway IPV6网关
autoconf 0 -
添加完成后保存退出,然后重启网络配置使其生效即可
/etc/init.d/networking restart
编辑/etc/network/interfaces文件
nano /etc/network/interfaces
iface ens3 inet6 static
address IPV6地址
netmask 64
gateway IPV6网关
autoconf 0
添加完成后保存退出,然后重启网络配置使其生效即可
/etc/init.d/networking restart