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

    Problems reestablishing the connection

    Scheduled Pinned Locked Moved General pfSense Questions
    20 Posts 4 Posters 1.7k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      So you manually did something during that log to make it connect?

      1 Reply Last reply Reply Quote 0
      • P
        Panja
        last edited by

        The log does not show that it connects. It doesn't automatically...
        But I mean I can reboot pfSense in order to get the connection back or I can do a release and renew on the WAN interface (status --> interfaces -> WAN).

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          So it spends 1m broadcasting for DHCP servers and gets no replies and then uses the old address and gateway?

          Probably time for a packet capture to see what's actually being sent and recieved.

          1 Reply Last reply Reply Quote 0
          • P
            Panja
            last edited by Panja

            The strange thing is that the old ip and gateway are correct.
            They are dynamic but do not change (or maybe once in 5 years).
            So for some strange reason the connection stays down...

            1 Reply Last reply Reply Quote 0
            • P
              Panja
              last edited by Panja

              I can confirm it's not a problem with DHCP.

              I removed the DHCP (WAN) Gateway and created a static one.
              When I pull the power cord on the modem and let it come back up after a few minutes the connection is not reestablished and I have to reboot pfSense in order to get connectivity.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Mmm, packet capture time.

                Does removing the WAN cable and reconnecting it also bring back the connection?

                Steve

                1 Reply Last reply Reply Quote 0
                • P
                  Panja
                  last edited by

                  Will try the cable tomorrow.
                  Where to start with the capture?
                  Can you put me in the right direction?

                  1 Reply Last reply Reply Quote 0
                  • B
                    bcruze
                    last edited by

                    this is happening on every pfsense device I own since changing ISP this now makes sense 😔

                    Following this thread for possible resolution

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Capture on WAN when it's down. See if you see any packets coming in at all.

                      1 Reply Last reply Reply Quote 0
                      • B
                        bcruze
                        last edited by bcruze

                        just went down again. packetcapture.cap [0_1582154630708_packet capture.docx](Uploading 100%)

                        i went to status > interface. release and renewed and was backonline instantly

                        Feb 19 18:21:53 dhcpd DHCPREQUEST for 192.168.1.240 from 18:e8:29:46:fb:3f via igb1
                        Feb 19 18:21:53 dhcpd DHCPACK on 192.168.1.240 to 18:e8:29:46:fb:3f via igb1
                        Feb 19 18:21:59 dhclient Internet Systems Consortium DHCP Client 4.3.6-P1
                        Feb 19 18:21:59 dhclient Copyright 2004-2018 Internet Systems Consortium.
                        Feb 19 18:21:59 dhclient All rights reserved.
                        Feb 19 18:21:59 dhclient For info, please visit https://www.isc.org/software/dhcp/
                        Feb 19 18:21:59 dhclient Listening on BPF/igb0/00:08:a2:09:e9:be
                        Feb 19 18:21:59 dhclient Sending on BPF/igb0/00:08:a2:09:e9:be
                        Feb 19 18:21:59 dhclient Can't attach interface {} to bpf device /dev/bpf0: Device not configured
                        Feb 19 18:21:59 dhclient If you think you have received this message due to a bug rather
                        Feb 19 18:21:59 dhclient than a configuration issue please read the section on submitting
                        Feb 19 18:21:59 dhclient bugs on either our web page at www.isc.org or in the README file
                        Feb 19 18:21:59 dhclient before submitting a bug. These pages explain the proper
                        Feb 19 18:21:59 dhclient process and the information we find helpful for debugging.
                        Feb 19 18:21:59 dhclient exiting.
                        Feb 19 18:21:59 dhclient 30894 connection closed

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          There are only 100 packets there, it's all outbound from 100.92.220.245 and none of it is DHCP.

                          But you should start your own thread. Unless this turns out to be identical it's only going to confuse things here.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.