[Kea-users] DHCPv6, anybody got it working?

Ricardo J. Barberis ricardo at palmtx.com.ar
Mon Jun 19 15:51:23 UTC 2017


Hi all,

I've been trying to make kea-dhcp6 work with no luck so far.

I'm on CentOS 7.3 (client and server), I tried 1.1.0 from EPEL and 1.2.0 
self-compiled. Client has dhclient-4.2.5-47.el7.

I started configuring a lot of things (host reservations, hosts and leases in 
mysql, etc) in a non-default way, so I figured I did something wrong, but 
last Friday I tried a very basic, mostly default config and stil I can't get 
an IPv6.

Clients always get 'IA_NA status code NoAddrsAvail: "Server could not select 
subnet for this client"'.


Has anybody made kea-dhcp6 work? Can you share a working config to see what 
I'm doing wrong?


Here's my last kea.conf as a reference (dhcp4 always worked fine for me, BTW):

{
"Dhcp4": {
  "interfaces-config": {
    "interfaces": [ "eth0" ]
  },
  "lease-database": {
    "type": "memfile"
  },
  "expired-leases-processing": {
    "reclaim-timer-wait-time": 10,
    "flush-reclaimed-timer-wait-time": 25,
    "hold-reclaimed-time": 3600,
    "max-reclaim-leases": 100,
    "max-reclaim-time": 250,
    "unwarned-reclaim-cycles": 5
  },
  "valid-lifetime": 4000,
  "subnet4": [
    {
      "subnet": "NN.NN.NN.0/24",
      "pools": [ { "pool": "NN.NN.NN.2-NN.NN.NN.10" } ],
      "id": 2,
    }
  ]
},

"Dhcp6": {
  "interfaces-config": {
    "interfaces": [ "eth0" ]
  },
  "lease-database": {
    "type": "memfile"
  },
  "expired-leases-processing": {
    "reclaim-timer-wait-time": 10,
    "flush-reclaimed-timer-wait-time": 25,
    "hold-reclaimed-time": 3600,
    "max-reclaim-leases": 100,
    "max-reclaim-time": 250,
    "unwarned-reclaim-cycles": 5
  },
  "preferred-lifetime": 3000,
  "valid-lifetime": 4000,
  "renew-timer": 1000,
  "rebind-timer": 2000,
  "subnet6": [
    {
      "subnet": "2800:NNNN::/64",
      "pools": [ { "pool": "2800:NNNN::/64" } ],
      "id": 1
    }
  ]
},

"DhcpDdns":
{
  "ip-address": "127.0.0.1",
  "port": 53001,
  "tsig-keys": [],
  "forward-ddns" : {},
  "reverse-ddns" : {}
},

"Logging":
{
  "loggers": [
    {
      "name": "kea-dhcp4",
      "output_options": [
          {
            "output": "/var/log/kea-dhcp4.log"
          }
      ],
      "severity": "INFO",
      "debuglevel": 0
    },
    {
      "name": "kea-dhcp6",
      "output_options": [
          {
            "output": "/var/log/kea-dhcp6.log"
          }
      ],
      "severity": "DEBUG",
      "debuglevel": 99
    },
    {
      "name": "kea-dhcp-ddns",
      "output_options": [
          {
            "output": "/var/log/kea-ddns.log"
          }
      ],
      "severity": "INFO",
      "debuglevel": 0
    }
  ]
}
}

-- 
Ricardo J. Barberis
Usuario Linux Nº 250625: http://counter.li.org/
Usuario LFS Nº 5121: http://www.linuxfromscratch.org/
Senior SysAdmin / IT Architect - www.DonWeb.com



More information about the Kea-users mailing list