<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
after multiple recompilation of FR (both version 2.2 and 3.0.1) i
was not able to configure DHCP server so that clients would get IPs.<br>
<br>
I am currently testing on ubuntu 12.04.3 server which has connected
Ubuntu 12.04 desktop version laptop on eth1 trying to get IP.<br>
I see multiple requests comming to server but no reply reaches the
client (nor ethernet card).<br>
<br>
FR is built from source and following this configuration
<a class="moz-txt-link-freetext" href="http://wiki.freeradius.org/guide/dhcp-for-static-ip-allocation">http://wiki.freeradius.org/guide/dhcp-for-static-ip-allocation</a> (with
exception of using mac2ip for IP filetable).<br>
<br>
Here is relevant info on server:<br>
eth1: inet addr:192.168.0.1<br>
dhcp config:<br>
server dhcp {<br>
listen {<br>
ipaddr = 255.255.255.255<br>
port = 67<br>
type = dhcp<br>
interface = eth1<br>
<br>
dhcp DHCP-Discover {<br>
update reply {<br>
DHCP-Message-Type = DHCP-Offer<br>
}<br>
<br>
# The contents here are invented. Change them!<br>
update reply {<br>
DHCP-Domain-Name-Server = 192.168.0.1<br>
DHCP-Domain-Name-Server = 193.2.1.66<br>
DHCP-Subnet-Mask = 255.255.255.0<br>
DHCP-Router-Address = 192.168.0.1<br>
DHCP-IP-Address-Lease-Time = 86400<br>
DHCP-DHCP-Server-Identifier = 192.168.0.1<br>
}<br>
mac2ip<br>
ok<br>
}<br>
<br>
dhcp DHCP-Request {<br>
update reply {<br>
DHCP-Message-Type = DHCP-Ack<br>
}<br>
<br>
# The contents here are invented. Change them!<br>
update reply {<br>
DHCP-Domain-Name-Server = 192.168.0.1<br>
DHCP-Domain-Name-Server = 193.2.1.66<br>
DHCP-Subnet-Mask = 255.255.255.0<br>
DHCP-Router-Address = 192.168.0.1<br>
DHCP-IP-Address-Lease-Time = 86400<br>
DHCP-DHCP-Server-Identifier = 192.168.0.1<br>
}<br>
<br>
mac2ip<br>
ok<br>
}<br>
<br>
dhcp {<br>
# send a DHCP NAK.<br>
reject<br>
}<br>
}<br>
<br>
<br>
radiusd -X output is here:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://pastebin.com/raw.php?i=yY1aNf6v">http://pastebin.com/raw.php?i=yY1aNf6v</a><br>
<br>
i have used tcpdump to check port 67 and 68, but only requests come
in, no reply is released to ethernet card.<br>
<br>
Any suggestions?<br>
<br>
Regards,<br>
Rok<br>
</body>
</html>