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

    PPPoE with dynamic IP do not automatically reconnect

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 839 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.
    • E
      emitor
      last edited by

      Hi,

      I have a pfSense 2.1 amd64 release that has two wan configured. An static IP connection (now on WAN1) as a default gateway used for the servers and a dynamic IP connection through PPPoE (now in WAN2) that I use to web browsing and everything else. The particular configuration that I have is that I had configured a gateway group to use the WAN1 as a backup of the WAN2.

      The ISP change the IP address of the WAN2 every 12 hours and the issue that I have is that the pfSense do not reconnect when this happens. If I disable and re enable the interface manually the WAN2 connection is restored.

      Do you have any idea of why is this happening?

      Regards!

      1 Reply Last reply Reply Quote 0
      • E
        emitor
        last edited by

        It seems to be an issue of apinger that has troubles in this version of pfSense. I've configured cron to reset the apinger every 5 minutes and it seems to work. It's not the solution but at least a workaround.

        Here is the script that I execute with cron:

        
        #!/bin/sh
        killall apinger
        sleep 3
        /usr/local/sbin/apinger -c /var/etc/apinger.conf
        
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.