DHCP Broadcasts not seen by radiusd

Hermann.Lauer at uni-heidelberg.de Hermann.Lauer at uni-heidelberg.de
Tue Jun 17 11:40:32 UTC 2025


Hi,

freeradius is not seeing DHCP broadcast discover messages on the same
subnet. Wireshark shows the broadcasts arriving, so for
some reasons the packets seems not being transmitted from the kernel
to the radius server level.

Permissions are set via setcap (if I remove those,
it complains about them missing at startup):

#getcap /usr/sbin/freeradius
/usr/sbin/freeradius cap_net_bind_service,cap_net_broadcast,cap_net_admin=eip

How can I debug that further on debian trixie?

Thanks a lot and greetings
  Hermann

$ /usr/sbin/freeradius -X
FreeRADIUS Version 3.2.7

<lots of stuff omitted>

radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/3.0/radiusd.conf
} # server
server dhcp { # from file /etc/freeradius/3.0/sites-enabled/dhcp
 # Loading dhcp DHCP-Discover {...}
Compiling dhcp DHCP-Discover for attr DHCP-Message-Type
 # Loading dhcp DHCP-Request {...}
Compiling dhcp DHCP-Request for attr DHCP-Message-Type
 # Loading dhcp DHCP-Decline {...}
Compiling dhcp DHCP-Decline for attr DHCP-Message-Type
 # Loading dhcp DHCP-Inform {...}
Compiling dhcp DHCP-Inform for attr DHCP-Message-Type
 # Loading dhcp DHCP-Release {...}
Compiling dhcp DHCP-Release for attr DHCP-Message-Type
 # Loading dhcp DHCP-Lease-Query {...}
Compiling dhcp DHCP-Lease-Query for attr DHCP-Message-Type
} # server dhcp
radiusd: #### Opening IP addresses and Ports ####
listen {
        type = "dhcp"
        ipv4addr = 192.168.0.1
        port = 67
   performance {
        skip_duplicate_checks = no
   }
        src_ipaddr = 192.168.0.1
}
Listening on dhcp interface eno4 address 192.168.0.1 port 67 bound to server dhcp
Ready to process requests


More information about the Freeradius-Users mailing list