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

Frequent disconnection when with WAN network when using static IP from ISP

Scheduled Pinned Locked Moved General pfSense Questions
static ipwan gateway
17 Posts 4 Posters 1.8k 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.
  • S
    stephenw10 Netgate Administrator
    last edited by Jan 12, 2024, 6:21 PM

    You should still set the monitoring IP to something external. The ISPs gateway is under no obligation to respond to ping. It may just drop ping requests when it's loaded.

    R N 2 Replies Last reply Jan 13, 2024, 6:03 AM Reply Quote 0
    • R
      rajnetgen @stephenw10
      last edited by Jan 13, 2024, 6:03 AM

      @stephenw10
      Yes I use 3rd party like google dns or cloudflare as default but had changed to gateway to test
      The behaviour is same for both cases.
      When the connection starts to get packet loss, if I go to ARP table and delete the gateway entry then it starts to come back online else it wait for timeout and then come back online automatically.

      Can we reduce the ARP timeout?

      S 1 Reply Last reply Jan 13, 2024, 2:48 PM Reply Quote 0
      • N
        nischay @stephenw10
        last edited by Jan 13, 2024, 6:34 AM

        @stephenw10

        I tried both 1.1.1.1/8.8.8.8 even tried ip of my public VM running in digital ocean in Bengaluru, India as GW monitoring IP.

        I configured same static IP in my OpenWRT box and strangley not seeing any issue runnning fine for more then 2 weeks without any downtime.

        For now I have configured port forwarding to pfsense and added OpenWRT LAN ip as gateway in Pfsense.

        1 Reply Last reply Reply Quote 0
        • J
          JonathanLee
          last edited by Jan 13, 2024, 7:40 AM

          Have you checked your category 5, 6 or 7 the rj45 cable with a cable tester?

          Make sure to upvote

          N 1 Reply Last reply Jan 13, 2024, 7:59 AM Reply Quote 0
          • N
            nischay @JonathanLee
            last edited by Jan 13, 2024, 7:59 AM

            @JonathanLee

            It is CAT6 5 Feet patch cable. Used same cable to connect OpenWRT to ISP ONT.

            J 1 Reply Last reply Jan 13, 2024, 8:32 AM Reply Quote 0
            • J
              JonathanLee @nischay
              last edited by JonathanLee Jan 13, 2024, 8:34 AM Jan 13, 2024, 8:32 AM

              @nischay they have speed ratings for each type and use. is it a shielded one? It could be getting interference from elevators, or florescent lights, many issues. Swap out that cable for an upgraded one

              Make sure to upvote

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator @rajnetgen
                last edited by Jan 13, 2024, 2:48 PM

                @rajnetgen said in Frequent disconnection when with WAN network when using static IP from ISP:

                Can we reduce the ARP timeout?

                Yes you can set it as a system tunable: net.link.ether.inet.max_age
                pfSense/FreeBSD uses 1200s by default.

                N 1 Reply Last reply Jan 14, 2024, 7:06 AM Reply Quote 1
                • N
                  nischay @stephenw10
                  last edited by Jan 14, 2024, 7:06 AM

                  @stephenw10

                  Thanks for pointing it out. I have updated net.link.ether.inet.max_age to 60 seconds same as Linux default. I will update here if it help to resolve issue.

                  [root@pfsense-fw ~]# sysctl net.link.ether.inet.max_age
                  net.link.ether.inet.max_age: 60
                  
                  1 Reply Last reply Reply Quote 2
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Jan 14, 2024, 3:28 PM

                    I've once seen an ISP that would fail to arp for devices in that situation and so required a lower value there. So it's unlikely, but possible.

                    N 1 Reply Last reply Jan 15, 2024, 5:43 AM Reply Quote 1
                    • N
                      nischay @stephenw10
                      last edited by nischay Jan 15, 2024, 5:45 AM Jan 15, 2024, 5:43 AM

                      @stephenw10

                      Seems like changing ARP Cache TTL to 60 seconds fixed issue I was observing. Finally I have resolution to my issue such a relief. 😌

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