What's new

network IP address space seems odd

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Justinh

Senior Member
Defining the IPv4 network seems discombobulated to me. Am I missing something in the firmware?
LAN - LAN IP lets you set the router's IP address and a subnet mask.
LAN - DHCP Server lets you set the IP pool start/end addresses, which may or may not be the usable address range.

There is not a straightforward way to say "this is the starting address and subnet mask".

So is the address range inferred by the LAN IP settings (knowing the router's address could be anything in the usable range of the subnet mask)?
 
There is not a straightforward way to say "this is the starting address and subnet mask".
Subnet ranges don't really work that way.

So is the address range inferred by the LAN IP settings (knowing the router's address could be anything in the usable range of the subnet mask)?
Yes.

Bear in mind this is a home router so the options are simplified for the target audience. It assumes that the router's own IP address will either be at the beginning of the IP range or the end.
 
Last edited:
Subnet ranges don't really work that way.
? I tend to think this way: My network address is x.x.x.x, apply the mask, and that gives me my range. A subnet mask can't be applied to just any network address and derive the range, can it? E.g, a network address of 10.1.1.24 with a subnet mask of 225.225.225.224 is invalid, right? (.24 falls in the range for network address .0)

So I can't arbitrarily set a range of host addresses. I guess this is what allows the firmware to calculate the range for the given host address and mask. (I assume the router wouldn't allow host addresses outside of the range via DHCP or otherwise ...)
 
A subnet mask can't be applied to just any network address and derive the range, can it?
Yes, that's exactly how it works. But "225.225.225.224" is not a valid subnet mask value.

Play with this: https://jodies.de/ipcalc

(I assume the router wouldn't allow host addresses outside of the range via DHCP or otherwise ...)
Regarding dnsmasq, the only restriction is that the DHCP addresses it manages must be within the subnet of the relevant interface. So for example you might have a DHCP range of 192.168.1.30 to 192.168.1.254 and also have some static devices at 192.168.1.10 and 192.168.1.20.
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top