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

    Static ARP entry through ui?

    General pfSense Questions
    6
    17
    2.1k
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @JKnott
      last edited by

      @jknott Yeah that is exactly what he wants.

      arp.jpg

      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

      1 Reply Last reply Reply Quote 0
      • lanratL
        lanrat
        last edited by

        In my specific use case I'm looking for a static arp entry on my WAN interface. So the DHCP server settings won't help.

        jimpJ 1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate @lanrat
          last edited by

          @lanrat said in Static ARP entry through ui?:

          In my specific use case I'm looking for a static arp entry on my WAN interface. So the DHCP server settings won't help.

          If your WAN is static you can still do that with a static mapping entry on the WAN tab of the DHCP server without enabling DHCP there. I haven't tried that lately but IIRC that used to work.

          If it's not a static WAN, or if that doesn't work, then you may need to use some other method like you have been doing.

          It's highly unusual to need static ARP like that, though. Usually that "need" is more indicative of some other underlying problem that could be solved instead.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          lanratL 1 Reply Last reply Reply Quote 0
          • lanratL
            lanrat @jimp
            last edited by

            Unfortunately my WAN is dynamic. So it looks like shellcmd is my best option.

            I agree this solution is not ideal. The real problem is my ISP does not filter the WAN traffic and someone else is sending fake ARP packets on the WAN. Manually setting the ARP to my ISP's gateway fixes this.

            johnpozJ JKnottJ 2 Replies Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @lanrat
              last edited by

              @lanrat said in Static ARP entry through ui?:

              someone else is sending fake ARP packets on the WAN

              Seems like something I would contact the isp about.

              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

              lanratL 1 Reply Last reply Reply Quote 0
              • lanratL
                lanrat @johnpoz
                last edited by

                @johnpoz I have many times. Unfortunately they don't seem to understand or care. Its a small community ISP.

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

                  @lanrat so if you don't set static arp - and send traffic to this fake one.. Does it not go anywhere? Or does it actually still work? I would have to assume it someone trying to route traffic through themselves for nefarious reasons - or some sort of misconfig. If a misconfiguration, wouldn't all their other customers not smart enough to set a static arp be down?

                  Would you mind sharing what the correct mac is, and what you consider the bad/fake one? You sure its not just some sort of hsrp, carp or vrrp sort of thing? Where the isp has a HA pair setup?

                  Maybe they don't care because they think your crazy ;) And they have some sort of ha setup and your just setting static to one of the physical mac vs the vip?

                  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

                  1 Reply Last reply Reply Quote 0
                  • JKnottJ
                    JKnott @lanrat
                    last edited by

                    @lanrat

                    What type of connection do you have? Do you have a MAC address for the bogus ARP packets?

                    PfSense running on Qotom mini PC
                    i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                    UniFi AC-Lite access point

                    I haven't lost my mind. It's around here...somewhere...

                    1 Reply Last reply Reply Quote 0
                    • lanratL
                      lanrat
                      last edited by

                      I use a local WISP.
                      This affects all the users in my building.

                      The ISP's official solution to this is: "keep rebooting your modem until you get the correct WAN IP." I was not amused.

                      The OUI for the MAC being broadcast is for a netgear router. I think some user plugged their routers LAN port into the ISP's connection. And since the ISP does no filtering on the WAN, everyone gets the netgear router's DHCP leases along with the ISP's. But since the netgear router is in the building, it usually wins the race-condition. (this is my best guess giving the information I have).

                      I could also set the DHCP client to only accept leases from the correct DHCP server, but this would only work for IPv4 and not IPv6. (which is also being broadcast by both the ISP and random netgear router)

                      stephenw10S 1 Reply Last reply Reply Quote 0
                      • lanratL
                        lanrat
                        last edited by lanrat

                        To add: I have very low confidence in my ISP.

                        Most of their backend infrastructure is using default passwords and some is publicly exposed to the internet.

                        I've complained to them countless times about this but they just say they will look into it. Its been 2+ years since I first reported this to them, with no action taken. I don't expect them to change anything, and unfortunately I have no (practical) choice in ISP.

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

                          @lanrat said in Static ARP entry through ui?:

                          The ISP's official solution to this is: "keep rebooting your modem until you get the correct WAN IP." I was not amused.

                          Ouch. ๐Ÿ™„

                          You have any idea what the other device is? Is it giving you an IP in the same/correct subnet?

                          You can set the WAN to reject leases from an IP if it's just some other customers badly configured router.

                          Steve

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

                            @lanrat said in Static ARP entry through ui?:

                            To add: I have very low confidence in my ISP.

                            hehe - sorry to laugh, but man that sucks! You have any idea how many customers in the building? Maybe it would be possible to involve the building management to track down this bad netgear device?

                            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

                            1 Reply Last reply Reply Quote 0
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate
                              last edited by

                              Yikes that is ugly.

                              If it's that badly configured, have you tried logging into that random device with default credentials and turning off DHCP? :-)

                              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

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