[Chilli] CoovaChilli and dhcpgateway

Jason Allen jason at theallens.id.au
Tue Mar 30 23:15:14 UTC 2010


Additionally, what's your HS_UAMALLOW? I think it should be;

HS_UAMALLOW=10.2.3.0/24, 195.19.214.216



Cheers,
Jason


On Wed, Mar 31, 2010 at 10:12, Jason Allen <jason at theallens.id.au> wrote:

>
> Hi,
>
> Try a subnet mask on your HS_NETWORK ? Thus ...
>
> HS_NETWORK=10.2.3.0/24
>
>
> Cheers,
> Jason
>
>
> On Wed, Mar 31, 2010 at 02:50, Anatoly Oreshkin <
> Anatoly.Oreshkin at pnpi.spb.ru> wrote:
>
>>
>> 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.
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Chilli mailing list
>> Chilli at coova.org
>> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>>
>
>
>
> --
> Cheers,
> Jason
>



-- 
Cheers,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20100331/cbbcbddc/attachment.htm>


More information about the Chilli mailing list