DHCP reply not leaving machine

Alan DeKok aland at deployingradius.com
Tue Nov 5 21:37:37 CET 2013


Rok Kosir wrote:
> On 10/29/2013 09:49 PM, Alan DeKok wrote:
> There was user and group set in config and it ran under that user, so I
> assume that was the cause, when deleted it didn't post this error.
> 
> I still wasn't able to make it send replies tho, i ran strace on radius
> and got this when it is sending dhcp reply.
> 
> write(1, "\tDHCP-DHCP-Server-Identifier = 1"..., 44) = 44
> write(1, "Sending DHCP-Offer of id 63e996d"..., 80) = 80
> sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(68),
> sin_addr=inet_addr("255.255.255.255")},
> msg_iov(1)=[{"\2\1\6\0c\351\226\331\0\0\200\0\0\0\0\0\300\250\ne\300\250\n\1\0\0\0\0pZ\266\232"...,
> 300}], msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_IP, cmsg_type=,
> ...}, msg_flags=0}, 0) = -1 EINVAL (Invalid argument)
> write(1, "(1) Finished request 1.\n", 24) = 24

  My guess is that the IP addresses you're using are wrong.  There's
probably no route for the IP you're assigning.

  If you need to assign an IP address that isn't routable to the DHCP
server, you need to use a gateway.

  Alan DeKok.


More information about the Freeradius-Users mailing list