[Kea-users] Kea Server Docker on Windows Host doesn't lease to private LAN network

Payyappattu Raghuram Payyappattu.Raghuram at matrixteam.com
Tue Jul 2 22:53:43 UTC 2024


Hi Darren,
Thank you for your response. Appreciate it!. That project is my reference to build my application. I think the issue is with communication between the Docker container and the network interface on the Windows host machine. I've turned off the Windows Firewall on the host network named 'Ethernet', and then the Kea Server started to receive requests from the Raspberry Pi device. However, it seems the Docker container is not sending this message back to the Windows host network, as Wireshark doesn't show a DHCP Offer. Do you have any documentation similar to setting up the Kea Server to interact with interfaces on Windows host machines?

Here is the log from Kea Server:
kea4-1  | 2024-07-02 22:43:00.424 INFO  [kea-dhcp4.leases/8.140421442427704] DHCP4_LEASE_ADVERT [hwtype=1 e4:5f:01:fb:9a:93], cid=[01:e4:5f:01:fb:9a:93], tid=0x4e554672: lease 10.0.0.16 will be advertised
kea4-1  | 2024-07-02 22:43:17.288 INFO  [kea-dhcp4.dhcp4/8.140421442284344] DHCP4_QUERY_LABEL received query: [hwtype=1 e4:5f:01:fb:9a:93], cid=[01:e4:5f:01:fb:9a:93], tid=0xfe502e9b
kea4-1  | 2024-07-02 22:43:17.288 INFO  [kea-dhcp4.leases/8.140421442284344] DHCP4_LEASE_ADVERT [hwtype=1 e4:5f:01:fb:9a:93], cid=[01:e4:5f:01:fb:9a:93], tid=0xfe502e9b: lease 10.0.0.17 will be advertised
kea4-1  | 2024-07-02 22:45:08.643 INFO  [kea-dhcp4.dhcp4/8.140421442140984] DHCP4_QUERY_LABEL received query: [hwtype=1 e4:5f:01:fb:9a:93], cid=[no info], tid=0xcf6ff02
kea4-1  | 2024-07-02 22:45:08.644 INFO  [kea-dhcp4.leases/8.140421442140984] DHCP4_LEASE_ADVERT [hwtype=1 e4:5f:01:fb:9a:93], cid=[no info], tid=0xcf6ff02: lease 10.0.0.18 will be advertised
kea4-1  | 2024-07-02 22:45:15.789 INFO  [kea-dhcp4.dhcp4/8.140421444578104] DHCP4_QUERY_LABEL received query: [hwtype=1 e4:5f:01:fb:9a:93], cid=[no info], tid=0xcf6ff02
kea4-1  | 2024-07-02 22:45:15.789 INFO  [kea-dhcp4.leases/8.140421444578104] DHCP4_LEASE_ADVERT [hwtype=1 e4:5f:01:fb:9a:93], cid=[no info], tid=0xcf6ff02: lease 10.0.0.19 will be advertised
kea4-1  | 2024-07-02 22:45:24.580 INFO  [kea-dhcp4.dhcp4/8.140421444864824] DHCP4_QUERY_LABEL received query: [hwtype=1 e4:5f:01:fb:9a:93], cid=[no info], tid=0xcdd6387a
kea4-1  | 2024-07-02 22:45:24.580 INFO  [kea-dhcp4.leases/8.140421444864824] DHCP4_LEASE_ADVERT [hwtype=1 e4:5f:01:fb:9a:93], cid=[no info], tid=0xcdd6387a: lease 10.0.0.20 will be advertised


tcpdump inside the kea server container :

