[Kea-users] KEA DHCPv6 server ignores relayed solicitations

Darren Ankney darren.ankney at gmail.com
Mon Oct 30 08:09:27 UTC 2023


Hi Oskar,

You can remove all doubt with this in the config:

    "loggers": [
        {
            "name": "kea-dhcp6",
            "output_options": [
                {
                    "output": "stdout"
                }
            ],
            "severity": "DEBUG",
            "debuglevel": 99
        }
    ]

It would be interesting to see if anything at all is logged when a
packet is received.

Thank you,

Darren Ankney

On Mon, Oct 30, 2023 at 7:50 AM Oskar Wåglund via Kea-users
<kea-users at lists.isc.org> wrote:
>
> 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/."
>
> '.
> --
> 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://lists.isc.org/mailman/listinfo/kea-users


More information about the Kea-users mailing list