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

    Setting up static DHCP leases from the cli

    DHCP and DNS
    2
    3
    2.5k
    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.
    • C
      carriage
      last edited by

      I'm in the process of moving my local network from Tomato to pfSense and I'm dreading the prospect of having to click around the web ui to manually duplicate my current DHCP server config which has a decent number of static DHCP mappings. It'd be much quicker if I could set these up in the command line but after looking around it's not really clear to me where I should be looking and I couldn't find any dnsmasq configs. Any pointers?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • M
        mikeisfly
        last edited by

        Add a static ip through the GUI, and save it. Then download the config .xml file. Edit it with notepad and then restore it back to Pfsense.

        1 Reply Last reply Reply Quote 0
        • C
          carriage
          last edited by

          Ah! That'll do.

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