Setting up static DHCP leases from the cli

  • 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?


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

  • Ah! That'll do.