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

    Appliance not ping-able via routing when DHCP made static.

    Scheduled Pinned Locked Moved DHCP and DNS
    8 Posts 3 Posters 560 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.
    • andrewKA
      andrewK
      last edited by

      I'm using a HA pair of SG-1100, using them as a router-on-a-stick as well as serving DHCP to the LAN plus 3 more VLANs.

      When I put my host on a VLAN and try to ping an appliance that has been served an IP via static DHCP, the ping times out.

      However when I remove the static IP and let DHCP serve a lease on an IP from the DHCP pool, I can ping it.

      Anybody...
      Any ideas on what's going on here?

      Thx,
      A

      1 Reply Last reply Reply Quote 0
      • andrewKA
        andrewK
        last edited by

        Sorry, allow me to amend the last post:

        When I put my host on a VLAN and try to ping an appliance that has been served an IP via static DHCP on the LAN, the ping times out.

        However when I remove the static IP and let DHCP serve a lease on an IP from the DHCP pool, I can ping the appliance on the LAN from the host on a VLAN.

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

          pfSense wouldn't care either way. Something in the network settings on the LAN host must be incorrect when set static. It could be a missing setting or a difference in client OS behavior (like Windows changing it to a public network instead of private)

          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 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Common mistakes made when setting static IPs on devices is mask, and or gateway - both of which could prevent ping from IP on a different network.. Because the device pinging might think the IP asking for the ping looks to be on the appliances own network, or doesn't know how to answer because missing or wrong gateway to respond to this remote network IP.

            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
            • andrewKA
              andrewK
              last edited by andrewK

              Sadly I don't think it's as simple as mask or GW.

              When I re-IP the host to the LAN (and plug into a LAN port), I can ping the appliance in question, having received its IP either statically or from the pool.

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

                So your saying when you move it to the network your pinging from you can ping it.. when you put it on another vlan you can not unless it gets its IP from dhcp..

                Sorry but that just screams mis-configuration... Pfsense doesn't care if client IP is static or dhcp gotten. So unless your doing something with static arp and dhcp reservations in pfsense - this would never come into play at all.. Other than mis-configuration on the client.

                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
                • andrewKA
                  andrewK
                  last edited by

                  Yup. It was a configuration issue.. and a GW issue at that.

                  Sorry all. Thanks for your time and help.

                  3's look like 1's, right?

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

                    @andrewK said in Appliance not ping-able via routing when DHCP made static.:

                    3's look like 1's, right?

                    hehehee - if you said 3 could look 8's I might agree ;) Or 1 like 7's

                    Glad you got it sorted..

                    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.