-   Linux - Networking (
-   -   DHCP:bad subnet/mask combination (

mahdit 01-07-2010 11:46 AM

DHCP:bad subnet/mask combination
Hi,I use following commands in dhcpd.conf and get the subnet number/mask combination err.please help me

subnet netmask {

what is my problem ?

MensaWater 01-07-2010 11:59 AM

To get the range you want you'd need to calculate the CIDR.

There are some good online tools for doing this.

If you go to:
Input as the IP address then select 14 as maximum address (lowest number that will accomodate the 10 you want) it will show you:

NETMASK should be
First IP is actually and last IP is This encompasses the range you specified ( - It also gives you the CIDR (/28).

mahdit 01-07-2010 12:02 PM

thank you man useful,nice

All times are GMT -5. The time now is 01:01 PM.