Hi All - In my specific scenario, the Kea Server is running on Docker Desktop (WSL) on Windows 11 Pro with the following setup. The Raspberry Pi is directly connected to the “Ethernet” port via a LAN cable on the Windows host machine and is supposed to receive a DHCP offer from the Kea Server. Wireshark shows that the “Ethernet” interface received the DHCP Request when the Raspberry Pi was plugged in, but somehow the Kea Server couldn't pick up this request. Interestingly, when I run the udhcpc client on the Windows host machine using Docker with the command docker run --net kea-10-ipvlan --rm busybox sh -c "udhcpc -i eth0 -v", the Kea Server successfully leases the IP. The windows firewall is turned off . It would be great if you could share any workarounds for this issue Here is the logs from Kea Server. Unfortunately, the Raspberry is not getting the DHCP Offer. WhereAny have insight on this ?
kea4-1 | 2024-07-03 21:51:52.593 INFO [kea-dhcp4.dhcp4/8.140404823505720] DHCP4_QUERY_LABEL received query: [hwtype=1 e4:5f:01:fb:9a:93], cid=[01:e4:5f:01:fb:9a:93], tid=0x7c276e99 kea4-1 | 2024-07-03 21:51:52.593 INFO [kea-dhcp4.packets/8.140404823505720] DHCP4_PACKET_RECEIVED [hwtype=1 e4:5f:01:fb:9a:93], cid=[01:e4:5f:01:fb:9a:93], tid=0x7c276e99: DHCPDISCOVER (type 1) received from 10.0.0.1 to 10.0.0.2 on interface eth0 kea4-1 | 2024-07-03 21:51:52.593 INFO [kea-dhcp4.leases/8.140404823505720] DHCP4_LEASE_OFFER [hwtype=1 e4:5f:01:fb:9a:93], cid=[01:e4:5f:01:fb:9a:93], tid=0x7c276e99: lease 10.0.0.30 will be offered kea4-1 | 2024-07-03 21:51:52.593 INFO [kea-dhcp4.packets/8.140404823505720] DHCP4_PACKET_SEND [hwtype=1 e4:5f:01:fb:9a:93], cid=[01:e4:5f:01:fb:9a:93], tid=0x7c276e99: trying to send packet DHCPOFFER (type 2) from 10.0.0.2:67 to 10.0.0.30:68 on interface eth0 [cid:[email protected]] Docker Compose file :- kea4: image: docker.cloudsmith.io/isc/docker/kea-dhcp4:2.6.0<https://urldefense.proofpoint.com/v2/url?u=http-3A__docker.cloudsmith.io_isc_docker_kea-2Ddhcp4-3A2.5.2&d=DwMFaQ&c=oDwORbqiAyI2S1E4GXNhG8NHIJckvCGWArFTLM6Zp04&r=54rkX7RWSzO6WcEMXkTB1jsfzuN_Jjp1LCmGpB1MQ-eKAUbHTHFpwAdrDqyktTEx&m=MufEfpqY7wWn5DmupvLv2xMGsJuVA2znh-BwVr9usTHJB8RIJOchWeGvlV6ubFiq&s=tb1bRDk0XZMaG9TIdN3DAMX197f3FOdznwZWadTxwxY&e=> restart: always ports: - "67:67/udp" networks: kea-10-ipvlan: # network that binds container to host network interface. ipv4_address: 10.0.0.2 # ip for kea4 server volumes: - type: bind source: ./config/kea # configuration files target: /etc/kea - kea4-var:/var/lib/kea - ./kea-data:/tmp # New volume mapping for kea-leases4.csv networks: kea-10-ipvlan: # network that binds container to host network interface. name: kea-10-ipvlan driver: bridge driver_opts: parent: "Ethernet" # host interface that kea containers will use ipam: config: - subnet: 10.0.0.0/24<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.0.0.0_24&d=DwMFaQ&c=oDwORbqiAyI2S1E4GXNhG8NHIJckvCGWArFTLM6Zp04&r=54rkX7RWSzO6WcEMXkTB1jsfzuN_Jjp1LCmGpB1MQ-eKAUbHTHFpwAdrDqyktTEx&m=MufEfpqY7wWn5DmupvLv2xMGsJuVA2znh-BwVr9usTHJB8RIJOchWeGvlV6ubFiq&s=G3H9AFxJHYCJrFYUHPI0D4nSPr6jhcd_ZVQF_Tj_aYk&e=> gateway: 10.0.0.1 Kea Configuration - { "Dhcp4": { "interfaces-config": { "interfaces": ["eth0"] // Update this to change Network interface }, "lease-database": { "type": "memfile", "persist": true, "name": "/tmp/kea-leases4.csv", "lfc-interval": 1800, // Update this to change the period to flush out DHCP server file which keeps track of IPs offered "max-row-errors": 100 }, "subnet4": [ { "subnet": "10.0.0.0/24<https://urldefense.proofpoint.com/v2/url?u=http-3A__10.0.0.0_24&d=DwMFaQ&c=oDwORbqiAyI2S1E4GXNhG8NHIJckvCGWArFTLM6Zp04&r=54rkX7RWSzO6WcEMXkTB1jsfzuN_Jjp1LCmGpB1MQ-eKAUbHTHFpwAdrDqyktTEx&m=MufEfpqY7wWn5DmupvLv2xMGsJuVA2znh-BwVr9usTHJB8RIJOchWeGvlV6ubFiq&s=G3H9AFxJHYCJrFYUHPI0D4nSPr6jhcd_ZVQF_Tj_aYk&e=>", // Alter this to change the range of IPs offering from DHCP server "pools": [ { "pool": "10.0.0.3 - 10.0.0.100" // Alter this to change the pool of IPs offering from DHCP server } ], "interface": "eth0", // Update this to change Network interface "valid-lifetime": 86400, // Lease time in seconds (86400 seconds = 24 hours) "renew-timer": 600, "rebind-timer": 900, "option-data": [ { "name": "routers", "data": "10.0.0.1" }, { "name": "domain-name-servers", "data": "X.X.X.X" } ] } ] } } Thanks in advance for your help!. --Raghu
-- 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 [email protected] https://lists.isc.org/mailman/listinfo/kea-users
