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

    How to set static ip on DHCP device with no control access?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 392 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.
    • E
      eiger3970 0
      last edited by

      Hello,
      I have a device with DHCP, receiving something like 192.168.1.124 from the pfSense router's LAN DHCP server.
      I asked the device's support how to make a static IP on it, and they say they have no support for static IPs and I have to manage the device's IP from my network.
      So, I'm curious how I can set the device's IP to a static IP without much device control?

      I would have liked to SSH into it or use some admin settings, but there's no admin settings for static IP management and ssh admin@192.168.1.124 output says: ssh: connect to host 192.168.1.124 port 22: Connection refused.

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @eiger3970 0
        last edited by

        @eiger3970-0
        You can add a static mapping for the device.
        This possibly requires ISC DHCP.

        Go to Status > DHCP leases and pick its MAC address. Then go to the DHCP server settings and add a static mapping for it with the desired IP. Note that the IP has to be outside of the DHCP server pool range.

        However, this might have no impact on the SSH.
        Did you try the SSH access from inside the same subnet as the device? Maybe it blocks access from outside.

        1 Reply Last reply Reply Quote 2
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Yup use a static mapping: https://docs.netgate.com/pfsense/en/latest/services/dhcp/ipv4.html#static-mappings

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.