[Chilli] CoovaChilli and dhcpgateway

Anatoly Oreshkin Anatoly.Oreshkin at pnpi.spb.ru
Wed Mar 31 07:20:03 UTC 2010

You misunderstood me.

I would like wireless clients to get addresses from external dhcp server,
not from chilli. With dhcpgateway specified chilli relays dhcp request
to our dhcp server which assigns address to client from pool.
At the same time chilli itself assigns address to client.
For example, dhcpserver assigns address but chilli assigns and as I think, wants to work with client having address
Really client has address and I guess, because of
this a client can't authenticate through chilli.
How to make chilli not assign addresses  itself but get from external
dhcp server ? Is it possible at all ?
We need external dhcp server also for wire clients.

My main idea  is the following:

At present we have 3Com APs configured with security WPA2/AES
and authentication is performed via radius server. Wireless clients get
their fixed addresses from dhcp server by their MAC addresses.

Also we need temporary wireless connections (for workshops, conferences
...) using UAM authentication regardless of MAC addresses, only with
login and password.
So we would like to use the same APs for UAM authenticaton too using chilli
at the same time preserving secure authentication in secure SSID for
permanent clients.
For this end we configure on each AP second SSID but without security.
Temporary clients should connect to this insecure SSID, get
addresses from pool regardless of MAC addresses and authenticate through
chilli using UAM.

Any hints, ideas.

> Are you also using uamanyip? If so, try without.
> On Tue, 2010-03-30 at 19:50 +0400, Anatoly Oreshkin wrote:
>> Hello,
>> My coovachili has such configuration:
>> HS_WANIF=eth0  (
>> HS_LANIF=eth1
>> I've configured coovachilli with dhcpgateway in order to get ip
>> addresses
>> for clients from external dhcp server. For this goal I've specified in
>> local.conf
>> dhcpgateway=   (external dhcp address)
>> dhcpgatewayport=67
>> dhcprelayagent=  (chilli eth0 address)
>> DHCP server is configured as:
>> subnet netmask {
>> option routers        ;
>> option subnet-mask    ;
>> range;
>> ...
>> }
>> On chilli server in /var/log/messages I see
>> New DHCP request from MAC=00-16-EA-8A-DE-38
>> Client MAC=00-16-EA-8A-DE-38 assigned IP
>> On dhcp server in /var/log/messages I see
>> DHCPDISCOVER from 00:16:ea:8a:de:38 via
>> DHCPOFFER on to 00:16:ea:8a:de:38 (csd-notebook) via
>> DHCPREQUEST for ( from 00:16:ea:8a:de:38 via
>> DHCPACK on to 00:16:ea:8a:de:38 via
>> On client I see configuration
>> IP-address:
>> network mask:
>> gateway:
>> dhcp server:
>> That is the client have got ip address from dhcp server rather than from
>> chilli. As the consequence of this the client could not authenticate
>> through
>> chilli.
>> What is wrong ?  What purpose is dhcpgateway designed for ?
>> Thanks.
>> _______________________________________________
>> Chilli mailing list
>> Chilli at coova.org
>> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli

More information about the Chilli mailing list