LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   stupid ip question (https://www.linuxquestions.org/questions/linux-newbie-8/stupid-ip-question-4175445918/)

jzoudavy 01-16-2013 02:43 PM

stupid ip question
 
hi all

so i am playing around with dhcp file, why i do not know. just wanted to mess around with it.

anyway i added this entry that's giving me an error:

/var/lib/dhcp///etc/dhcpd.conf line 35: subnet 192.168.33.132 netmask 255.255.255.128: bad subnet number/mask combination.
subnet 192.168.33.132 netmask 255.255.255.128
^
Configuration file errors encountered -- exiting

Why is that a bad combo?

Thanks
davy

acid_kewpie 01-16-2013 03:16 PM

the subnet address needs to be the first in the subnet. So it should be 192.168.33.128.

jzoudavy 01-16-2013 03:44 PM

thanks acid_kewpie, yeap, that fixed it... god, that was two hours well wasted. :)


All times are GMT -5. The time now is 10:44 AM.