[Kea-users] Problem with kea-dhcp6

Anton Kiryushkin swood at fotofor.biz
Thu May 17 16:31:58 UTC 2018


Hello.

I have a simple configuration file:

{
"Dhcp6": {
    "interfaces-config": {
        "interfaces": [ "eth0" ]
    },
    "control-socket": {
        "socket-type": "unix",
        "socket-name": "/tmp/kea-dhcp6-ctrl.sock"
    },
    "lease-database": {
        "type": "memfile",
        "lfc-interval": 3600
    },
    "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
    },
    "renew-timer": 1000,
    "rebind-timer": 2000,
    "preferred-lifetime": 3000,
    "valid-lifetime": 4000,
    "option-data": [
        {
            "name": "dns-servers",
            "data": "2001:db8:1::3"
        }
    ],
    "subnet6": [
        {
            "subnet": "2001:db8:1::/64",
            "pools": [ { "pool": "2001:db8:1::/64" } ]
        }
    ]
},
"Logging":
{
  "loggers": [
    {
        "name": "kea-dhcp6",
        "output_options": [
            {
                "output": "/var/log/kea/dhcp6.log"
            }
        ],
        "severity": "DEBUG",
        "debuglevel": 20
    }
  ]
}
}

But.
When I tried to start it I saw the text below:

2018-05-17 16:22:39.970 INFO  [kea-dhcp6.dhcp6/32344] DHCP6_STARTING Kea
DHCPv6 server version 1.3.0 starting
2018-05-17 16:22:39.971 INFO  [kea-dhcp6.dhcpsrv/32344]
DHCPSRV_CFGMGR_ADD_IFACE listening on interface eth0
2018-05-17 16:22:39.972 INFO  [kea-dhcp6.dhcpsrv/32344]
DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration:
2001:db8:1::/64 with params t1=1000, t2=2000, preferred-lifetime=3000,
valid-lifetime=4000, rapid-commit is disabled
2018-05-17 16:22:39.972 INFO  [kea-dhcp6.dhcp6/32344] DHCP6_CONFIG_COMPLETE
DHCPv6 server has completed configuration: added IPv6 subnets: 1; DDNS:
disabled
2018-05-17 16:22:39.973 INFO  [kea-dhcp6.dhcpsrv/32344] DHCPSRV_MEMFILE_DB
opening memory file lease database: lfc-interval=3600 type=memfile
universe=6
2018-05-17 16:22:39.973 INFO  [kea-dhcp6.dhcpsrv/32344]
DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file
/var/kea/kea-leases6.csv
2018-05-17 16:22:39.973 INFO  [kea-dhcp6.dhcpsrv/32344]
DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to
3600 sec
2018-05-17 16:22:39.973 INFO  [kea-dhcp6.dhcp6/32344] DHCP6_USING_SERVERID
server is using server-id 00:01:00:01:22:90:5e:e1:00:50:56:af:e9:80 and
stores in the file /var/kea/kea-dhcp6-serverid
2018-05-17 16:22:39.973 WARN  [kea-dhcp6.dhcpsrv/32344]
DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic


Why it wrote about DHCPSRV_NO_SOCKETS_OPEN except for DHCP6?
Why didn't open any socket for DHCP6?
Of course, I have an address from the subnet 2001:db8:1 on eth0.

-- 
Best regards,
Anton Kiryushkin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20180517/3dcd40aa/attachment.htm>


More information about the Kea-users mailing list