DHCP reply not leaving machine

Alan DeKok aland at deployingradius.com
Mon Oct 28 22:12:32 CET 2013


Rok Kosir wrote:
> Just installed another laptop with centos 6, built FR from git and i got
> same result..
> It makes me wonder if i have my configuration correctly set, if anyone
> can confirm, here are my steps:
> 
> - I did clean install of centos 6, installed required packages and built
> and installed freeradius from git
> - set IP on FR machine on eth0 to 192.168.10.1 with netmask 255.255.255.0
> - cleared iptables and disabled selinux
> - added mac2ip to mods-enabled
> - created folder mods-config/passwd/ and edited file mac2ip with this
> content:  00:30:48:32:d7:5f,192.168.10.102   (this is the mac of ubuntu
> machine which is waiting for dhcp IP)
> - created file dhcp-static under sites-enabled with this content:
> 
>     server dhcp {
>         listen {
>             type = dhcp
>             ipaddr = 255.255.255.255
>             port = 67
>             interface = eth0
>             broadcast = yes
>         }

  That should be OK.

> started the server with radiusd -X and received dhcp requests, but no
> respose was gathered.

  Please do a "git pull".  I've tested it on Mac OSX && Ubuntu.  It
works for me on most configurations.  Where there are issues due to
misconfiguration or platform functionality, it gives a descriptive error.

  You may need to run it as "root" in order for the ARP updates to work.
 If you don't run it as root, it will now tell you what's going wrong,
and how to fix it.

  Alan DeKok.


More information about the Freeradius-Users mailing list