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

pfSense fails to restore IPV6 after WAN side service interruption

Scheduled Pinned Locked Moved General pfSense Questions
37 Posts 8 Posters 4.2k 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.
  • J
    jcyr @JKnott
    last edited by Jul 6, 2019, 7:16 PM

    @JKnott said in pfSense fails to restore IPV6 after WAN side service interruption:

    This brings up the question, is the OPs modem in bridge o

    Bridge, of course.

    IPV6 Test: http://ipv6-test.com

    1 Reply Last reply Reply Quote 0
    • P
      provels
      last edited by provels Jul 6, 2019, 7:56 PM Jul 6, 2019, 7:52 PM

      My setup:
      ISP - Comcast
      Modem - Netgear CM600
      Bridge mode
      Non-Puma chipset (Broadcom)
      Does not do LAN DHCP when ISP drops AFAICT
      pfSense is direct connect to the modem (but as a VM)
      IPv4 comes back fine, have to bounce the IPv6.
      (Just stirrin' the pot! :)

      Peder

      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

      1 Reply Last reply Reply Quote 0
      • J
        jcyr @JKnott
        last edited by Jul 6, 2019, 8:29 PM

        @JKnott Ok, tried that, interesting result.

        With the switch inline, pfSense never notices that the modem's gone away, other than apinger and NTP complaining of loss of connectivity. Reconnecting the coax lets the modem re-register, and connectivity is restored on the very same V4 and V6 addresses.

        Without the inline switch I managed to reproduce the original problem. Pulling the coax immediately cause the IP address to switch to 192.168.100.10, so I guess there is a short Ethernet link interruption. However, V6 connectivity was not restored. Restarting the radvd service re-established V6 connectivity.

        IPV6 Test: http://ipv6-test.com

        1 Reply Last reply Reply Quote 0
        • L
          ljr
          last edited by ljr Jul 6, 2019, 9:10 PM Jul 6, 2019, 9:09 PM

          @jcyr interesting, I will be putting a dummy switch between the modem and router, that may indeed be the simplest work around.

          It's rather odd that there is an interruption at the ethernet layer when the coax is pulled - you'd think that the switch ports at the back of the modem are exactly that, just a switch.

          I don't think it has anything to do with the Puma chipsets (which are notoriously terrible at maintaining decent first hop latency), but it may have something to do with firmware. Given that @provels reproduced the issue with a Broadcom chipset, I'm going to assume there is a gremlin in Comcast's firmware that causes a momentary ethernet interruption. Again, Rogers exactly mirrors Comcast's technology - identical hardware, identical firmware.

          At this point I believe we ruled out that the issue lies with pfSense, it is widely reproducible, and I doubt any of the cable providers will consider it an issue as any non-standard use of their garbage "residential gateways" are explicitly unsupported.

          tl;dr
          Mainstream DOCSIS residential gateways are never truly bridged even operating in bridge mode. This worked fine prior to dual-stack going mainstream, although I do have to praise Comcast (and Rogers) for their otherwise superb IPv6 support. (/56 per gateway is pretty cool)

          1 Reply Last reply Reply Quote 0
          • J
            jcyr
            last edited by Jul 6, 2019, 9:22 PM

            @ljr said in pfSense fails to restore IPV6 after WAN side service interruption:

            I will be putting a dummy switch between the modem and router, that may indeed be the simplest work around.

            That will only work if Comcast assigns the same V4 and V6 addresses to you upon re-registration. I know this to be mostly true for Comcast, but not guaranteed.

            IPV6 Test: http://ipv6-test.com

            L J 2 Replies Last reply Jul 6, 2019, 9:44 PM Reply Quote 0
            • L
              ljr @jcyr
              last edited by Jul 6, 2019, 9:44 PM

              @jcyr said in pfSense fails to restore IPV6 after WAN side service interruption:

              That will only work if Comcast assigns the same V4 and V6 addresses to you upon re-registration. I know this to be mostly true for Comcast, but not guaranteed.

              I don't recall my v4 address ever changing, unless I change the MAC address on my WAN interface... same for v6, as long as you'd have the same DUID you should receive the same prefix...

              I suppose one could write a script to restart the interface periodically until the 192.168.100.0/24 address clears.

              G 1 Reply Last reply Jul 6, 2019, 9:49 PM Reply Quote 0
              • J
                JKnott @jcyr
                last edited by Jul 6, 2019, 9:47 PM

                @jcyr

                pfSense has a gateway monitoring function. Perhaps that might help. However, I haven't tried it, as I don't have a need to. What is the intended function of gateway monitoring?

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                1 Reply Last reply Reply Quote 0
                • G
                  Grimson Banned @ljr
                  last edited by Jul 6, 2019, 9:49 PM

                  @ljr said in pfSense fails to restore IPV6 after WAN side service interruption:

                  I suppose one could write a script to restart the interface periodically until the 192.168.100.0/24 address clears.

                  Or start with RTFM: https://docs.netgate.com/pfsense/en/latest/book/interfaces/ipv4-wan-types.html#dhcp and try to reject the lease.

                  J L 3 Replies Last reply Jul 6, 2019, 11:53 PM Reply Quote 0
                  • J
                    jcyr @Grimson
                    last edited by Jul 6, 2019, 11:53 PM

                    @Grimson I'll certainly try that. But that's IPV4 stuff and never had a problem with V4.

                    IPV6 Test: http://ipv6-test.com

                    1 Reply Last reply Reply Quote 0
                    • L
                      ljr @Grimson
                      last edited by Jul 7, 2019, 1:20 AM

                      @Grimson said in pfSense fails to restore IPV6 after WAN side service interruption:

                      Or start with RTFM: https://docs.netgate.com/pfsense/en/latest/book/interfaces/ipv4-wan-types.html#dhcp and try to reject the lease.

                      Well, in retrospect it was amateur to suggest hacking a script. But, shit, that does the trick.

                      Sorry.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by Jul 8, 2019, 1:02 PM

                        @Grimson I have been rejecting leases from my cable modem, 192.168.100.1, for some time now. Doesn't appear to have an impact on this issue(s).

                        Rebooted pfsense late last night and the WAN did not get an ipv6 address. Waited a good long time. A second reboot set it right. I then disconnected the cable, waited a few minutes, and reconnected. It worked.

                        Too many variables, I need to set aside some time and work this through methodically.

                        J 1 Reply Last reply Jul 8, 2019, 2:41 PM Reply Quote 0
                        • J
                          jcyr @A Former User
                          last edited by Jul 8, 2019, 2:41 PM

                          @jwj said in pfSense fails to restore IPV6 after WAN side service interruption:

                          @Grimson I have been rejecting leases from my cable modem, 192.168.100.1, for some time now. Doesn't appear to have an impact on this issue(s).

                          Rebooted pfsense late last night and the WAN did not get an ipv6 address. Waited a good long time. A second reboot set it right. I then disconnected the cable, waited a few minutes, and reconnected. It worked.

                          Too many variables, I need to set aside some time and work this through methodically.

                          Indeed, there appears to be more than one path to failure.

                          IPV6 Test: http://ipv6-test.com

                          1 Reply Last reply Reply Quote 0
                          • J
                            jcyr @Grimson
                            last edited by Jul 8, 2019, 11:07 PM

                            @Grimson Well that didn't work! Had another service interruption today and ignoring leases from the modem's DHCP prevented even IPV4 from recovering when the modem registered upon resumption of service. Had to bounce the WAN link to restore LAN side connectivity.

                            IPV6 Test: http://ipv6-test.com

                            1 Reply Last reply Reply Quote 0
                            • W
                              winklevos
                              last edited by Oct 1, 2020, 9:09 AM

                              I see this as well, IPv6 will not come up until apply button is pressed in the WAN interface or a second reboot (sometimes)

                              This is with Arris CM8200B and 2.4.5-RELEASE-p1

                              1 Reply Last reply Reply Quote 0
                              • cmcqueenC
                                cmcqueen
                                last edited by Dec 16, 2020, 5:09 AM

                                Is this related to Bug #10966: IPv6 - WAN does not renew address when upstream fails - pfSense - pfSense bugtracker?

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                  [[user:consent.lead]]
                                  [[user:consent.not_received]]