• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Error when assigning static to device

Scheduled Pinned Locked Moved DHCP and DNS
3 Posts 2 Posters 242 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    floppypen
    last edited by Dec 29, 2023, 12:51 PM

    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.

    V 1 Reply Last reply Dec 29, 2023, 1:00 PM Reply Quote 0
    • V
      viragomann @floppypen
      last edited by Dec 29, 2023, 1:00 PM

      @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.

      F 1 Reply Last reply Dec 29, 2023, 1:03 PM Reply Quote 1
      • F
        floppypen @viragomann
        last edited by Dec 29, 2023, 1:03 PM

        @viragomann thanks. I understand the issue now.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received