Freeradius as DHCP sending DHCP Offer to interface where default gateway is

Alan DeKok aland at deployingradius.com
Sun Aug 1 15:06:19 CEST 2010


Urazaev Vadim wrote:
> I`m trying to set up freeradius as dhcp server and everythins seem to be
> ok, in radiusd -X I can see the DHCP-Discover packets that comes from
> client and DHCP-Offer that server sending to client.
> When I tried to find out to which interface server send`s responses I
> saw that responses server put into interface where dafult gateway is
> In configuration of dhcp listener there is an option "interface", but
> when I tried to set it up I see a message
> Failed binding to interface "ifname": "bind to device" is unsupported

  FreeBSD doesn't support binding to interfaces.

> My question is: Is there solution for this situation ?

  Update the FreeRADIUS code so that it uses a BPF socket on FreeBSD.

  Or, run on a system with only one interface.

  Alan DeKok.



More information about the Freeradius-Users mailing list