[Kea-users] KEA IPv6 Configuration Help?

Garett garett at kea.nebo.zy.ca
Wed Apr 29 01:04:17 UTC 2015


Alas, that didn't work either ... so I also went on to try some more changes to simplify things:

  "subnet6": [{
     "subnet": "2004:db8::1/64",
     "pools": [ { "pool": "2004:db8::10-2004:db8::100" } ],
     "interface": "enp0s8"
  }]

and change the IP on enp0s8 to 2004:db8::1/64   So this puts everything into the same network ... if it worked; alas it doesn't.

More log info ... if it helps.

Log:
2015-04-28 18:56:59.737 DEBUG [kea-dhcp6.dhcp6/2823] DHCP6_CONFIG_START DHCPv6 server is processing the following configuration: { "interfaces-config": { "interfaces": [ "enp0s8" ] }, "lease-database": { "type": "memfile" }, "preferred-lifetime": 3000, "rebind-timer": 2000, "renew-timer": 1000, "subnet6": [ { "interface": "enp0s8", "pools": [ { "pool": "2004:db8::10-2004:db8::100" } ], "subnet": "2004:db8::1/64" } ], "valid-lifetime": 4000 }
2015-04-28 18:56:59.737 DEBUG [kea-dhcp6.dhcp6/2823] DHCP6_PARSER_CREATED created parser for configuration element interfaces-config
2015-04-28 18:56:59.737 INFO  [kea-dhcp6.dhcpsrv/2823] DHCPSRV_CFGMGR_ADD_IFACE listening on interface enp0s8
2015-04-28 18:56:59.737 DEBUG [kea-dhcp6.dhcp6/2823] DHCP6_PARSER_CREATED created parser for configuration element lease-database
2015-04-28 18:56:59.737 DEBUG [kea-dhcp6.dhcp6/2823] DHCP6_PARSER_CREATED created parser for configuration element preferred-lifetime
2015-04-28 18:56:59.737 DEBUG [kea-dhcp6.dhcp6/2823] DHCP6_PARSER_CREATED created parser for configuration element rebind-timer
2015-04-28 18:56:59.737 DEBUG [kea-dhcp6.dhcp6/2823] DHCP6_PARSER_CREATED created parser for configuration element renew-timer
2015-04-28 18:56:59.737 DEBUG [kea-dhcp6.dhcp6/2823] DHCP6_PARSER_CREATED created parser for configuration element subnet6
2015-04-28 18:56:59.737 DEBUG [kea-dhcp6.dhcp6/2823] DHCP6_PARSER_CREATED created parser for configuration element valid-lifetime
2015-04-28 18:56:59.737 INFO  [kea-dhcp6.dhcp6/2823] DHCP6_CONFIG_NEW_SUBNET a new subnet has been added to configuration: 2004:db8::1/64 with params t1=1000, t2=2000, pref=3000, valid=4000
2015-04-28 18:56:59.737 DEBUG [kea-dhcp6.dhcpsrv/2823] DHCPSRV_CFGMGR_ADD_SUBNET6 adding subnet 2004:db8::1/64
2015-04-28 18:56:59.737 INFO  [kea-dhcp6.dhcpsrv/2823] DHCPSRV_MEMFILE_DB opening memory file lease database: type=memfile universe=6
2015-04-28 18:56:59.737 INFO  [kea-dhcp6.dhcpsrv/2823] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /opt/kea/var/kea/kea-leases6.csv
2015-04-28 18:56:59.737 INFO  [kea-dhcp6.dhcp6/2823] DHCP6_CONFIG_COMPLETE DHCPv6 server has completed configuration: no IPv6 subnets!; DDNS: disabled

