[Kea-users] Problem with PD and several subnets

Torbjörn Eklöv torbjorn.eklov at interlan.se
Thu Aug 17 12:21:53 UTC 2017


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170817/89ca73f5/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/20170817/89ca73f5/attachment.bin>


More information about the Kea-users mailing list