Hello.<br>I successfully run ISC-DHCP server for provisioning modems in an ISP's network, but what I wanted to try is something more modern and with database support.<br>I want to try using Freeradius as DHCP server, but first I want to know if it is possible with these requirements:<br>
<br>- Need to deliver fixed IP (or static) according to mac-address.<br>- Need to provide, in addition to the IP, some DHCP options. Option 1 (Subnet mask), Option 3 (Routers), Option 6 (DNS server), Option 15 (Domainname), Option 18 (Extensions path), Option 66 (TFTP server name), Option120 (SIP Servers DHCP Option).<br>
- The IP and Options corresponding to each mac-address has to be stored in mysql.<br><br>According dhcpdump, the dhcp client request looks like this:<br><br>TIME: 2013-01-21 16:23:30.787<br> IP: 0.0.0.0 (0:13:96:0:f9:84) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)<br>
OP: 1 (BOOTPREQUEST)<br> HTYPE: 1 (Ethernet)<br> HLEN: 6<br> HOPS: 0<br> XID: 8e22cb4d<br> SECS: 0<br> FLAGS: 7f80<br>CIADDR: 0.0.0.0<br>YIADDR: 0.0.0.0<br>SIADDR: 0.0.0.0<br>GIADDR: 0.0.0.0<br>CHADDR: 00:13:96:00:f9:84:00:00:00:00:00:00:00:00:00:00<br>
SNAME: .<br> FNAME: .<br>OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)<br>OPTION: 61 ( 8) Client-identifier 01:00:13:96:00:f9:84:00<br>OPTION: 51 ( 4) IP address leasetime -256 ()<br>OPTION: 51 ( 4) IP address leasetime -1 ()<br>
OPTION: 55 ( 11) Parameter Request List 1 (Subnet mask)<br> 3 (Routers)<br> 6 (DNS server)<br> 15 (Domainname)<br> 18 (Extensions path)<br>
66 (TFTP server name)<br> 120 (SIP Servers DHCP Option)<br> 135 (???)<br> 213 (???)<br> 214 (???)<br> 215 (???)<br>
<br>Freeradius 2.2.0 can provide this functionality just configuring it, or it would be necessary to use modules or developments that aren't available yet?<br><br>Thanks in advance!<br>