Redhat7 配置ipv6

Redhat7 配置ipv6


# cd /etc/sysconfig/network-scripts/

# vi ifcfg-eth0


IPV6INIT=yes

IPV6ADDR=10.0.0.3

IPV6_DEFAULTGW=10.0.0.1

:wq


# systemctl restart netwok


# ifconfig (即可看到ipv6项)

你可能感兴趣的:(ipv6)