1 (edited by yky202082 2009-12-25 09:53:55)

Topic: chilli dhcp range

Hi everyone,
How to set IP address in range from 192.168.182.3/24 to 192.168.182.200/24?
If not possible, how can I set static IP for client?
I want to reserve 192.168.182.2 for static ip.

Re: chilli dhcp range

Thank for your help

Re: chilli dhcp range

Framed-IP-Address (radius atribute) only work with mac auth.

  http://www.chillispot.info/FAQ.html#mozTocId659535

   

How do I enable static IP?
With both WPA and MAC authentication you can include the Radius attribute Framed-IP-Address in the Access-Accept message sent back to ChilliSpot by the Radius server. For this to work
you also need to specify the statip option in /etc/chilli.conf.

bitx0.

4 (edited by yky202082 2010-02-03 14:19:40)

Re: chilli dhcp range

Framed-IP-Address (radius atribute) only work with mac auth.

How to set mac auth?

How do I enable static IP?
With both WPA and MAC authentication you can include the Radius attribute Framed-IP-Address in the Access-Accept message sent back to ChilliSpot by the Radius server. For this to work
you also need to specify the statip option in /etc/chilli.conf.

What the format of statip option in /etc/chilli.conf? I already try 192.168.182.2 and 192.168.182.2/24
It still can't work

Re: chilli dhcp range

Hello,
You can cut your ip range in two. one for dhcp and the other for fixed ip.
from chilli manual :
edit your chilli.conf

--net net
    Network address of the uplink interface (default = 192.168.182.0/24). The network address is set during initialisation when chilli establishes a tun device for the uplink interface. The network address is specified as either <address>/<netmask> (192.168.182.0/255.255.255.0) or <address>/<prefix> (192.168.182.0/24).

--dynip net
    Dynamic IP address pool. Specifies a pool of dynamic IP addresses. If this option is omitted the network address specified by the net option is used for dynamic IP address allocation. See the net option for a description of the network address format.

--statip net
    Static IP address pool. Specifies a pool of static IP addresses. With static address allocation the IP address of the client can be specified by the radius server. Static address allocation can be used for both MAC authentication and Wireless Protected Access.

so you can do as it in your chilli.conf :
net 192.168.182.0/24
dynip 192.168.182.128/25
statip 192.168.182.0/25

et voila !

Re: chilli dhcp range

dextair wrote:

so you can do as it in your chilli.conf :
net 192.168.182.0/24
dynip 192.168.182.128/25
statip 192.168.182.0/25
et voila !

Thank for your suggestion!
But I think if I set the subnet mask to /25 is too much for me(static IP).
I just need one.
Any other suggestion? Use MAC auth will more easy? And how to set up?
I already try to assign a static IP in wireless client directly, but it cannot rediect to login page when I assign a IP for it.
Thank you very much

Re: chilli dhcp range

yky202082 wrote:
dextair wrote:

so you can do as it in your chilli.conf :
net 192.168.182.0/24
dynip 192.168.182.128/25
statip 192.168.182.0/25
et voila !

Thank for your suggestion!
But I think if I set the subnet mask to /25 is too much for me(static IP).
I just need one.
Any other suggestion? Use MAC auth will more easy? And how to set up?
I already try to assign a static IP in wireless client directly, but it cannot rediect to login page when I assign a IP for it.
Thank you very much

you can use  /32  for one IP, /31 for 2 IP, /30 for 4 ip, /29 for 8 IP ....
like as:

static 192.168.182.2/32

-----
but I need to know, can chillispot define a multiple range of dynamic or static? such as dynamic 192.168.2.2-100/24 or something like as  192.168.182.0/27, 192.168.182.32/27, ...
or is it flexible for I can config like as...need static in range....  x to y    need dynamic in range a to b   (only freely one range for one type is ok, not need for 2 power by n)

Re: chilli dhcp range

I've one more question.
if I set the configuration as below:

net 192.168.1.0
#dynip
statip 192.168.1.224/27

this will mean to:
it will provide dynamic ip for range 192.168.1.2 to 192.168.1.223 only right?
and I can use 192.168.1.224 to 254, right? (indeed I've tested it, I can use a fixed ip and work properly by comment statip. so, if i've set it. it should be okay too.)

but, I need to know that the chillispot won't provide ip more than or overlap the static ip range as I defined or not?

someone could clearify me?