DHCP in FR

Kassai Istvan kako at zhnet.hu
Sun Nov 15 12:55:11 CET 2009


hello,

I was recompiled the freeradius (2.1.7) with dhcp support.
Enabled the dhcp support and is listening on proper port and interface
*********************************
listen {
	type = "dhcp"
	ipaddr = *
	port = 67
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /usr/local/var/run/radiusd/radiusd.sock
Listening on dhcp interface eth0 address * port 67 as server dhcp
Listening on proxy address * port 1814
Ready to process requests.
*********************************


But! 
When I set up an ip address in the "sites-enabled/dhcp" DHCP-Request
section, I can see it in the debug log (rad.log), as
DHCP-Your-IP-Address, but the client isn't gets it. If I would like to
get it through the mac2ip module (rad1.log), it is always 0.0.0.0
There is a mac2ip text file in the usr/local/etc/raddb dir, with this
content:

08:00:27:27:8F:E1,192.168.5.55

The machine I use as DHCP client previously got an IP address from
another DHCP server, but for the time of trying I always disconnect that
from the network.





-------------- next part --------------
A non-text attachment was scrubbed...
Name: rad.log
Type: text/x-log
Size: 22795 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091115/d929eea2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rad1.log
Type: text/x-log
Size: 22791 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091115/d929eea2/attachment-0001.bin>


More information about the Freeradius-Users mailing list