tcpdump:
[root at server ~]# tcpdump -i enp0s8 -vv
tcpdump: WARNING: enp0s8: no IPv4 address assigned
tcpdump: listening on enp0s8, link-type EN10MB (Ethernet), capture size 65535 bytes
18:59:28.793090 IP6 (hlim 1, next-header UDP (17) payload length: 60) fe80::a00:27ff:febe:e078.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=8723d0 (client-ID hwaddr/time type 1 time 483563512 080027bee078) (option-request DNS-server DNS-search-list) (elapsed-time 0) (IA_NA IAID:666820728 T1:3600 T2:5400))
18:59:29.874668 IP6 (hlim 1, next-header UDP (17) payload length: 60) fe80::a00:27ff:febe:e078.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=8723d0 (client-ID hwaddr/time type 1 time 483563512 080027bee078) (option-request DNS-server DNS-search-list) (elapsed-time 108) (IA_NA IAID:666820728 T1:3600 T2:5400))
18:59:32.138484 IP6 (hlim 1, next-header UDP (17) payload length: 60) fe80::a00:27ff:febe:e078.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=8723d0 (client-ID hwaddr/time type 1 time 483563512 080027bee078) (option-request DNS-server DNS-search-list) (elapsed-time 334) (IA_NA IAID:666820728 T1:3600 T2:5400))
18:59:36.805766 IP6 (hlim 1, next-header UDP (17) payload length: 60) fe80::a00:27ff:febe:e078.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp sum ok] dhcp6 solicit (xid=8723d0 (client-ID hwaddr/time type 1 time 483563512 080027bee078) (option-request DNS-server DNS-search-list) (elapsed-time 800) (IA_NA IAID:666820728 T1:3600 T2:5400))
...


And the client:

[root at client ~]# dhclient -6 -v enp0s3 
Internet Systems Consortium DHCP Client 4.2.5
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on Socket/enp0s3
Sending on   Socket/enp0s3
PRC: Soliciting for leases (INIT).
XMT: Forming Solicit, 0 ms elapsed.
XMT:  X-- IA_NA 27:be:e0:78
XMT:  | X-- Request renew in  +3600
XMT:  | X-- Request rebind in +5400
XMT: Solicit on enp0s3, interval 1050ms.
XMT: Forming Solicit, 1050 ms elapsed.
XMT:  X-- IA_NA 27:be:e0:78
XMT:  | X-- Request renew in  +3600
XMT:  | X-- Request rebind in +5400
XMT: Solicit on enp0s3, interval 2040ms.
XMT: Forming Solicit, 3090 ms elapsed.
XMT:  X-- IA_NA 27:be:e0:78
XMT:  | X-- Request renew in  +3600
XMT:  | X-- Request rebind in +5400
XMT: Solicit on enp0s3, interval 4220ms.
XMT: Forming Solicit, 7310 ms elapsed.
XMT:  X-- IA_NA 27:be:e0:78
XMT:  | X-- Request renew in  +3600
XMT:  | X-- Request rebind in +5400
XMT: Solicit on enp0s3, interval 8530ms.
XMT: Forming Solicit, 15850 ms elapsed.
XMT:  X-- IA_NA 27:be:e0:78
XMT:  | X-- Request renew in  +3600
XMT:  | X-- Request rebind in +5400
XMT: Solicit on enp0s3, interval 16270ms.
XMT: Forming Solicit, 32130 ms elapsed.
XMT:  X-- IA_NA 27:be:e0:78
XMT:  | X-- Request renew in  +3600
XMT:  | X-- Request rebind in +5400
XMT: Solicit on enp0s3, interval 31720ms.


--
Garett

----- Original Message -----
From: "Marcin Siodelski" <marcin at isc.org>
To: "Garett" <garett at kea.nebo.zy.ca>
Cc: kea-users at lists.isc.org
Sent: Tuesday, April 28, 2015 6:47:36 PM
Subject: Re: [Kea-users] KEA IPv6 Configuration Help?


On 28.04.2015 16:58, Garett wrote:
> That definitely makes sense; I had assumed that if I didn't limit it
> to an interface, it would be valid for all (and since I only had one,
> that that one would be the one).
>
> As it is, defining the interface doesn't appear to fixed the problem. 
> I am still seeing dhcp6 solicits and no response from kea.
>

Can you replace the  "pool": "2004:db8:1::/64" with something like
"pool": "2004:db8:1::10-2004:db8:1::100" ?

Marcin



More information about the Kea-users mailing list