Freeradius DHCP and "Failed adding ARP entry: Failed to add entry in ARP cache: Operation not permitted (1)"

Alan DeKok aland at deployingradius.com
Fri Jul 30 02:17:59 CEST 2021


On Jul 29, 2021, at 7:30 PM, CpServiceSPb <cpservicespb at gmail.com> wrote:
> 
> I use Freeradius 3.0.21 on Ubuntu 18.04 x64 LTS.
> 
> It is started under freerad:freerad, acts as DHCP as well listen to 0.0.0.0
> IP and accept broadcast on one of two interfaces and listen to
> 192.168.0.254 and not accept broadcast on other one interface.
> 
> During DHCP conversation with clients using broadcast accepting (IP
> 0.0.0.0) interface, the following message is got and DHCP don' t assign to
> the client:
> "Failed adding ARP entry: Failed to add entry in ARP cache: Operation not
> permitted (1)"
> 
> I don' t want to launch Freeradius under either root user or root/admin
> group.
> 
> What is the best solution to avoid the error under freerad:freerad and move
> on ?

  Linux capabilities.  See sites-available/dhcp.  Look for "setcap".  If it's not there, upgrade to a more recent version.

  Alan DeKok.





More information about the Freeradius-Users mailing list