[Kea-users] KEA DHCPv6 server ignores relayed solicitations

Oskar Wåglund oskar.waglund at afry.com
Mon Oct 30 08:13:01 UTC 2023


Hello again everyone,

I have a new lead which I think explains the issue. "Un-relayed" DHCPv6 traffic arrives at IPv6 address  ff02::1:2 (all DHCP agents) while relayed IPv6 traffic arrives at IPv6 address ff05::1:3 (all DHCP server (site)). I used netstat -g to confirm that the older ISC DHCP server v4.3.5 (dhcpd) starts listening to both IPv6 addresses, but KEA 2.0.3 only listens to ff02::1:2. Does someone know why this is the case?

/Oskar

-----Original Message-----
From: Oskar Wåglund
Sent: Monday, October 30, 2023 7:50 AM
To: kea-users at lists.isc.org
Subject: KEA DHCPv6 server ignores relayed solicitations

Hi Darren,

Thanks for your reply. I am running the server with the "-d" flag, so I should see all available logs live, I think.

/Oskar

-----Original Message-----
From: Kea-users <kea-users-bounces at lists.isc.org> On Behalf Of kea-users-request at lists.isc.org
Sent: Sunday, October 29, 2023 1:00 PM
To: kea-users at lists.isc.org
Subject: Kea-users Digest, Vol 112, Issue 36

[Du f?r inte e-post ofta fr?n kea-users-request at lists.isc.org. L?s om varf?r det h?r ?r viktigt p? https://aka.ms/LearnAboutSenderIdentification ]

Send Kea-users mailing list submissions to
        kea-users at lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/kea-users
or, via email, send a message with subject or body 'help' to
        kea-users-request at lists.isc.org

You can reach the person managing the list at
        kea-users-owner at lists.isc.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Kea-users digest..."


Today's Topics:

   1. Re: KEA DHCPv6 server ignores relayed solicitations
      (Darren Ankney)


----------------------------------------------------------------------

Message: 1
Date: Sat, 28 Oct 2023 13:40:04 -0400
From: Darren Ankney <darren.ankney at gmail.com>
To: "Kea-users at lists.isc.org" <kea-users at lists.isc.org>
Subject: Re: [Kea-users] KEA DHCPv6 server ignores relayed
        solicitations
Message-ID:
        <CAKabWHj7+PdYRKC=77Acan8qCDgcRQOiwu8jYb1jJjFBBua8hA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I don?t see any logging configured. Have a look at the logging section in documentation. There are also a couple articles about logging on kb.isc.org.
You might get some logging without logging configured but you probably want debug level logging setup to troubleshoot this problem.

On Fri, Oct 27, 2023 at 10:37 Oskar W?glund via Kea-users < kea-users at lists.isc.org> wrote:

> Hi all,
>
>
>
> I have a (hopefully) simple question. I have a KEA DHCPv6 server
> v2.0.3 running on a Ubuntu 20.04 machine. I am trying to get it to
> respond to solicitations coming via an ISC DHCPv6 relay, but I see no
> activity from my
> DHCPv6 server when the relayed solicitations arrive. Is there any
> specific configuration in KEA needed for this to work, or can I
> troubleshoot it somehow? I can see the solicitations coming in on the
> correct network device using tcpdump. Solicitations that are not
> relayed are handled correctly by the DHCPv6 server.
>
>
>
> I have a very basic configuration where this issue is happening that I
> am
> attaching:
>
>
>
> *{*
>
> *  "Dhcp6": {*
>
> *    "server-id": {*
>
> *      "type": "LL",*
>
> *      "persist": false*
>
> *    },*
>
> *    "interfaces-config": {*
>
> *      "interfaces": ["enp1s0.10"]*
>
> *    },*
>
> *    "control-socket": {*
>
> *      "socket-type": "unix",*
>
> *      "socket-name": "/tmp/kea-dhcp6-ctrl.sock"*
>
> *    },*
>
> *    "lease-database": {*
>
> *      "type": "memfile",*
>
> *      "lfc-interval": 1800,*
>
> *      "persist": true,*
>
> *      "name": "/var/run/kea/dhcp6.leases"*
>
> *    },*
>
> *    "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": 375,*
>
> *    "rebind-timer": 600,*
>
> *    "preferred-lifetime": 3000,*
>
> *    "valid-lifetime": 4000,*
>
> *    "subnet6": [*
>
> *      {*
>
> *        "subnet": "fd80:501:ffff:100::/64",*
>
> *        "pools": [*
>
> *          {*
>
> *            "pool": "fd80:501:ffff:100::10:1-fd80:501:ffff:100::10:FF"*
>
> *          }*
>
> *        ],*
>
> *        "interface": "enp1s0.10"*
>
> *      }*
>
> *    ]*
>
> *  }*
>
> *} *
>
>
>
> Thank you,
>
> Oskar
>
> "This e-mail may contain confidential and corporate proprietary
> information. If received in error, kindly notify us immediately and
> delete the communication from your system. Our contacts with you may
> further involve processing of personal data. Please read more about
> how and why AFRY processes personal data on our website http://www.afry.com/."
> '.
> --
> 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
> Kea-users at lists.isc.org
> https://list/
> s.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C01%7Coskar.waglun
> d%40afry.com%7C6da2148234584322269a08dbd8769777%7C58af3eba510e45448cfd
> 85f5e0206382%7C0%7C0%7C638341776087468688%7CUnknown%7CTWFpbGZsb3d8eyJW
> IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%
> 7C%7C%7C&sdata=Fvgg0EKtc4Qtrcf6vGYMh3vhKAgzgD6Qsc6B5jVrLpc%3D&reserved
> =0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20231028/2501688c/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________

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

Kea-users mailing list
Kea-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users


------------------------------

End of Kea-users Digest, Vol 112, Issue 36
******************************************
"This e-mail may contain confidential and corporate proprietary information. If received in error, kindly notify us immediately and delete the communication from your system. Our contacts with you may further involve processing of personal data. Please read more about how and why AFRY processes personal data on our website http://www.afry.com/."

'.


More information about the Kea-users mailing list