static ip question

Jan 24, 2025
3
1
usa
customer gave me an address range, ex 10.2.2.2 /28 how do i use this? always had just the 4 octets. i know its sub netting but how do enter the addresses to the cams?
thanks
 
customer gave me an address range, ex 10.2.2.2 /28 how do i use this? always had just the 4 octets. i know its sub netting but how do enter the addresses to the cams?
thanks
What is it your're doing?
And why did customer give you an address range?
 
  • Like
Reactions: looney2ns
customer gave me an address range, ex 10.2.2.2 /28 how do i use this? always had just the 4 octets. i know its sub netting but how do enter the addresses to the cams?
thanks

Is it a POE NVR?
If so, then the NVR wil handle the IPaddresses of the cams.
You then would assign a unique, static IP to the NVR's LAN that is in the subnet you were given, but outside any functioning router's DHCP pool.
 
  • Like
Reactions: johnfitz
With such limited information, I am fairly sure the customer is asking for the NVR's public network interface to be assigned the address 10.2.2.2 with subnet mask 255.255.255.240, and they PROBABLY don't care what IP addresses the cameras have as long as the NVR can communicate with them properly.

I speculate that they are using 10.2.2.1 for their own router/firewall, and 10.2.2.3 through 10.2.2.14 are unused or reserved for future use.

Use mask 255.255.255.240 and IP addresses in the range 10.2.2.2 to 10.2.2.15
You're off by one. The usable IP range for that subnet is 10.2.2.1 to 10.2.2.14. The broadcast address is 10.2.2.15.

A subnet calculator is the most reliable way to make sense of it. IP Subnet Calculator

1738166518700.png
 
  • Love
Reactions: Flintstone61
I've worked with TCP/IP address for many years and set up many private networks, but never really grasped the reason you would configure the subnet this way, 255.255.255.240 or /28 for only 14 usable addresses.

What is the advantage of setting such a small subnet?

If I were to set a static IP address outside of the range, say 10.2.2.100, will this address not be seen (routed) on the network?

I think I mentioned before, "from what I've learned so far, there is always more to learn."
 
  • Like
Reactions: Flintstone61
I've worked with TCP/IP address for many years and set up many private networks, but never really grasped the reason you would configure the subnet this way, 255.255.255.240 or /28 for only 14 usable addresses.

What is the advantage of setting such a small subnet?

If I were to set a static IP address outside of the range, say 10.2.2.100, will this address not be seen (routed) on the network?

I think I mentioned before, "from what I've learned so far, there is always more to learn."
10.2.2.100 falls outside of the useable address range. Citing the screen shot from @bp2008 below:
1738618746869.png
 
OK, I see that thanks for the quick response.
What is the advantage/disadvantage of this type of network with so few addresses? Is it some effort at security by limiting the total number of ip addresses?
Or is it, it's being done only because it can be done?
 
OK thanks for the explanation.
I can see the application in a business with several networks, but on a private LAN, it seems overkill to keep unwanted computers from accessing the specific network if all addresses are assigned.
Still learning, thanks for the responses.
 
OK, I see that thanks for the quick response.
What is the advantage/disadvantage of this type of network with so few addresses? Is it some effort at security by limiting the total number of ip addresses?
Or is it, it's being done only because it can be done?
Only because it CAN be done. And maybe because of a bit of misplaced fear about IPv4 address scarcity. The private 10.x.x.x IP address space has nearly 17 million addresses. It is enough for 65536 distinct /24 subnets (a.k.a. subnet mask 255.255.255.0) so there is not much reason to ever use smaller subnets.

Internet service providers do use smaller IPv4 subnets like /28 often when they want to sell a block of addresses to a customer, but that is because they actually do have a scarcity problem that isn't just imagined.