<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
On 3/3/21 7:41 AM, João Butzke wrote:<br>
<blockquote type="cite"
cite="mid:80ca0357-cf0c-dcb7-4fc0-7ce839a04599@naxi.com.br">First
of all, the server(ubuntu 20.04) need to have an ipv6 address on
the interface?</blockquote>
<br>
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.<br>
<br>
<blockquote type="cite"
cite="mid:80ca0357-cf0c-dcb7-4fc0-7ce839a04599@naxi.com.br">if
yes, the address needs to be in the pool?
<br>
</blockquote>
<br>
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.<br>
<br>
<blockquote type="cite"
cite="mid:80ca0357-cf0c-dcb7-4fc0-7ce839a04599@naxi.com.br">
<br>
Here is the server log when started:
<br>
<br>
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
<br>
2021-03-02 20:42:09.554 INFO
[kea-dhcp6.dhcpsrv/6206.139941705381376] DHCPSRV_CFGMGR_ADD_IFACE
listening on interface ens19
<br>
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
<br>
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
<br>
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
<br>
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
<br>
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
<br>
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
<br>
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
<br>
2021-03-02 20:42:09.655 INFO
[kea-dhcp6.dhcp6/6206.139941705381376] DHCP6_STARTED Kea DHCPv6
server version 1.8.2 started
<br>
<br>
There is no errors, but when i run a tcdump, there is no answered
dhcp requests..
<br>
</blockquote>
<br>
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).<br>
<br>
<pre class="moz-signature" cols="0">--
Thanks,
Joshua Schaeffer</pre>
</body>
</html>