NA+PD: address not configured
Egerváry Gergely
Tue Dec 29 12:05:26 2015Hello Roy, I'm running dhcpcd 6.9.4 on NetBSD 6-STABLE. I have a PPPoE connection to my ISP. What I need is: - IA_NA for the PPPoE link itself (ifname: pppoe0) - IA_PD for the internal LAN (ifname: vlan11, vlan12, etc.) This is my current config: allowinterfaces pppoe0 vlan11 debug hostname duid ipv6only noipv6rs nogateway waitip interface pppoe0 iaid 1 ia_na 1 ia_pd 2/::/64 vlan11/0/64 If I comment out ia_pd, the ia_na works good, I get the proper IPv6 address, and it is configured on interface pppoe0. If I comment out ia_na, the id_pd works good, I get the proper IPv6 prefix, and the first address (suffix 1) is configured on interface vlan11. BUT! If I have both ia_na and ia_pd in my config, the ia_pd first address is not configured on vlan11: dhcpcd-6.9.4 starting pppoe0: executing `/usr/pkg/libexec/dhcpcd-run-hooks' PREINIT pppoe0: executing `/usr/pkg/libexec/dhcpcd-run-hooks' CARRIER DUID 00:03:00:01:2c:27:d7:14:54:17 pppoe0: IAID 00:00:00:01 pppoe0: IAID 00:00:00:02 pppoe0: reading lease `/var/db/dhcpcd-pppoe0.lease6' pppoe0: soliciting a DHCPv6 lease pppoe0: delaying SOLICIT6 (xid 0xd45dc3), next in 1.4 seconds pppoe0: broadcasting SOLICIT6 (xid 0xd45dc3), next in 1.1 seconds pppoe0: ADV ::/64 from fe80::840a:a476:66a3:1809 pppoe0: broadcasting REQUEST6 (xid 0x4defbb), next in 1.0 seconds pppoe0: REPLY6 received from fe80::840a:a476:66a3:1809 pppoe0: adding address 2a01:36c:109:80fc:2e27:d7ff:fe14:5417/128 pppoe0: pltime 604800 seconds, vltime 604800 seconds pppoe0: delegated prefix 2a01:36d:109:80fc::/64 pppoe0: renew in 302400 seconds, rebind in 483840 seconds pppoe0: writing lease `/var/db/dhcpcd-pppoe0.lease6' pppoe0: waiting for DHCPv6 DAD to complete pppoe0: DHCPv6 DAD completed pppoe0: executing `/usr/pkg/libexec/dhcpcd-run-hooks' BOUND6 Is this normal, or do I miss something? Thank you, and - I really like dhcpcd - keep up the good work! PS: Feature request: please implement a configurable option for the configured suffix. I like '1' much better than previously used 'SLAAC style' address, but a configuration option would be very nice. (wide-dhcp client has one, called 'ifid') Tip: ia_pd [iaid [/ prefix / prefix_len] [interface [/ sla_id [/ prefix_len [/ suffix]]]]] Thanks again! -- Gergely EGERVARY
| Re: NA+PD: address not configured | Roy Marples |