On 3/3/21 7:41 AM, João Butzke wrote:
> First of all, the server(ubuntu 20.04) need to have an ipv6 address on the 
> interface?

Not necessarily. If you do not specify a unicast address in the configuration 
then kea-dhcp6 will listen on the multicast address for the VLAN that the 
interface resides on. The DHCPv6 multicast address is: ff02::1:2.

> if yes, the address needs to be in the pool?

Again, not necessarily. If you specify a unicast address that is not in the 
same subnet as your pool then you have to relay the DHCP requests to the server 
using DHCP relay.

>
> Here is the server log when started:
>
> naxi@dhcpv6:~/kea6$ 2021-03-02 20:42:09.551 INFO 
> [kea-dhcp6.hosts/6206.139941705381376] HOSTS_BACKENDS_REGISTERED the 
> following host backend types are available: mysql
> 2021-03-02 20:42:09.554 INFO [kea-dhcp6.dhcpsrv/6206.139941705381376] 
> DHCPSRV_CFGMGR_ADD_IFACE listening on interface ens19
> 2021-03-02 20:42:09.555 INFO [kea-dhcp6.dhcpsrv/6206.139941705381376] 
> DHCPSRV_CFGMGR_NEW_SUBNET6 a new subnet has been added to configuration: 
> 2804:15e4:8000::/36 with params: t1=1000, t2=2000, preferred-lifetime=3000, 
> valid-lifetime=4000, rapid-commit is false
> 2021-03-02 20:42:09.556 INFO [kea-dhcp6.commands/6206.139941705381376] 
> COMMAND_ACCEPTOR_START Starting to accept connections via unix domain socket 
> bound to /tmp/kea6-ctrl-socket
> 2021-03-02 20:42:09.557 INFO [kea-dhcp6.dhcp6/6206.139941705381376] 
> DHCP6_CONFIG_COMPLETE DHCPv6 server has completed configuration: added IPv6 
> subnets: 1; DDNS: disabled
> 2021-03-02 20:42:09.557 INFO [kea-dhcp6.dhcpsrv/6206.139941705381376] 
> DHCPSRV_MYSQL_DB opening MySQL lease database: host=localhost name=kea 
> password=***** port=3306 type=mysql universe=6 user=kea
> 2021-03-02 20:42:09.598 INFO [kea-dhcp6.hosts/6206.139941705381376] 
> DHCPSRV_MYSQL_HOST_DB opening MySQL hosts database: host=localhost name=kea 
> password=***** port=3306 type=mysql universe=6 user=kea
> 2021-03-02 20:42:09.651 INFO [kea-dhcp6.dhcp6/6206.139941705381376] 
> DHCP6_USING_SERVERID server is using server-id 
> 00:01:00:01:27:cf:ff:37:16:41:55:fb:6b:16 and stores in the file 
> /usr/local/var/lib/kea/kea-dhcp6-serverid
> 2021-03-02 20:42:09.655 WARN [kea-dhcp6.dhcp6/6206.139941705381376] 
> DHCP6_MULTI_THREADING_INFO enabled: no, number of threads: 0, queue size: 0
> 2021-03-02 20:42:09.655 INFO [kea-dhcp6.dhcp6/6206.139941705381376] 
> DHCP6_STARTED Kea DHCPv6 server version 1.8.2 started
>
> There is no errors, but when i run a tcdump, there is no answered dhcp 
> requests..

I noticed you are configuring a /36. Do you have prefix delegation configured? 
You should provide your configuration. Also your log only shows up to kea 
starting. Are you getting any log entries when a client performs a SOLICIT? If 
not then your SOLICIT is not even getting to the server in the first place (or 
is being blocked by a firewall).

-- 
Thanks,
Joshua Schaeffer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to