1
I'm playing with my router configuration, and I want to understand what happens from changing the default subnet mask from 255.255.255.0 to 255.255.0.0 is expected to do
More details, I had
Router IP Address: 192.168.0.1
default subnet gateway: 255.255.255.0
enable DHCP Server: check
DHCP IP Address Range: X to Y (addresses within the LAN subnet)
So X and Y just parametrize the last byte in the ip address of the nodes, in fact other machines get local ip from 192.168.0.X going up
However, I want to know if what I understand about subnet masks is correct, so I changed the subnet gateway to 255.255.0.0
I was hoping that the X and Y parameters would allow the address ranges to be of from 192.168. X0.0 to 192.168.X1.0 or something, but after releasing and renewing the DHCP leases on connected machines, the IP are still on the 192.168.0.X range
So either I'm not understanding what default subnet gateway actually is, or there is some other problem I'm not seeing?
Added http://superuser.com/questions which explains IPv4 subnetting in detail. (Question is a copy of the canonical answer on Serverfault).
– Hennes – 2016-07-27T16:32:53.463This looks like a duplicate of http://superuser.com/questions/54802/what-is-a-subnet-mask-and-the-difference-between-a-subnet-mask-of-255-255-255-0.
– bwDraco – 2011-05-16T00:57:53.213