Topic: Manuel IP range

Hello,
Chillispot give ip adresses as 192.168.182.x. I want to change this segment. I want to give ip adresses from 192.168.254.30 to 192.168.254.200. How can do this configuration?

Re: Manuel IP range

I try net tag as that:

net 192.168.254.30/200

But when I restart chillispot, it said "invalid mask".

Re: Manuel IP range

Hi...

i think is not right setting , according to your question : Pool 192.168.254.30 until 192.168.254.200

subnet  192.168.254.30/24 mean client shall get ip from 192.168.254.30 until 192.168.254.254

how about the scripts if we need until 192.168.254.200 only ?

Re: Manuel IP range

Hi,
can someone please tell me if it is possible to set the nic card with a static ip address using chillispot. I know chilli uses dhcp to hand out ip addresses. This is what I have tried so far, I have added users mac address to the msql database that freeradius looks at. I also added the attribute access-accept for this mac address, so when I go to browse the web I don't have to log in anymore. But I want this client to keep same Ip address everytime. So I added (username,attribute,op,value) to radreply, so (macaddress,framed ip address, :=,ip address). Then I went to chilli.conf and added a static ip 192.168.182.225/24, to the tag static ip. But when I set the ip address statically, I am not allowed out on internet. I am running chilli in debug mode and says static out of range.
What am I doing wrong, can I even do this with chillispot set a static ip to a device? I thought I am doing this exactly as it should be done. Anyone? I will gladly post back on how I set this up, if this is even possible.
thanks for any reply at all

Re: Manuel IP range

hi dmkhn,
Thanks for the reply. The reason I am trying to set static ip address is because I am running squid (transparent proxy) and Dansguardain. I want to have different filter groups, one with filter on and one with filter off. In order for Dansguardian to do this, one way is to assign filter groups to ip address. After playing around with chilli some more I did get chilli or rather freeradius to hand out a specific ip address to my clients mac address. So in order for someone to hand out a static ip address to a device, they would have to do this. Tell me if I am right or wrong. They have to edit the chilli.conf file and change the tag static ip, here one could put a ip address that they want to start with, and what subnet. (e.g. 192.168.182.200/24) this would allow you to assign .200 to .254 addresses as static, as long as they are put into the mysql database, also meaning the devices will always be handed out the same ip address based on there mac address. This is from adding the mac address with the attribute access accept to the msyql database in radcheck, and also adding the framed ip address to the radreply in the mysql database. So as of right now for testing purpose, I run chilli in debug mode, client is running dhcp and asks chilli for ip, sends client to freeradius server checks mysql sees the mac address allows on internet without authenticating, in the radreply assigns the ip address that I have specified. So now the that device I specified will always be handed out the same ip address. Hopefully this will help someone else out! Please let me know if this right.
Thanks,
slack

Re: Manuel IP range

dmkhn,
Hello again, hey this forum is alive again tongue I got it to work with mac authentication. What do you mean by server got large configuration files? I will look into what you posted about. Since the mac address is handed out the same ip address, I can create filter groups with dansguardian. glad to see you responded back to me
Thanks,
slack