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

Joelson Vendramin jtvendramin at yahoo.com.br
Mon Jun 19 16:15:32 UTC 2017


Ricardo,
Your DHCPv6 clients are in the same network as your DHCPv6 server?I mean: the eth0 interface is within  2800:NNNN::/64 network or you're doing some kind of relay?
If eth0 is one of 2800:NNNN::/64, remember that its IPv6 address must be excluded from the pool.
Regards,
--Joelson Vendramin

      De: Ricardo J. Barberis <ricardo at palmtx.com.ar>
 Para: kea-users at lists.isc.org 
 Enviadas: Segunda-feira, 19 de Junho de 2017 12:51
 Assunto: [Kea-users] DHCPv6, anybody got it working?
   
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
_______________________________________________
Kea-users mailing list
Kea-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170619/4f501fbc/attachment.htm>


More information about the Kea-users mailing list