IPv6 Connectivity Diagnostics is quite poor
-
Hi folks
I do have an /48 DHCP-PD range available from my ISP. Accordingly I set my WAN interface to fetch it's address from DHCP6. I get IPv4 through PPPoE and I do have to set the flag that it fetches the ipv6 prefix through the ipv4 link.
The thing is, sometimes ipv6 works and sometimes it doesn't…. but what I consider really poor is the interface status page. It shows wrong information in regard to the pppoe interface. This interface has a global address, but this is not shown. There is furthermore no sign of any information in regard of the PD Prefix. I would love to see all the ipv6 addresses of the interface and the information from the dhcp-pd. I also noted that the interface page shows certain rows on the basis that information is provided, which is neat when you know that the information is supposed to be there if available - but it is quite a hassle if you have to ask yourself if the page would show the information if it were there or if the page will not show an information at all. I would prefer, that when I set to fetch a public ipv6 adress that the status page would show "No ipv6 address" in the corresponding row, and not hide the row! If I tell software to do something, I want to see it in the status page, I don't want no feedback.
Another thingy is, that my logs get filled by these:
php-fpm[92200]: /rc.newwanipv6: rc.newwanipv6: Failed to update WAN[wan] IPv6, restarting…Any hints are very welcome, regards
Philipp -
What does Status>Interfaces show, and what does 'ifconfig' show?
-
You can see in the screenshots that I do have a GLA on my pppoe1 interface. DHCP-PD is totally missing.
I just run /usr/local/sbin/dhcp6c -Df -c /var/etc/dhcp6c_wan.conf -p /var/run/dhcp6c_pppoe1.pid pppoe1 and noticed that it totally hogs the dhcpd on the remote end:
Jan/23/2015 10:39:21: reset timer for pppoe1 to 0.861091
Jan/23/2015 10:39:22: picked a server (ID: 00:03:00:01:00:23:04:ea:23:18)
Jan/23/2015 10:39:22: a new XID (51ab9e) is generated
Jan/23/2015 10:39:22: set client ID (len 14)
Jan/23/2015 10:39:22: set server ID (len 10)
Jan/23/2015 10:39:22: set status code
Jan/23/2015 10:39:22: set identity association
Jan/23/2015 10:39:22: set elapsed time (len 2)
Jan/23/2015 10:39:22: set option request (len 4)
Jan/23/2015 10:39:22: send request to ff02::1:2%pppoe1
Jan/23/2015 10:39:22: reset a timer on pppoe1, state=REQUEST, timeo=0, retrans=1089
Jan/23/2015 10:39:22: receive reply from fe80::223:4ff:feea:2318%pppoe1 on pppoe1
Jan/23/2015 10:39:22: get DHCP option server ID, len 10
Jan/23/2015 10:39:22: DUID: 00:03:00:01:00:23:04:ea:23:18
Jan/23/2015 10:39:22: get DHCP option client ID, len 14
Jan/23/2015 10:39:22: DUID: 00:01:00:01:1c:4a:d9:23:00:1c:c0:d8:96:75
Jan/23/2015 10:39:22: get DHCP option identity association, len 31
Jan/23/2015 10:39:22: IA_NA: ID=0, T1=0, T2=0
Jan/23/2015 10:39:22: get DHCP option status code, len 15
Jan/23/2015 10:39:22: status code: no addresses
Jan/23/2015 10:39:22: get DHCP option DNS, len 32
Jan/23/2015 10:39:22: nameserver[0] 2001:8e0:80::dead:beef
Jan/23/2015 10:39:22: nameserver[1] 2001:8e0:40:304::dead:beef
Jan/23/2015 10:39:22: make an IA: NA-0
Jan/23/2015 10:39:22: status code for NA-0: no addresses
Jan/23/2015 10:39:22: IA NA-0 is invalidated
Jan/23/2015 10:39:22: remove an IA: NA-0
Jan/23/2015 10:39:22: reset a timer on pppoe1, state=INIT, timeo=0, retrans=582
Jan/23/2015 10:39:22: executes /var/etc/dhcp6c_wan_script.sh
Jan/23/2015 10:39:22: script "/var/etc/dhcp6c_wan_script.sh" terminated
Jan/23/2015 10:39:22: removing an event on pppoe1, state=REQUEST
Jan/23/2015 10:39:22: removing server (ID: 00:03:00:01:00:23:04:ea:23:18)
Jan/23/2015 10:39:22: got an expected reply, sleeping.And this repeats like once in a second….
This makes me tick the option "Only request a IPv6 prefix, do not request a IPv6 address"
I assume, that SLAAC still happen - so I will have a GLA, just not from the DHCP. So a hint would be welcome to say, that SLAAC is still happening.In the second status page you will notice that the output is different in the amount of information, which is the thing I tried to explain, that depending on the information available the status page show things and not on the basis of what the system is expected to do. Yet, the PD information is missing.
![2015-01-23 11_31_19-phoenix@unity__var_dominion_home_phoenix (pts_0).png](/public/imported_attachments/1/2015-01-23 11_31_19-phoenix@unity__var_dominion_home_phoenix (pts_0).png)
![2015-01-23 11_31_19-phoenix@unity__var_dominion_home_phoenix (pts_0).png_thumb](/public/imported_attachments/1/2015-01-23 11_31_19-phoenix@unity__var_dominion_home_phoenix (pts_0).png_thumb)
![2015-01-23 11_32_39-vicinity.dominion.ch - Status_ Interfaces.png](/public/imported_attachments/1/2015-01-23 11_32_39-vicinity.dominion.ch - Status_ Interfaces.png)
![2015-01-23 11_32_39-vicinity.dominion.ch - Status_ Interfaces.png_thumb](/public/imported_attachments/1/2015-01-23 11_32_39-vicinity.dominion.ch - Status_ Interfaces.png_thumb)
![2015-01-23 11_46_14-vicinity.dominion.ch - Status_ Interfaces.png](/public/imported_attachments/1/2015-01-23 11_46_14-vicinity.dominion.ch - Status_ Interfaces.png)
![2015-01-23 11_46_14-vicinity.dominion.ch - Status_ Interfaces.png_thumb](/public/imported_attachments/1/2015-01-23 11_46_14-vicinity.dominion.ch - Status_ Interfaces.png_thumb) -
Jan/23/2015 10:52:32: send request to ff02::1:2%pppoe1
Jan/23/2015 10:52:32: reset a timer on pppoe1, state=REQUEST, timeo=0, retrans=977
Jan/23/2015 10:52:32: receive reply from fe80::223:4ff:feea:2318%pppoe1 on pppoe1
Jan/23/2015 10:52:32: get DHCP option server ID, len 10
Jan/23/2015 10:52:32: DUID: 00:03:00:01:00:23:04:ea:23:18
Jan/23/2015 10:52:32: get DHCP option client ID, len 14
Jan/23/2015 10:52:32: DUID: 00:01:00:01:1c:4a:d9:23:00:1c:c0:d8:96:75
Jan/23/2015 10:52:32: get DHCP option IA_PD, len 41
Jan/23/2015 10:52:32: IA_PD: ID=0, T1=900, T2=1440
Jan/23/2015 10:52:32: get DHCP option IA_PD prefix, len 25
Jan/23/2015 10:52:32: IA_PD prefix: 2001:8e0:14b1::/48 pltime=1800 vltime=21600
Jan/23/2015 10:52:32: get DHCP option DNS, len 32
Jan/23/2015 10:52:32: nameserver[0] 2001:8e0:80::dead:beef
Jan/23/2015 10:52:32: nameserver[1] 2001:8e0:40:304::dead:beef
Jan/23/2015 10:52:32: make an IA: PD-0
Jan/23/2015 10:52:32: create a prefix 2001:8e0:14b1::/48 pltime=1800, vltime=21600
Jan/23/2015 10:52:32: executes /var/etc/dhcp6c_wan_script.sh
Jan/23/2015 10:52:42: script "/var/etc/dhcp6c_wan_script.sh" terminated
Jan/23/2015 10:52:42: removing an event on pppoe1, state=REQUEST
Jan/23/2015 10:52:42: removing server (ID: 00:03:00:01:00:23:04:ea:23:18)
Jan/23/2015 10:52:42: got an expected reply, sleeping.Just to show, that I get a prefix via DHCP-PD