close
1.
First you will need to check the following file
nano /etc/sysconfig/network
and look for the following line called “NETWORKING_IPv6=yes”.
NETWORKING=yes
NETWORKING_IPv6=yes
HOSTNAME=foo.foo-domain.com
2.
nano /etc/sysconfig/network-scripts/ifcfg-eth0
#Active IPv6 on interface
IPV6INIT=yes
#Set default ipv6 route thru this interface
#IPV6_DEFROUTE=yes
IPV6ADDR=2001:238:300::1/64
#Set default gateway for ipv6 traffic
#IPV6_DEFAULTGW=****:c000:0:2:0::1/64
#Disable IPv6 auto configuration = no
IPV6_AUTOCONF=no3.
service network restart
全站熱搜