[Kea-users] Problem with PD and several subnets

Marcin Siodelski marcin at isc.org
Thu Aug 24 13:17:09 UTC 2017


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/>
> 
> "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
> 




More information about the Kea-users mailing list