Error when assigning static to device
-
Hi,
I am trying to assign static IP addresses to my devices within my network. I started with 192.168.1.250 and went up by 1. However when I got to 192.168.1.255, I got the following error:
The IP address cannot be the LAN broadcast address.
My LAN broadcast address is 192.168.1.1 so I don't really understand the error. If I choose 256 then I get the following errors:
A valid IPv4 address must be specified.
The IP address must lie in the LAN subnet.What am I doing wrong?
Thanks in advance.
-
@floppypen
Yes, it's obviously the broadcast address, assuming your LAN is 192.168.1.0/24.My LAN broadcast address is 192.168.1.1
This could only be the case if you LAN is 192.168.1.0/31.
I guess, this is the interface address.
Each subnet has a broadcast address, which is the last one.
If you LAN is 192.168.1.0/24 then 192.168.1.0 is the network address and 192.168.1.255 is the broadcast address. All between them can be used. 192.168.1.256 is invalid, it doesn't exist at all.
-
@viragomann thanks. I understand the issue now.