[Kea-users] Problem with kea-dhcp6

Joelson Vendramin jtvendramin at yahoo.com.br
Thu May 17 17:01:22 UTC 2018


Hello Anton,

Try to put the IPv6 address of your interface after eth0.
This way:

...
  "interfaces-config": {
    "interfaces": [ "eth0/2001:db8:<...address...>" ]
  },
...


Regards,
--Joelson Vendramin 

    Em quinta-feira, 17 de maio de 2018 13:32:12 BRT, Anton Kiryushkin <swood at fotofor.biz> escreveu:  
 
 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 starting2018-05-17 16:22:39.971 INFO  [kea-dhcp6.dhcpsrv/32344] DHCPSRV_CFGMGR_ADD_IFACE listening on interface eth02018-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 disabled2018-05-17 16:22:39.972 INFO  [kea-dhcp6.dhcp6/32344] DHCP6_CONFIG_COMPLETE DHCPv6 server has completed configuration: added IPv6 subnets: 1; DDNS: disabled2018-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=62018-05-17 16:22:39.973 INFO  [kea-dhcp6.dhcpsrv/32344] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /var/kea/kea-leases6.csv2018-05-17 16:22:39.973 INFO  [kea-dhcp6.dhcpsrv/32344] DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to 3600 sec2018-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-serverid2018-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

_______________________________________________
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/20180517/f1bd4ae2/attachment.htm>


More information about the Kea-users mailing list