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

pfsense cannot ping router unless router is pinging pfsense

Scheduled Pinned Locked Moved General pfSense Questions
6 Posts 4 Posters 429 Views 4 Watching
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.
  • E Offline
    ebj29
    last edited by Jul 2, 2024, 12:12 PM

    Hello all,
    I’m looking for help on a strange problem. Any help would be greatly appreciated.
    I have a pfSense firewall that cannot ping the router’s gateway IP (or anything farther, like 1.1.1.1) unless the router is pinging the firewall.
    The setup is :
    I have WAN /28 with the first usable address on Mikrotik router RB960 as gateway xxx.xxx.xxx.128/28, and I have declared one of the public addresses on a pfSense firewall xxx.xxx.xxx.136/28.
    There are two other routers between the FTTH router and the pfSense, all with pass through for VLAN 1705.
    The RB960 can ping the pfSense firewall with no problem.

    When I ping from the pfsense to the gateway on the RB960 it does not respond unless the RB960 is pinging the pfsense address at the same time.
    Also, while the RB960 is pinging the pfsense, the LAN side of the pfsense has fast responding access to the internet. If I stop pinging from the RB960, the internet access becomes very slow responding or even time out.
    I have set the ARP on the RB960 to the pfsense IP as permanent, with no change.

    Also, I have deactivated all of the Firewall rules on the RB960 and tested again with no change, of course reactivating them again.

    Please, any ideas of help would be greatly appreciated.

    E V 2 Replies Last reply Jul 2, 2024, 12:27 PM Reply Quote 0
    • E Offline
      ebj29 @ebj29
      last edited by ebj29 Jul 2, 2024, 12:35 PM Jul 2, 2024, 12:27 PM

      @ebj29
      I should mention, We put a Windows laptop on the same network port, with the same ip /28 address and it has no problem with accessing the gateway and internet.

      J 1 Reply Last reply Jul 2, 2024, 4:16 PM Reply Quote 0
      • V Offline
        viragomann @ebj29
        last edited by Jul 2, 2024, 1:45 PM

        @ebj29 said in pfsense cannot ping router unless router is pinging pfsense:

        I have WAN /28 with the first usable address on Mikrotik router RB960 as gateway xxx.xxx.xxx.128/28

        .128 is not usable in a /28 subnet.

        So maybe, that's a typo and your gateway is .129?
        If so, ensure, that you have configured the interface subnet mask correctly on pfSense and stated the gateway in the WAN settings.

        E 1 Reply Last reply Jul 2, 2024, 2:53 PM Reply Quote 2
        • E Offline
          ebj29 @viragomann
          last edited by ebj29 Jul 2, 2024, 2:56 PM Jul 2, 2024, 2:53 PM

          @viragomann Hi and thank for your reply.
          It is usable as the gateway ip of the outside facing router
          with xxx.xxx.xxx.128/28 and all usable through to xxx.xxx.xxx.142 with broadcast on xxx.xxx.xxx.143

          For anyone ever facing the same problem ; I found the problem / solution.

          The vlan interface on the RB960 FTTH router in which the gateway IP is assigned, (vlan1705 vlan interface device) was attached to the port connected to the inside router.
          I changed it to be attached to the Bridge and the problem went away.
          Ouf !

          1 Reply Last reply Reply Quote 0
          • S Online
            stephenw10 Netgate Administrator
            last edited by Jul 2, 2024, 2:58 PM

            .128 is the network address there if the subnet is routed to you. You should use .129 as the gateway.

            https://jodies.de/ipcalc?host=83.172.155.128&mask1=28

            1 Reply Last reply Reply Quote 0
            • J Offline
              johnpoz LAYER 8 Global Moderator @ebj29
              last edited by johnpoz Jul 2, 2024, 4:17 PM Jul 2, 2024, 4:16 PM

              @ebj29 said in pfsense cannot ping router unless router is pinging pfsense:

              with the same ip /28 address

              I am with @viragomann and @stephenw10 on this - while it might work in some scenarios.. .128 is the wire on a /28 cidr.. Shouldn't really be used as a host address. Same with .143 in that /28 being the "broadcast" while both wire/network address, broadcast address can sometimes be used as actual host address.. Wire/Network address and broadcast shouldn't really be used as host addresses.

              Glad you got it sorted, but using those addresses as host when they are not meant as that is bad practice..

              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 25.07 | Lab VMs 2.8, 25.07

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received