Netmask issue

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Oct 1 16:26:18 UTC 2009


At 17:16 +0200 1/10/09, Antonio Guerrieri wrote:
>Hi all,
>I have a dhcp3 server running on debian lenny hosted as virtual 
>machine on a xen server.
>
>I am testing a new wireless system and I configured the dhcp in this way:
>
>subnet 10.0.200.0 netmask 255.255.254.0 {
>     range 10.0.200.10 10.0.201.254;
>
>     option broadcast-address 10.0.201.255;
>     option routers 10.0.200.1;
>}
>
>Well, mac and windows clients receive all 255.255.255.0 as netmask 
>and they "mysteriously" work "perfectly".
>
>Some linux client (slackware) refuse, correctly, such netmask.
>
>Sniffing packets revealed that clients receive 255.255.255.0.

What happens if you specify a value for the netmask option ? Ie :
   option netmask 255.255.254.0

Worked for me at my last job.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list