[Chilli] CoovaChilli and dhcpgateway

David Bird david at coova.com
Wed Mar 31 04:28:23 UTC 2010


Not needed... the HS_NETWORK and HS_NETMASK take care of it. 

On Wed, 2010-03-31 at 10:12 +1100, Jason Allen 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
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli




More information about the Chilli mailing list