Centos7 IPV6 stopped working after about one day

Issues related to configuring your network
Post Reply
lilemn
Posts: 1
Joined: 2017/07/18 12:43:49

Centos7 IPV6 stopped working after about one day

Post by lilemn » 2017/07/18 13:06:38

Under an IPV4+IPV6 network, the static IPV4 always works fine. But the IPV6 stopped working for centos7 after one day (No matter it was DHCPv6 or static_ipv6). Restarting the network can make ipv6 work again. I am really confused.
Ps. the router is a hiwifi (c312a). It does not support IPV6 by default, but offers a IPV6 extension for IPV6 (including DHCPv6, nat and bridge). Though it is reported that this extension is not stable, its DHCPv6 does work for windows7 (under the same router).

Code: Select all

ifconfig |grep inet6
        inet6 4006:e024:680:e304:92b1:1cff:fe7d:47ec  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::92b1:1cff:fe7d:47ec  prefixlen 64  scopeid 0x20<link>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>

Code: Select all

ip -6 route 
unreachable ::/96 dev lo  metric 1024  error -113
unreachable ::ffff:0.0.0.0/96 dev lo  metric 1024  error -113
unreachable 2002:a00::/24 dev lo  metric 1024  error -113
unreachable 2002:7f00::/24 dev lo  metric 1024  error -113
unreachable 2002:a9fe::/32 dev lo  metric 1024  error -113
unreachable 2002:ac10::/28 dev lo  metric 1024  error -113
unreachable 2002:c0a8::/32 dev lo  metric 1024  error -113
unreachable 2002:e000::/19 dev lo  metric 1024  error -113
unreachable 3ffe:ffff::/32 dev lo  metric 1024  error -113
4006:e024:680:e304::/64 dev em1  proto kernel  metric 256  expires 86201sec
fe80::/64 dev em1  proto kernel  metric 256 
default via fe80::d6ee:7ff:fe57:e304 dev em1  proto ra  metric 1024  expires 1601sec hoplimit 64

Code: Select all

cat /etc/sysconfig/network-scripts/ifcfg-em1 
HWADDR=55:11:11:22:33:44
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.199.221
PREFIX=24
GATEWAY=192.168.199.1
DNS1=127.0.0.1
DNS2=192.168.103.19
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV4_ROUTE_METRIC=100
IPV4_DNS_PRIORITY=100
IPV6INIT=yes
IPV6_DEFAULTDEV=em1
IPV6_AUTOCONF=no
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=yes
IPV6_ROUTE_METRIC=100
IPV6ADDR=4006:e024:680:e304:92b1:1cff:fe7d:47ec/64
IPV6_DEFAULTGW="fe80::d6ee:7ff:fe57:e304/64"
IPV6_PRIVACY=rfc3041
IPV6_PRIVACY_PREFER_PUBLIC_IP=yes
IPV6_ADDR_GEN_MODE=stable-privacy
IPV6_DNS_PRIORITY=100
NAME=em1
UUID=685e96f6-d926-4e82-b504-7e42fc2d8401
DEVICE=em1
ONBOOT=yes
NM_CONTROLLED=no

Code: Select all

sudo tcpdump -i em1 ip6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em1, link-type EN10MB (Ethernet), capture size 65535 bytes
20:58:23.075550 IP6 fe80::d6ee:7ff:fe57:e306 > ff02::1: HBH ICMP6, multicast listener querymax resp delay: 10000 addr: ::, length 24
20:58:23.915823 IP6 fe80::d6ee:7ff:fe57:e306 > ff02::2: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::2, length 24
20:58:25.149841 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 405
20:58:25.150164 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 477
20:58:25.150449 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 414
20:58:25.150849 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 473
20:58:25.151144 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 414
20:58:25.151430 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 453
20:58:25.151815 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 414
20:58:25.152082 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 485
20:58:25.152449 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 467
20:58:25.152744 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 469
20:58:25.153090 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 469
20:58:25.404257 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 469
20:58:25.404279 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 469
20:58:25.404664 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 467
20:58:25.404913 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 485
20:58:25.404936 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 414
20:58:25.405314 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 453
20:58:25.405337 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 414
20:58:25.405888 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 473
20:58:25.406137 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 414
20:58:25.406372 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 477
20:58:25.406384 IP6 gateway.50450 > ff02::c.ssdp: UDP, length 405
20:58:27.166725 IP6 fe80::5e7:e196:6320:4dbe > ff02::1:ff20:4dbe: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::1:ff20:4dbe, length 24
20:58:27.745796 IP6 fe80::d6ee:7ff:fe57:e306 > ff02::1:ff57:e306: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::1:ff57:e306, length 24
20:58:28.166818 IP6 fe80::5e7:e196:6320:4dbe > ff02::1:ff8e:d086: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::1:ff8e:d086, length 24
20:58:28.275777 IP6 fe80::d6ee:7ff:fe57:e306 > ff02::1:ff00:0: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::1:ff00:0, length 24
20:58:30.166951 IP6 fe80::5e7:e196:6320:4dbe > ff02::c: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::c, length 24
Thank you.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos7 IPV6 stopped working after about one day

Post by TrevorH » 2017/07/18 14:07:14

I can only tell you that it works perfectly here.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply