[Kea-users] ERROR DHCP4_PACKET_SEND_FAIL

Fredrik V fredrik at cisko.se
Tue Jan 26 11:04:04 UTC 2021


Saw that I pasted one mac from syslog and another from dhcpdump in the
initial post.

Here is the matching one, same client and same problem.

Jan 26 12:02:28 kea-dhcp01 kea-dhcp4: INFO  DHCP4_LEASE_ALLOC [hwtype=1
00:02:ab:12:d2:fe],
cid=[00:67:73:77:2d:32:30:32:30:70:61:2d:31:32:2d:64:32:2d:66:65],
tid=0x3219188d: lease xxx.160.93.130 has been allocated for 21600 seconds
Jan 26 12:02:28 kea-dhcp01 kea-dhcp4: ERROR DHCP4_PACKET_SEND_FAIL
[hwtype=1 00:02:ab:12:d2:fe],
cid=[00:67:73:77:2d:32:30:32:30:70:61:2d:31:32:2d:64:32:2d:66:65],
tid=0x3219188d: failed to send DHCPv4 packet: pkt4 send failed: sendmsg()
returned  with an error: Permission denied


root at kea-dhcp01:/var/lib/kea# dhcpdump -i ens192 -h 00:02:ab:12:d2:fe
  TIME: 2021-01-26 11:59:51.689
    IP: xxx.160.93.130 (78:ba:f9:2f:3:d6) > xxx.233.57.226
(0:50:56:86:c9:a1)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 3219188d
  SECS: 6945
 FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:02:ab:12:d2:fe:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
OPTION:  57 (  2) Maximum DHCP message size 1024
OPTION:  55 ( 16) Parameter Request List     54 (Server identifier)
                                             51 (IP address leasetime)
                                             58 (T1)
                                             59 (T2)
                                              1 (Subnet mask)
                                              3 (Routers)
                                              6 (DNS server)
                                             15 (Domainname)
                                             28 (Broadcast address)
                                             42 (NTP servers)
                                             66 (TFTP server name)
                                             67 (Bootfile name)
                                            132 (???)
                                            240 (???)
                                            250 (???)
                                            254 (???)

OPTION:  12 ( 20) Host name                 gsw-2020pa-12-d2-fe
OPTION:  61 ( 20) Client-identifier
00:67:73:77:2d:32:30:32:30:70:61:2d:31:32:2d:64:32:2d:66:65
OPTION:  60 ( 10) Vendor class identifier   GSW-2020PA
OPTION:  77 ( 10) User-class Identification 0956657220312e30 .Ver 1.0
                                            3565             5e
OPTION:  54 (  4) Server identifier         xxx.233.57.226
OPTION:  50 (  4) Request IP address        xxx.160.93.130
---------------------------------------------------------------------------

On Tue, Jan 26, 2021 at 11:52 AM Fredrik V <fredrik at cisko.se> wrote:

> Hi,
>
> Found this message in syslog and I cant figure out whats going on.
>
> Jan 26 11:47:40 kea-dhcp01 kea-dhcp4: ERROR DHCP4_PACKET_SEND_FAIL
> [hwtype=1 00:02:ab:12:d2:fe],
> cid=[00:67:73:77:2d:32:30:32:30:70:61:2d:31:32:2d:64:32:2d:66:65],
> tid=0x3219188d: failed to send DHCPv4 packet: pkt4 send failed: sendmsg()
> returned  with an error: Permission denied
>
> Here is the DHCPREQUEST. We get the request. We do not send any kind
> reply.
>
> What is causing the Permission denied?
>
> root at kea-dhcp01:/var/lib/kea# dhcpdump -i ens192 -h 00:02:ab:12:d1:78
>   TIME: 2021-01-26 10:39:20.565
>     IP: xxx.160.93.131 (78:ba:f9:2f:3:d6) > xxx.233.57.226
> (0:50:56:86:c9:a1)
>     OP: 1 (BOOTPREQUEST)
>  HTYPE: 1 (Ethernet)
>   HLEN: 6
>   HOPS: 0
>    XID: 61f7346a
>   SECS: 1899
>  FLAGS: 0
> CIADDR: 0.0.0.0
> YIADDR: 0.0.0.0
> SIADDR: 0.0.0.0
> GIADDR: 0.0.0.0
> CHADDR: 00:02:ab:12:d1:78:00:00:00:00:00:00:00:00:00:00
>  SNAME: .
>  FNAME: .
> OPTION:  53 (  1) DHCP message type         3 (DHCPREQUEST)
> OPTION:  57 (  2) Maximum DHCP message size 1024
> OPTION:  55 ( 16) Parameter Request List     54 (Server identifier)
>                                              51 (IP address leasetime)
>                                              58 (T1)
>                                              59 (T2)
>                                               1 (Subnet mask)
>                                               3 (Routers)
>                                               6 (DNS server)
>                                              15 (Domainname)
>                                              28 (Broadcast address)
>                                              42 (NTP servers)
>                                              66 (TFTP server name)
>                                              67 (Bootfile name)
>                                             132 (???)
>                                             240 (???)
>                                             250 (???)
>                                             254 (???)
>
> OPTION:  12 ( 20) Host name                 gsw-2020pa-12-d1-78
> OPTION:  61 ( 20) Client-identifier
> 00:67:73:77:2d:32:30:32:30:70:61:2d:31:32:2d:64:31:2d:37:38
> OPTION:  60 ( 10) Vendor class identifier   GSW-2020PA
> OPTION:  77 ( 10) User-class Identification 0956657220312e30 .Ver 1.0
>                                             3565             5e
> OPTION:  54 (  4) Server identifier         xxx.233.57.226
> OPTION:  50 (  4) Request IP address        xxx.160.93.131
>
> Regards,
>
> //F
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20210126/bc31e327/attachment-0001.htm>


More information about the Kea-users mailing list