Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm playing with my router configuration, and I want to understand what happens from changing the default subnet mask from to is expected to do

More details, I had

Router IP Address:
default subnet gateway:

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

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?

share|improve this question
This looks like a duplicate of…. – bwDraco May 16 '11 at 0:57
Added which explains IPv4 subnetting in detail. (Question is a copy of the canonical answer on Serverfault). – Hennes 10 hours ago
up vote 4 down vote accepted

The subnet mask shows the break point for the network side and the host side of a subnet so for a subnet would allow a range of to Changing the subnet to will allow a range of to in ether case is a usable address for a host in the subnet. I hope this helps.

share|improve this answer
yes, but the first IP assigned is still 192.168.0.X where X is non-zero, so i presume that the router X,Y address range parameters are parametrizing only the lowest significant byte in the address range, so it seems to be useless to parametrize the rest – lurscher May 16 '11 at 2:00
The mask does not do that in most home router setups alone, some setting in your router is setting a parameter for IP address besides the mask. The mask only states host address can be from A to Z in this subnet. You can use a mask to limit that range. In my home router the DHCP settings is used to set the IP pool range in addition to the mask, the mask must allow for that IP range (starting point and ending point) or my home system would not work. – N4TKD May 16 '11 at 2:14
thanks! this is precisely what i wanted to know. – lurscher May 16 '11 at 2:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .