Hi friends, I have a server where I need to set IPv6, I have given IPv6 address as given by provider in
/etc/sysconfig/network-scripts/ifcfg-eth0
But when I restart network, it gives following error:
# service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface venet0: Shutting down interface venet0:
[ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Determining if ip address 218.100.225.61 is already in use for device eth0...
ERROR : [ipv6_set_default_route] Given IPv6 default device 'eth0' requires an explicit nexthop
[ OK ]
Bringing up interface venet0: Bringing up interface venet0:
Configuring interface venet0:
net.ipv4.conf.venet0.send_redirects = 0
Configuring ipv6 venet0:
[ OK ]
This is centos 6.5 with openvz virtulization. And when I use ping to check ipv6:
# ping6 ipv6.google.com
PING ipv6.google.com(ord08s09-in-x03.1e100.net) 56 data bytes
64 bytes from ord08s09-in-x03.1e100.net: icmp_seq=1 ttl=53 time=93.2 ms
64 bytes from ord08s09-in-x03.1e100.net: icmp_seq=2 ttl=53 time=93.1 ms
64 bytes from ord08s09-in-x03.1e100.net: icmp_seq=3 ttl=53 time=93.1 ms
64 bytes from ord08s09-in-x03.1e100.net: icmp_seq=4 ttl=53 time=93.2 ms
--- ipv6.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3367ms
rtt min/avg/max/mdev = 93.141/93.185/93.244/0.308 ms
So IPv6 is working, but then what is that error all about ?