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

    Static ARP Mapping

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 3 Posters 989 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.
    • NollipfSenseN
      NollipfSense
      last edited by

      The ARP table has the IP address yet I cannot get the Static ARP mapping check mark like the first one...see below and I am wondering why?

      Screen Shot 2023-11-16 at 3.05.19 PM.png

      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

      1 Reply Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense
        last edited by

        Well, although the Mac pro's IP was already in the ARP table, to get the check mark, one has to select create a static entry as below:
        Screen Shot 2023-11-19 at 11.26.57 PM.png
        Screen Shot 2023-11-19 at 11.28.15 PM.png

        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

          Yes you have to set static ARP in the static dhcp lease entry. However I recommend not doing that. Setting static ARP almost always causes more problems than it solves.

          NollipfSenseN 1 Reply Last reply Reply Quote 1
          • NollipfSenseN
            NollipfSense @stephenw10
            last edited by

            @stephenw10 said in Static ARP Mapping:

            However I recommend not doing that. Setting static ARP almost always causes more problems than it solves.

            Well, I had a problem with the Mac pro where I could not communicate with any clients on the network except pfSense. That's with the switch set as the first static mapped device. It was working and suddenly stopped. Also, on the Mac pro, it was configured for "using DHCP with manual address" and pfSense's configured DHCP lease range 105 - 254. The Mac pro is on 10.8.27.3 and it could ping the switch on 10.8.27.2 as well as I couldn't ping pfSense from the Mac pro. I could only ping the Mac pro from pfSense. I could not ping Proxmox or VM OpenMediaVault.

            So, that's why I added the Mac pro to the static mapping however, if the scenario I described above could be the result of using ARP static mapping, it cost me several days baffled as to why I could not ping anyone else on the network except pfSense and even then, I could only ping the Mac pro from only pfSense. So, I changed the Mac pro to use manual address and that's how I resolved the issue.

            pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
            pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

              That is the sort of weirdness that static ARP can cause.

              NollipfSenseN 1 Reply Last reply Reply Quote 0
              • NollipfSenseN
                NollipfSense @stephenw10
                last edited by

                @stephenw10 said in Static ARP Mapping:

                That is the sort of weirdness that static ARP can cause.

                It seems that my switch TP-Link (TL-2008p L2, l3, l4) is also contributing to the weirdness and acting like a firewall. There seems to be no way to assign it a static address and why I had decided to use static ARP mapping. I also need to read more on its manual.

                pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                  @NollipfSense what version do you have? Are you trying to manage it from cli, or are you using the omada software?

                  What firmware are you running on the switch?

                  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.7.2, 24.11

                  NollipfSenseN 1 Reply Last reply Reply Quote 0
                  • NollipfSenseN
                    NollipfSense @johnpoz
                    last edited by

                    @johnpoz said in Static ARP Mapping:

                    @NollipfSense what version do you have? Are you trying to manage it from cli, or are you using the omada software?

                    What firmware are you running on the switch?

                    John, its hardware version -TL-SG2008P 3.o, firmware - 3.0.5 built 20230602 Ref. 73473 and I am using the webGUI of the IP that pfSense's DHCP assigned. For unknown reasons, port 1 and port 3 not showing connected and traffic moving despite 1 is pfSense's LAN and 3 is a Mac pro. I can ping the Mac pro from pfSense only but not the Mac pro and I can access pfSense's webGUI from the Mac pro. Yet, port 1 and port 3 both show no traffic, or connected. This switch was recently purchase three or four months ago.

                    Thinking about pulling the trigger on a used Dell x1018P E11W 16port fully managed switch...

                    pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                    pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                      @NollipfSense I am not sure how much that webgui of that switch supports. My understanding those switches are meant to be managed via the controller.

                      Not a fan of such switches.. I mean they should work and clearly from the cli manual you can set a static IP on interface... You sure your on the actual admin IP, and not some vlan svi? That also could be limited?

                      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.7.2, 24.11

                      NollipfSenseN 1 Reply Last reply Reply Quote 0
                      • NollipfSenseN
                        NollipfSense @johnpoz
                        last edited by NollipfSense

                        @johnpoz said in Static ARP Mapping:

                        Not a fan of such switches.. I mean they should work and clearly from the cli manual you can set a static IP on interface... You sure your on the actual admin IP, and not some vlan svi? That also could be limited?

                        Should have asked the forum before purchasing...here is the webGUI with IP from pfSense's DHCP and the two ports noted by arrows...just downloaded the CLI guide...not a fan. That's was why I turned to pfSense static ARP mapping.
                        Screen Shot 2023-11-25 at 1.49.05 PM.png

                        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                          @NollipfSense here is what I can tell you about static arp and 23.09.. So it seems that if you set static arp, and then the client does some dhcp stuff you could see the arp go from perm to dynamic.. Resaving will set it back to static in the arp table.

                          Pretty sure there is a redmine about this already, and believe fixed in the upcoming 24.03..

                          And also ran into an old thing that hadn't noticed before but have been paying more attention to the dhcp log, etc. Along with the issue with dhcp answering from a non 67 port that some are seeing - you can replace the dhcpd binary from 23.05 and this seems to correct that problem.

                          And also was seeing uid lease duplicate - which has to do with client got a lease, then you set static and the old lease is still there even though the client gets the static, it logs that there is duplicate, some have seen issues with this.

                          Fix for those entries is make sure you flush the old lease, I did it by hand by editing the dhcp.leases file..

                          So in general there is quite a bit of stuff going on with dhcp in general - also the move to kea version not supporting all features, etc. etc. I would hope they have all the issues worked out by next release.

                          I have not run into anything that is a major problem, some log spam if you will and static arp not staying as perm can be problematic if you want to actually set a static..

                          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.7.2, 24.11

                          NollipfSenseN 1 Reply Last reply Reply Quote 1
                          • NollipfSenseN
                            NollipfSense @johnpoz
                            last edited by

                            @johnpoz said in Static ARP Mapping:

                            So in general there is quite a bit of stuff going on with dhcp in general - also the move to kea version not supporting all features, etc. etc. I would hope they have all the issues worked out by next release.

                            I found out that it was really kea dhcp not letting go of leases that was the culprit. I have gotten rid of the static mapping.

                            pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                            pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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