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



  • 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



  • 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.


  • Rebel Alliance Developer Netgate

    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)


  • LAYER 8 Global Moderator

    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.



  • 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.


  • LAYER 8 Global Moderator

    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.



  • 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?


  • LAYER 8 Global Moderator

    @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..


Log in to reply