<div dir="ltr">Hello, Joelson!<div><br></div><div>Thank you for your answer!</div><div>Probably I'm using the wrong version of Kea? My version is:</div><div><br></div><div><div># kea-dhcp6 -V</div><div>1.3.0</div><div>tarball</div><div>linked with:</div><div>log4cplus 1.2.1</div><div>OpenSSL 1.0.2j-fips  26 Sep 2016</div><div>database:</div><div>MySQL backend 5.1, library 10.0.34-MariaDB</div><div>PostgreSQL backend 3.1, library 90608</div><div>Memfile backend 2.0</div></div><div><br></div><div>I built it from source archive.</div><div><br></div><div>I added section unicast to my configuration file but I've seen in my netstat only listening to the address from my network interface, nothing else.<br></div><div>Do need I to turn on some sysctl options?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-22 17:41 GMT+01:00 Joelson Vendramin <span dir="ltr"><<a href="mailto:jtvendramin@yahoo.com.br" target="_blank">jtvendramin@yahoo.com.br</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:courier new,courier,monaco,monospace,sans-serif;font-size:16px"><div><div>Anton,<br><div><br>Accordingly to Kea Guide (see <a href="http://kea.isc.org/docs/kea-guide.html#dhcp6-unicast" rel="nofollow" target="_blank">http://kea.isc.org/docs/kea-<wbr>guide.html#dhcp6-unicast</a>)</div></div><div><div>this config is to enable Kea to handle unicast traffic sent to the IPv6 global address. I use this because in my scenario Kea is working with relays.<br><div><br><div>But it should listen as well to the link-local address (FE80:...) and also <span>the multicast group (ff02::1:2).</span><div><br><div>My "netstat -ln6" shows something like this and everything works as expected:<br><div>(...)<br><span># netstat -ln6<br>Active Internet connections (only servers)<br>Proto Recv-Q Send-Q Local Address           Foreign Address         State<br>(...)<br>udp6       0      0 ff02::1:2:547           :::*<br>udp6       0      0 fe80::e05d:d5ff:fee:547 :::*<br>udp6       0      0 2001:db8:ffff::93::547  :::*<br><br></span>Regards,<br></div></div></div></div></div></div><div>--</div></div><div class="m_-4979566579721084951ydp5fb27520signature"><div style="font-size:16px"><div>Joelson Vendramin</div></div></div></div>
            <div><br></div><div><br></div>
            
            <div id="m_-4979566579721084951ydpdcbd39e1yahoo_quoted_7469488200" class="m_-4979566579721084951ydpdcbd39e1yahoo_quoted">
                <div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a"><div><div class="h5">
                    
                    <div>
                        Em terça-feira, 22 de maio de 2018 11:29:33 BRT, Anton Kiryushkin <<a href="mailto:swood@fotofor.biz" target="_blank">swood@fotofor.biz</a>> escreveu:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    </div></div><div><div id="m_-4979566579721084951ydpdcbd39e1yiv2805837627"><div><div><div class="h5"><div dir="ltr">Hello.<div><br clear="none"></div><div>There are some strange moments.</div><div>When I tried to run a server like this, Kea listens 2001:db8:1::1 (my address on the eth0), but when I ran ISC-dhcpdv6 it listens UDP :::547.<br clear="none"></div><div>So, when Kea has run I don't see any packets to address <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline">2001:db8:1::1. </span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline">Could you explain why Kea working differently?</span></div></div></div></div><div class="m_-4979566579721084951ydpdcbd39e1yiv2805837627gmail_extra"><br clear="none"><div class="m_-4979566579721084951ydpdcbd39e1yiv2805837627gmail_quote"><div><div class="h5">2018-05-17 18:01 GMT+01:00 Joelson Vendramin <span dir="ltr"><<a shape="rect" href="mailto:jtvendramin@yahoo.com.br" rel="nofollow" target="_blank">jtvendramin@yahoo.com.br</a>></span>:<br clear="none"></div></div><blockquote class="m_-4979566579721084951ydpdcbd39e1yiv2805837627gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-4979566579721084951ydpdcbd39e1yiv2805837627yqt2948162326" id="m_-4979566579721084951ydpdcbd39e1yiv2805837627yqt55484"><div><div style="font-family:courier new,courier,monaco,monospace,sans-serif;font-size:16px"><div><div class="h5"><div><div>Hello Anton,<br clear="none"><div><div><br clear="none"><div><div>Try to put the IPv6 address of your interface after eth0.<br clear="none">This way:<br clear="none"></div><div><br clear="none">...<br clear="none"></div></div></div><span>  "interfaces-config": {<br clear="none">    "interfaces": [ "eth0/2001:db8:<...address...> " ]<br clear="none"></span><div><span>  },<br clear="none">...<br clear="none"></span></div><div><span></span><br clear="none"></div><span><br clear="none"></span>Regards,<br clear="none"></div></div><div class="m_-4979566579721084951ydpdcbd39e1yiv2805837627m_9222542864398324033ydpb423a7d9signature"><div style="font-size:16px"><div>--</div><div>Joelson Vendramin</div></div></div></div>
            <div><br clear="none"></div><div><br clear="none"></div>
            
            </div></div><div class="m_-4979566579721084951ydpdcbd39e1yiv2805837627m_9222542864398324033ydp7a05a0cayahoo_quoted" id="m_-4979566579721084951ydpdcbd39e1yiv2805837627m_9222542864398324033ydp7a05a0cayahoo_quoted_7540982536">
                <div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a"><div><div class="h5"><div><div class="m_-4979566579721084951ydpdcbd39e1yiv2805837627h5">
                    
                    <div>
                        Em quinta-feira, 17 de maio de 2018 13:32:12 BRT, Anton Kiryushkin <<a shape="rect" href="mailto:swood@fotofor.biz" rel="nofollow" target="_blank">swood@fotofor.biz</a>> escreveu:
                    </div>
                    <div><br clear="none"></div>
                    <div><br clear="none"></div>
                    </div></div></div></div><div><div><div class="m_-4979566579721084951ydpdcbd39e1yiv2805837627h5"><div id="m_-4979566579721084951ydpdcbd39e1yiv2805837627m_9222542864398324033ydp7a05a0cayiv7796469143"><div dir="ltr"><div><div class="h5">Hello.<div><br clear="none"></div><div>I have a simple configuration file:</div><div><br clear="none"></div></div></div><div><div><div class="h5"><div>{</div><div>"Dhcp6": {</div><div>    "interfaces-config": {</div><div>        "interfaces": [ "eth0" ]</div><div>    },</div><div>    "control-socket": {</div><div>        "socket-type": "unix",</div><div>        "socket-name": "/tmp/kea-dhcp6-ctrl.sock"</div><div>    },</div><div>    "lease-database": {</div><div>        "type": "memfile",</div><div>        "lfc-interval": 3600</div><div>    },</div><div>    "expired-leases-processing": {</div><div>        "reclaim-timer-wait-time": 10,</div></div></div><div>        "flush-reclaimed-timer-wait- time": 25,</div><div><div class="h5"><div>        "hold-reclaimed-time": 3600,</div><div>        "max-reclaim-leases": 100,</div><div>        "max-reclaim-time": 250,</div><div>        "unwarned-reclaim-cycles": 5</div><div>    },</div><div>    "renew-timer": 1000,</div><div>    "rebind-timer": 2000,</div><div>    "preferred-lifetime": 3000,</div><div>    "valid-lifetime": 4000,</div><div>    "option-data": [</div><div>        {</div><div>            "name": "dns-servers",</div><div>            "data": "2001:db8:1::3"</div><div>        }</div><div>    ],</div><div>    "subnet6": [</div><div>        {</div><div>            "subnet": "2001:db8:1::/64",</div><div>            "pools": [ { "pool": "<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline">2001:db8:1::/64</span>" } ]</div><div>        }</div><div>    ]</div><div>},</div><div>"Logging":</div><div>{</div><div>  "loggers": [</div><div>    {</div><div>        "name": "kea-dhcp6",</div><div>        "output_options": [</div><div>            {</div><div>                "output": "/var/log/kea/dhcp6.log"</div><div>            }</div><div>        ],</div><div>        "severity": "DEBUG",</div><div>        "debuglevel": 20</div><div>    }</div><div>  ]</div><div>}</div><div>}</div><div><br clear="none"></div><div>But.</div><div>When I tried to start it I saw the text below:</div><div><br clear="none"></div></div></div><div><div><div class="h5"><div>2018-05-17 16:22:39.970 INFO  [kea-dhcp6.dhcp6/32344] DHCP6_STARTING Kea DHCPv6 server version 1.3.0 starting</div><div>2018-05-17 16:22:39.971 INFO  [kea-dhcp6.dhcpsrv/32344] DHCPSRV_CFGMGR_ADD_IFACE listening on interface eth0</div><div>2018-05-17 16:22:39.972 INFO  [kea-dhcp6.dhcpsrv/32344] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline">2001:db8:1::</span>/64 with params t1=1000, t2=2000, preferred-lifetime=3000, valid-lifetime=4000, rapid-commit is disabled</div><div>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</div><div>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</div></div></div><div>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</div><span class=""><div>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</div><div>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</div><div>2018-05-17 16:22:39.973 WARN  [kea-dhcp6.dhcpsrv/32344] DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic</div></span></div><span class=""><div><br clear="none"></div><div><br clear="none"></div><div>Why it wrote about <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline">DHCPSRV_NO_SOCKETS_OPEN except for DHCP6?</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline">Why didn't open any socket for DHCP6?</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline">Of course, I have an address from the subnet <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline">2001:db8:1 on eth0.</span></span></div><div><br clear="none"></div>-- <br clear="none"><div class="m_-4979566579721084951ydpdcbd39e1yiv2805837627m_9222542864398324033ydp7a05a0cayiv7796469143gmail_signature"><div dir="ltr"><div><div>Best regards,</div>Anton Kiryushkin<br clear="none"><br clear="none"></div></div></div>
</span></div></div></div></div></div><span class="">______________________________ _________________<br clear="none">Kea-users mailing list<br clear="none"><a shape="rect" href="mailto:Kea-users@lists.isc.org" rel="nofollow" target="_blank">Kea-users@lists.isc.org</a><br clear="none"><a shape="rect" href="https://lists.isc.org/mailman/listinfo/kea-users" rel="nofollow" target="_blank">https://lists.isc.org/mailman/ listinfo/kea-users</a><br clear="none"></span></div>
                </div>
            </div></div></div></div><span class=""><br clear="none">______________________________ _________________<br clear="none">
Kea-users mailing list<br clear="none">
<a shape="rect" href="mailto:Kea-users@lists.isc.org" rel="nofollow" target="_blank">Kea-users@lists.isc.org</a><br clear="none">
<a shape="rect" href="https://lists.isc.org/mailman/listinfo/kea-users" rel="nofollow" target="_blank">https://lists.isc.org/mailman/ listinfo/kea-users</a><br clear="none">
<br clear="none"></span></blockquote></div><span class=""><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="m_-4979566579721084951ydpdcbd39e1yiv2805837627gmail_signature"><div dir="ltr"><div><div>Best regards,</div>Anton Kiryushkin<br clear="none"><br clear="none"></div></div></div>
</span></div></div></div></div>
                </div>
            </div></div></div><br>______________________________<wbr>_________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/kea-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Best regards,</div>Anton Kiryushkin<br><br></div></div></div>
</div>