Re: DHCP howto

2013-04-03 Thread Alan DeKok
Igor Smitran wrote: > Any plans to implement ipv6 support any time soon? Sure. Send a patch. :) There are ways to prioritize DHCPv6 support. One is to ensure that the current code works, is documented, and gets wide-spread usage. Alan DeKok. - List info/subscribe/unsubscribe? See http://

Re: DHCP howto

2013-04-03 Thread Igor Smitran
On 02/21/2013 07:56 PM, Alan DeKok wrote: 2. Is freeradius ready to work as dhcp server for IPv6? Would it be enough to insert some new words into dictionary and change configuration appropriately? It doesn't do DHCPv6. It's possible, but a lot of work. Any plans to implement ipv6 support a

Re: DHCP howto

2013-02-21 Thread Alan DeKok
Igor Smitran wrote: > Does this mean that only thing needed is to create innodb tables? Module > will use transactions automaticaly? Yes. > 2. Is freeradius ready to work as dhcp server for IPv6? Would it be > enough to insert some new words into dictionary and change configuration > appropriat

Re: DHCP howto

2013-02-21 Thread Igor Smitran
1. In sqlippool.conf is stated: # # WARNING: MySQL has certain limitations that means it can # hand out the same IP address to 2 different users. # # We suggest using an SQL DB with proper transaction #

Re: DHCP howto

2013-02-19 Thread Alan DeKok
Igor Smitran wrote: > Freeradius puts everything into ENV. For running external scripts. > Because of the same key only last > value is used, other ones are overwritten. > So, ENV in this example will have only this: Yes. So don't run a script. Use the policies in the server. Or the Perl

Re: DHCP howto

2013-02-19 Thread Igor Smitran
On 02/19/2013 03:41 PM, Alan DeKok wrote: Use +=, not = Alan DeKok. Request from client is this: DHCP-Parameter-Request-List = DHCP-Subnet-Mask DHCP-Parameter-Request-List = DHCP-Router-Address DHCP-Parameter-Request-List = DHCP-NTP-Servers Freeradius puts everything into E

Re: DHCP howto

2013-02-19 Thread Alan DeKok
Igor Smitran wrote: ... > But, when i call exec script (phh for example) this array only contains > last key: > > DHCP-Parameter-Request-List = DHCP-TFTP-Server-Name > > It is logical that those values will be overwritten but... > > Is there a way to work around this problem? Use +=, not =

Re: DHCP howto

2013-02-19 Thread Igor Smitran
During debug session (radiusd -X) beside other things i can see this: DHCP-Parameter-Request-List = DHCP-Subnet-Mask DHCP-Parameter-Request-List = DHCP-Router-Address DHCP-Parameter-Request-List = DHCP-NTP-Servers DHCP-Parameter-Request-List = DHCP-Domain-Name-Server DHCP-Para

Re: DHCP howto

2013-02-15 Thread Alan DeKok
Duane Cox wrote: > I've managed to get parts of it working, and will be spending some more time > on it to finish it up. > If interested, let's try to consolidate and document the efforts. Any configuration changes / additions can make it into the next release. Send them over, and I'll add the

RE: DHCP howto

2013-02-15 Thread Duane Cox
I am working on this as well. I have a spare CMTS, cable modems, and linux box next to me, with the intention of replacing ISC dhcp with freeradius (as freeradius already does the auth on the cablemodems). I've managed to get parts of it working, and will be spending some more time on it to fi

Re: DHCP howto

2013-02-15 Thread Alan DeKok
Igor Smitran wrote: > What would need to be done in dhcp setup in order to have > radusergroup/radcheck/radreply/radacct-alike behavior? Phil's response is good. > I am trying to make it work with cable equipment (CM,MTA,CPE) but i am > not sure how to start. CM and MTA would have static IP add

Re: DHCP howto

2013-02-15 Thread Phil Mayers
On 15/02/13 10:52, Igor Smitran wrote: What would need to be done in dhcp setup in order to have radusergroup/radcheck/radreply/radacct-alike behavior? As far as I can tell: 1. Figure our the SQL queries that return the "check/reply" and group items you want for the values in the DHCP packet