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

    How to add an arp table containing a hundred entries without restarting the pfsense router?

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 657 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.
    • L
      linkdragon70
      last edited by

      Hello everyone,

      We have a problem. We have to look on the forum the mutliples methods to add entries in the table arp (modify the file config.xml backup + restore, somebody even develop an automated program that uses the browser to add the entries one at a time) . In short, there is no easier way to add, for example, a list as a .csv file or just manually change the dhcp configuration on the command line to add hundreds of entries in one go?

      Why I ask this is because my company has a small data center and pfsense is the main router, we filter our clients, among other things, using the arp table to prevent the use of IP address no authorized. The inability to turn off the router and the increase in the number of clients will soon render this method ineffective.

      I know that the cisco router offers this function of adding a lot of inputs, I also thought to make a firewall on linux just in front of the pfsense that would do just that.

      Thank you for your answers

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        What eactly are you wanting to do? Add 100 static dhcp reservations? Why would that require a reboot of pfsense?

        You can add a static arp with copy paste right at the cmd line...

        Why can you not just
        arp -f filename to load in as many static arps you want?

        If you want to add staticmappings just edit them into your xml backup of your dhcp server. There are many places and ways to convert a csv file to xml format.. Here is a thread from 3 years ago that is exactly what your asking
        https://forum.netgate.com/topic/91107/how-to-add-bulk-of-mac-address-with-ip-address-into-dhcp-server/9

        None of which requires a reboot of anything..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • L
          linkdragon70
          last edited by

          Hello,

          I want to add a hundred or more static mapping to my dhcp server. But as explained, I know how to add / edit in the .xml file, but the changes I make require a restart of the router to take effect.

          My question is if there is a way to make additions / changes without restart?

          Regards,

          Gabriel

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Restart the dhcpd

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

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