RHEL 7 通过 network 服务配置ipv6地址

RHEL 7 配置ipv6地址

1
2
3
4
5
6
7
8
9
10
vim /etc/sysconfig/network-scripts/ifcfg-ethe
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6ADDR=2402:3c00:1f03:2:10:219:52:27/64
IPV6_DEFAULTGW=2402:3c00:1f03:2:10:219:52:254
I

systemctl restart network

ping6 2402:3c00:1f03:2:10:219:52:254