/ # tcpdump -i eth0 port 67 or port 68
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
21:37:12.613234 IP 10.0.0.1.51533 > a382fe23890f.67: BOOTP/DHCP, Request from e4:5f:01:fb:9a:93 (oui Unknown), length 295
21:37:14.613279 IP 10.0.0.1.51533 > a382fe23890f.67: BOOTP/DHCP, Request from e4:5f:01:fb:9a:93 (oui Unknown), length 295
21:37:14.614448 IP a382fe23890f.67 > 10.0.0.59.68: BOOTP/DHCP, Reply, length 308
21:37:17.473763 IP 10.0.0.1.51533 > a382fe23890f.67: BOOTP/DHCP, Request from e4:5f:01:fb:9a:93 (oui Unknown), length 295
21:37:17.475180 IP a382fe23890f.67 > 10.0.0.60.68: BOOTP/DHCP, Reply, length 308
21:37:22.311038 IP 10.0.0.1.51533 > a382fe23890f.67: BOOTP/DHCP, Request from e4:5f:01:fb:9a:93 (oui Unknown), length 295
21:37:22.312102 IP a382fe23890f.67 > 10.0.0.61.68: BOOTP/DHCP, Reply, length 308
21:37:31.080141 IP 10.0.0.1.51533 > a382fe23890f.67: BOOTP/DHCP, Request from e4:5f:01:fb:9a:93 (oui Unknown), length 295
21:37:31.080626 IP a382fe23890f.67 > 10.0.0.62.68: BOOTP/DHCP, Reply, length 308
21:37:47.993881 IP 10.0.0.1.51533 > a382fe23890f.67: BOOTP/DHCP, Request from e4:5f:01:fb:9a:93 (oui Unknown), length 295
21:37:47.994933 IP a382fe23890f.67 > 10.0.0.63.68: BOOTP/DHCP, Reply, length 308
21:37:55.956470 IP 10.0.0.1.51533 > a382fe23890f.67: BOOTP/DHCP, Request from e4:5f:01:fb:9a:93 (oui Unknown), length 300
21:37:55.956955 IP a382fe23890f.67 > 10.0.0.64.68: BOOTP/DHCP, Reply, length 299

Thanks,
Raghu

-----Original Message-----
From: Kea-users <kea-users-bounces at lists.isc.org> On Behalf Of Darren Ankney
Sent: Tuesday, July 2, 2024 2:14 PM
To: Kea user's list <kea-users at lists.isc.org>
Subject: Re: [Kea-users] Kea Server Docker on Windows Host doesn't lease to private LAN network

CAUTION: This is an email from an external sender. Use caution when clicking on links, opening attachments or responding.

Hi Raghu,

You might be interested in this official ISC Kea Docker project:
https://urldefense.proofpoint.com/v2/url?u=https-3A__gitlab.isc.org_isc-2Dprojects_kea-2Ddocker&d=DwICAg&c=oDwORbqiAyI2S1E4GXNhG8NHIJckvCGWArFTLM6Zp04&r=54rkX7RWSzO6WcEMXkTB1jsfzuN_Jjp1LCmGpB1MQ-eKAUbHTHFpwAdrDqyktTEx&m=D0PuV1E66TPjTO9GcmjdqpuKz8WmGFPVtl9Hp9eOdmOW_1NDV1tlNm1YcgpD5jLw&s=lL7BSwnsbIYgBUdBMu1vStpJItyvMHaJFw-VHdcm-fw&e=  The README.md there explains the technology.

Thank you,
Darren Ankney
--
ISC funds the development of this software with paid support subscriptions. Contact us at https://urldefense.proofpoint.com/v2/url?u=https-3A__www.isc.org_contact_&d=DwICAg&c=oDwORbqiAyI2S1E4GXNhG8NHIJckvCGWArFTLM6Zp04&r=54rkX7RWSzO6WcEMXkTB1jsfzuN_Jjp1LCmGpB1MQ-eKAUbHTHFpwAdrDqyktTEx&m=D0PuV1E66TPjTO9GcmjdqpuKz8WmGFPVtl9Hp9eOdmOW_1NDV1tlNm1YcgpD5jLw&s=X6ljzi88XkKIBOCWwWTDvzFAImHrhp_rtLEvW1XyIwQ&e=  for more information.

To unsubscribe visit https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.isc.org_mailman_listinfo_kea-2Dusers&d=DwICAg&c=oDwORbqiAyI2S1E4GXNhG8NHIJckvCGWArFTLM6Zp04&r=54rkX7RWSzO6WcEMXkTB1jsfzuN_Jjp1LCmGpB1MQ-eKAUbHTHFpwAdrDqyktTEx&m=D0PuV1E66TPjTO9GcmjdqpuKz8WmGFPVtl9Hp9eOdmOW_1NDV1tlNm1YcgpD5jLw&s=RwuGDSlTijT2NONBbnXvzDVGIGEy0Qs_S3mQnjBJEIU&e= .

Kea-users mailing list
Kea-users at lists.isc.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.isc.org_mailman_listinfo_kea-2Dusers&d=DwICAg&c=oDwORbqiAyI2S1E4GXNhG8NHIJckvCGWArFTLM6Zp04&r=54rkX7RWSzO6WcEMXkTB1jsfzuN_Jjp1LCmGpB1MQ-eKAUbHTHFpwAdrDqyktTEx&m=D0PuV1E66TPjTO9GcmjdqpuKz8WmGFPVtl9Hp9eOdmOW_1NDV1tlNm1YcgpD5jLw&s=RwuGDSlTijT2NONBbnXvzDVGIGEy0Qs_S3mQnjBJEIU&e=


More information about the Kea-users mailing list