[Chilli] CoovaChilli and dhcpgateway

Anatoly Oreshkin Anatoly.Oreshkin at pnpi.spb.ru
Tue Mar 30 15:50:47 UTC 2010


Hello,

My coovachili has such configuration:

HS_WANIF=eth0  (195.19.214.216)
HS_LANIF=eth1
HS_NETWORK=10.2.3.0
HS_NETMASK=255.255.255.0
HS_UAMLISTEN=10.2.3.1

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=212.193.96.134   (external dhcp address)
dhcpgatewayport=67
dhcprelayagent=195.19.214.216  (chilli eth0 address)

DHCP server is configured as:
subnet 10.2.3.0 netmask 255.255.255.0 {
option routers                  10.2.3.1;
option subnet-mask              255.255.255.0;
range  10.2.3.2  10.2.3.254;
...
}

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 10.2.3.53

On dhcp server in /var/log/messages I see

DHCPDISCOVER from 00:16:ea:8a:de:38 via 195.19.214.216
DHCPOFFER on 10.2.3.2 to 00:16:ea:8a:de:38 (csd-notebook) via 195.19.214.216
DHCPREQUEST for 10.2.3.2 (10.2.3.1) from 00:16:ea:8a:de:38 via 195.19.214.216
DHCPACK on 10.2.3.2 to 00:16:ea:8a:de:38 via 195.19.214.216

On client I see configuration
IP-address: 10.2.3.2
network mask: 255.255.255.0
gateway: 10.2.3.1
dhcp server: 10.2.3.1

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.









More information about the Chilli mailing list