windows machine gets assigned wrong netmask

Posted on

A server stack is the collection of software that forms the operational infrastructure on a given machine. In a computing context, a stack is an ordered pile. A server stack is one type of solution stack — an ordered selection of software that makes it possible to complete a particular task. Like in this post about windows machine gets assigned wrong netmask was one problem in server stack that need for a solution. Below are some tips in manage your windows server when you find problem about windows, dhcp, isc-dhcp, , .

I have a Debian based DHCP server. It assigns correct netmask 225.225.225.0 for all devices (WiFi router, voip, scanner) except for the windows machines. They all get assigned 224.0.0.0 for some reason. They are all set to receive IP over DHCP; no manipulations with routing tables was done. Why do they get configured this way?

Settings of the isc-dhcp-server:

option domain-name "example.com";
option domain-name-servers 8.8.8.8, 8.8.4.4;
option subnet-mask 255.255.255.0;

default-lease-time 600;
max-lease-time 7200;

ddns-update-style none;

subnet 192.168.1.0 netmask 255.255.255.0 {
  option routers 192.168.1.1;
  option subnet-mask    225.225.225.0;
  range 192.168.1.20 192.168.1.200;
}

host gnulinuxpc {
  hardware ethernet 00:30:48:b8:52:cb;
  fixed-address 192.168.1.2;
  option subnet-mask    225.225.225.0;
}

host windowspc {
  hardware ethernet 00:18:f3:5e:bb:d3;
  fixed-address 192.168.1.3;
  option subnet-mask    225.225.225.0;
}

Probably a typo: option subnet-mask 225.225.225.0; Not a valid mask 🙂

Leave a Reply

Your email address will not be published.