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

    Hosts with DHCP address cannot ping each other but static entries can…

    Scheduled Pinned Locked Moved DHCP and DNS
    14 Posts 3 Posters 1.1k 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.
    • B
      burnsl
      last edited by

      @Grimson:

      Not a pfSense problem, as it can't filter traffic within the same network: https://doc.pfsense.org/index.php/Firewall_Rule_Troubleshooting#Unfilterable_Traffic

      Correct - it's not filtering it.

      However any host with a static address in the .2 network can ping other hosts.

      Any host that gets it's IP from PFSENSE DHCP cannot.

      This is driving me NUTS

      1 Reply Last reply Reply Quote 0
      • B
        burnsl
        last edited by

        ISSUE RESOLVED

        it was a screwed up ARP Table for the network (.2) inside the Wireless Access Point

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

          @burnsl:

          ISSUE RESOLVED

          it was a screwed up ARP Table for the network (.2) inside the Wireless Access Point

          That doesn't make sense.  An access point wouldn't maintain an arp table entry for anything that was not directly communicating with.  For example, it would have one for a computer being used to configure it, but it wouldn't have for any device that it was simply passing traffic for.  In that respect, an access point is no different than a switch.  Like a switch, however, access points will maintain a table of MAC addresses, so that it knows where to forward frames, but that has nothing to do with IP addresses.  The arp table is used to map an IP address to a MAC address.  Also, arp table entries have a fairly short lifetime, typically 10-20 minutes, so even bad entries should soon disappear.  The MAC address table, used for forwarding also has a fairly short lifetime.

          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
          • B
            burnsl
            last edited by

            @JKnott:

            That doesn't make sense.  An access point wouldn't maintain an arp table entry for anything that was not directly communicating with.  For example…

            Welp, okay.
            You're right.  So, why then when I rebooted my AP, the problem went away?

            Ubiquiti access points (The one here is a Ubiquiti AP-AC-HD), it has tons of capability like a guest portal, etc.
            I have all that disabled because Pfsense does all this, but are you SURE about it not being related to some IP/MAC ARP-like table?

            Why would rebooting the AP restore function?
            Why would it only be DHCP addresses given by Pfsense and not affect hosts with static addresses?

            1 Reply Last reply Reply Quote 0
            • GrimsonG
              Grimson Banned
              last edited by

              @burnsl:

              Why would it only be DHCP addresses given by Pfsense and not affect hosts with static addresses?

              I think there is a big misunderstanding here, both of the above are addresses the client gets via DHCP. The only difference is that a static lease has a fixed address while the non-static client gets a random address from the DHCP pool, but both work via DHCP. A real static address would be configured directly on the client, without any involvement of pfSense.

              Note: In static leases you can override other DHCP options, which can have an effect. But then you should know what you did different there. This also wouldn't be fixed by rebooting the AP.

              1 Reply Last reply Reply Quote 0
              • B
                burnsl
                last edited by

                @Grimson:

                @burnsl:

                Why would it only be DHCP addresses given by Pfsense and not affect hosts with static addresses?

                I think there is a big misunderstanding here, both of the above are addresses the client gets via DHCP.

                Nope, wait…
                There definitely is a misunderstanding here.

                I know how the addresses are given out and I understand the reservation/random thing you refer to however...

                I built the whole thing here end to end and I MANUALLY assigned the static addresses to the hosts that I say have them.

                So...
                hosts with static addresses can ping other hosts in the same subnet.
                hosts with DHCP addresses can NOT ping other hosts in the same subnet.

                I simply rebooted the Ubiquiti AP and my wireless and wired devices on this subnet were able to see each other again.

                How would rebooting the AP return full function to the network?

                I changed nothing else.

                1 Reply Last reply Reply Quote 0
                • GrimsonG
                  Grimson Banned
                  last edited by

                  Did you enable the "Guest Policy" on the AP, if yes that will prevent wireless clients from talking to other wireless devices in the network. If not your best bet would be the Ubiquiti forums, as this is still not a pfSense issue.

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

                    You're right.  So, why then when I rebooted my AP, the problem went away?

                    All that indicates is there may have been a problem with the AP.  However, it wouldn't have anything to do with ARP.  Perhaps you can do some research on what ARP is about.

                    On a local network, all traffic is carried using the MAC address, not IP.  So, when a device wants to communicate with another, it looks up the IP address in it's ARP cache and then uses the corresponding MAC address.  If it isn't there, then an ARP request is sent out, asking who has this IP address.  The device with that address then responds and it's MAC address is then added to the ARP cache.  Communication can now take place, using that MAC address.  As long as it's being used, that IP/MAC pair will remain in the cache.  Then, at some point after the last communication, the entry will be removed from the cache.  So, unless a device has recently had direct communication with, not through, the AP, there will be nothing in the APs ARP cache.  When traffic passed through the AP, the MAC address will be cached only for the purposes of forwarding, but it will not contain any IP address, as it is not relevant to the forwarding process.

                    https://en.wikipedia.org/wiki/Address_Resolution_Protocol

                    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
                    • B
                      burnsl
                      last edited by

                      @Grimson:

                      Did you enable the "Guest Policy" on the AP, if yes that will prevent wireless clients from talking to other wireless devices in the network. If not your best bet would be the Ubiquiti forums, as this is still not a pfSense issue.

                      So, I agree (mostly) that this isn't a Pfsense issue, but since Pfsense is handing out DHCP addresses and those are the only ones that cannot talk to each other on the same subnet, then the jury is still out on this.

                      I also found the "Guest policy" issue on the Ubiquiti forums, but i don't have that checked.
                      Also that wouldn't have caused the issue to resolve after a reboot of the AP, as that setting would still be there.

                      This is still a mystery.

                      1 Reply Last reply Reply Quote 0
                      • B
                        burnsl
                        last edited by

                        @JKnott:

                        You're right.  So, why then when I rebooted my AP, the problem went away?

                        All that indicates is there may have been a problem with the AP.  However, it wouldn't have anything to do with ARP.  Perhaps you can do some research on what ARP is about.

                        On a local network, all traffic is carried using the MAC address, not IP….

                        Yes I do know this, and I learned a while back that there isn't ARP in play here.

                        However, since the issue was related to IP addresses handed out by PFsense and manually installed static addresses had no issue, I question where the issue truly is.

                        Was the issue in the Pfsense server, and the reboot of the AP reset the link on that NIC causing something in the server to clear/reset?
                        Was the issue in the AP and the reboot caused something in the AP to clear/reset?

                        If this happens again I certainly will disable and re-enable the interface the AP is connected to first to check.

                        On the Pfsense FW I reset / cleared the State table often and the issue remained, so that wasn't it.

                        I have never seen anything treat DHCP addressed devices differently (in this way) than statically addressed devices.

                        1 Reply Last reply Reply Quote 0
                        • GrimsonG
                          Grimson Banned
                          last edited by

                          @burnsl:

                          Yes I do know this, and I learned a while back that there isn't ARP in play here.

                          However, since the issue was related to IP addresses handed out by PFsense and manually installed static addresses had no issue, I question where the issue truly is.

                          Well if the devices received a correct IP and netmask, as you already confirmed, pfSense is out of the picture it's involvement stops right there. Traffic of devices on the same network segment doesn't even reach pfSense, this is all handled by the switch/ap responsible for this network.

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

                            I have never seen anything treat DHCP addressed devices differently (in this way) than statically addressed devices.

                            If all the devices have a valid IP address, it's not a DHCP issue.  The only relevant DHCP info, for communicating over the local network, would be IP address and subnet mask.  On computers, you can check the ARP cache to see if a device you're trying to contact is in it.  As I've mentioned many times, in these forums, capturing traffic can help understand the problem.  Packet Capture on pfSense will only capture traffic for or passes through pfSense, as well as broadcasts.  So, to capture traffic you'd need Wireshark and a means, such as port mirroring with a managed switch, to capture the traffic.  You can also run Wireshark on any computer that's involved in the problem.  Without knowing what's on the wire, we're largely guessing, in the absence of other information.

                            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
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.