[Kea-users] Problem with PD and several subnets

Torbjörn Eklöv torbjorn.eklov at interlan.se
Thu Aug 24 17:30:14 UTC 2017


Sorry, there where some mistake from me but

Tarball for 1.20 gives

keactrl start
INFO/keactrl: Starting kea-dhcp6 -c /usr/local/etc/kea/kea.conf

1.20-git

keactrl start
ERROR/keactrl: ctrl_agent_srv parameter not specified

With -c
keactrl start -c /usr/local/etc/kea/kea.conf
/usr/local/sbin/keactrl: 39: /usr/local/etc/kea/kea.conf: Syntax error: newline unexpected

The config file works with the tarball.

/Tobbe


> 24 aug. 2017 kl. 19:10 skrev Torbjörn Eklöv <torbjorn.eklov at interlan.se>:
> 
> ok,
> 
> Ubuntu 16.04 och did a git pull right now
> 
> and then
> 
> ./configure --enable-logger-check --with-openssl --with-dhcp-mysql  --enable-debug && make && make install
> 
> 
> keactrl start
> 
> says
> 
> ERROR/keactrl: ctrl_agent_srv parameter not specified
> 
> 
> keactrl
> 
> only says
> 
> usage is keactrl command [-c keactrl-config-file] [-s server[,server,..]]
> commands: start stop reload status
> 
> And if I try with more parameters it says
> 
> keactrl -c /usr/local/etc/kea/kea.conf -s dhcp6
> ERROR/keactrl: invalid command: -c
> 
> /Tobbe
> 
> 
>> 24 aug. 2017 kl. 15:17 skrev Marcin Siodelski <marcin at isc.org <mailto:marcin at isc.org>>:
>> 
>> Hello Torbjörn,
>> 
>> You said that git's keactrl doesn't work for you. Can you be more
>> specific? Perhaps, we need a bug report?
>> 
>> Marcin Siodelski
>> ISC
>> 
>> On 17.08.2017 14:21, Torbjörn Eklöv wrote:
>>> Hello, I’m trying to get KEA work with static PD depending om remote ID
>>> and I can only get one subnet6 to work.
>>> It only takes the last subnet6, in this case 2001:db8:30::/48. If I
>>> remove the 2001:db8:30::/48 the 2001:db8:20::/48 works.
>>> I’m using the kea 1.20 tar ball since the latest kea 1.20-git’s keactrl
>>> don't work. What am I doing wrong?
>>> 
>>> kea.conf
>>> 
>>> "Dhcp6": {
>>>         "mac-sources": [ "remote-id" ],
>>> .
>>> .
>>> .
>>> <?include "/usr/local/etc/kea/4500.conf"?>,
>>> 
>>> 4500.conf:
>>> 
>>> "subnet6": [ {
>>>                 "subnet": "2001:db8:20::/48",
>>>                 "pd-pools": [ { "prefix": "2001:db8:20::", "prefix-len":
>>> 48,"delegated-len": 56 } ],
>>>                 "reservations":  [
>>>                 { "hw-address":
>>> "02:00:21:00:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:80", "prefixes": [
>>> "2001:db8:20:0100:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:22:00:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:80", "prefixes": [
>>> "2001:db8:20:0200:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:23:00:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:80", "prefixes": [
>>> "2001:db8:20:0300:00::/56" ] },
>>> .
>>> .
>>> .
>>> .
>>> { "hw-address": "02:00:53:01:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:80",
>>> "prefixes": [ "2001:db8:20:FB00:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:54:01:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:80", "prefixes": [
>>> "2001:db8:20:FC00:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:55:01:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:80", "prefixes": [
>>> "2001:db8:20:FD00:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:56:01:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:80", "prefixes": [
>>> "2001:db8:20:FE00:00::/56" ] },
>>>                 { "he-address":
>>> "02:00:57:01:0D:AF:00:0A:00:03:00:01:00:1F:6C:D1:DB:80", "prefixes": [
>>> "2001:db8:20:FF00:00::/56" ] }
>>>                         ],
>>> 
>>> "subnet": "2001:db8:30::/48",
>>>                 "pd-pools": [ { "prefix": "2001:db8:30::", "prefix-len":
>>> 48,"delegated-len": 56 } ],
>>>                 "reservations":  [
>>>                 { "hw-address":
>>> "02:00:21:00:0D:AF:00:0A:00:03:00:01:58:AC:78:CF:95:40", "prefixes": [
>>> "2001:db8:30:0100:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:22:00:0D:AF:00:0A:00:03:00:01:58:AC:78:CF:95:40", "prefixes": [
>>> "2001:db8:30:0200:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:23:00:0D:AF:00:0A:00:03:00:01:58:AC:78:CF:95:40", "prefixes": [
>>> "2001:db8:30:0300:00::/56" ] },
>>> .
>>> .
>>> .
>>>                 { "hw-address":
>>> "02:00:54:01:0D:AF:00:0A:00:03:00:01:58:AC:78:CF:95:40", "prefixes": [
>>> "2001:db8:30:FC00:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:55:01:0D:AF:00:0A:00:03:00:01:58:AC:78:CF:95:40", "prefixes": [
>>> "2001:db8:30:FD00:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:56:01:0D:AF:00:0A:00:03:00:01:58:AC:78:CF:95:40", "prefixes": [
>>> "2001:db8:30:FE00:00::/56" ] },
>>>                 { "hw-address":
>>> "02:00:57:01:0D:AF:00:0A:00:03:00:01:58:AC:78:CF:95:40", "prefixes": [
>>> "2001:db8:30:FF00:00::/56" ] }
>>>                 ]
>>> 
>>> 
>>> } ]
>>> *
>>> 
>>> *
>>> 
>>> *Torbjörn Eklöv | Interlan Gefle AB*
>>> Norra Kungsgatan 5, 803 20 Gävle
>>> Växel: 026-18 50 00 | Direkt: 070-683 51 75
>>> http://www.dnssecandipv6.se <http://www.dnssecandipv6.se/> <http://www.dnssecandipv6.se/ <http://www.dnssecandipv6.se/>>
>>> 
>>> "Ever since I can remember I always wanted to use IPv6.
>>> To me that was better than being president of the United States.
>>> To use IPv6 was to own the world."
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Kea-users mailing list
>>> Kea-users at lists.isc.org <mailto:Kea-users at lists.isc.org>
>>> https://lists.isc.org/mailman/listinfo/kea-users <https://lists.isc.org/mailman/listinfo/kea-users>
> 
> 
> 
> Torbjörn Eklöv | Interlan Gefle AB
> Norra Kungsgatan 5, 803 20 Gävle
> Växel: 026-18 50 00 | Direkt: 070-683 51 75
> http://www.dnssecandipv6.se <http://www.dnssecandipv6.se/>
> 
> "Ever since I can remember I always wanted to use IPv6.
> To me that was better than being president of the United States.
> To use IPv6 was to own the world."
> 
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users




Torbjörn Eklöv | Interlan Gefle AB
Norra Kungsgatan 5, 803 20 Gävle
Växel: 026-18 50 00 | Direkt: 070-683 51 75
http://www.dnssecandipv6.se <http://www.dnssecandipv6.se/>

"Ever since I can remember I always wanted to use IPv6.
To me that was better than being president of the United States.
To use IPv6 was to own the world."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170824/d4e2c26d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170824/d4e2c26d/attachment.bin>


More information about the Kea-users mailing list