[ previous ] [ next ] [ threads ]
 
 From:  "Mohammed Ismail" <m dot ismael at gmail dot com>
 To:  "'m0n0wall'" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  DHCP Server
 Date:  Thu, 23 Jul 2009 17:57:17 +0300
Is it possible to change DHCP server in m0n0wall to allow handling of number
of subnets ?

As an example 

LAN holds 10.0.0.1/8 

Secondary IP 172.16.1.1/32

 

DHCP server offer multiple subnets, for example 

Subnet          ,    Valid Hosts                          ,   Broadcast


10.0.0.4        ,    10.0.0.5 to 10.0.0.6               ,   10.0.0.7        

10.0.0.8        ,    10.0.0.9 to 10.0.0.10             ,   10.0.0.11       

10.0.0.12       ,   10.0.0.13 to 10.0.0.14            ,   10.0.0.15       

10.0.0.16       ,   10.0.0.17 to 10.0.0.18            ,   10.0.0.19       

10.0.0.20       ,   10.0.0.21 to 10.0.0.22            ,   10.0.0.23       

10.0.0.24       ,   10.0.0.25 to 10.0.0.26            ,   10.0.0.27       

10.0.0.28       ,   10.0.0.29 to 10.0.0.30            ,   10.0.0.31

 

 

In other way client receive option gateway of 172.16.1.1 and option subnet
of 255.255.255.252 

Is there any limitation to be done?

Optional gateway no problem in It, 

It works fine 

Clients receive 

IP:           10.0.0.x

Subnet:    255.0.0.0

Gateway: 172.16.1.1

DNS:       10.0.0.1

 

Now I need to change the subnet assigned to client..

Thanks in advance.

 

 

Mohammed Ismail.