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

IPv6 broken beyond pfSense after 2.5 upgrade

IPv6
13
42
11.4k
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
    JKnott @stepheng
    last edited by Feb 18, 2021, 1:38 PM

    @stepheng

    Often, the WAN address has nothing to do with what happens on the LAN, as the link local address is typically used for routing. Perhaps you can do a screen capture of your WAN and LAN IPv6 settings.

    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...

    S 1 Reply Last reply Feb 18, 2021, 2:36 PM Reply Quote 0
    • S
      stepheng @JKnott
      last edited by Feb 18, 2021, 2:36 PM

      @jknott Yes, I know that the WAN address is usually separate from the LAN address on IPV6. I've attached a screen shot here (with a little bit of obscuration)🔒 Log in to view

      I think that this shows that I'm getting a real WAN IPv6 (that address matches the address that my ISP advised me of as my IPv6 /64 that would be my WAN address) and the LAN ipV6 address is in my /48 that is allocated and is correct (again corresponding to the /48 as advised by my ISP).

      Somehow the RA / DHCPv6 / SLAAC stuff is not running now like before ....

      J 1 Reply Last reply Feb 18, 2021, 2:43 PM Reply Quote 0
      • J
        JKnott @stepheng
        last edited by Feb 18, 2021, 2:43 PM

        @stepheng

        Please show the Interface > WAN & LAN settings. You might also include Router Advertisements page.

        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...

        S 1 Reply Last reply Feb 18, 2021, 3:16 PM Reply Quote 0
        • S
          stepheng @JKnott
          last edited by Feb 18, 2021, 3:16 PM

          @jknott Here goes. These are all presumably as they were set up when running 2.4.5p1. I've not changed anything since.

          WAN settings

          🔒 Log in to view
          🔒 Log in to view

          LAN settings (I actually have two ports bridged - I know that this is frowned upon, but I don't need the speed and although I have a switch that I could use the extra box and plug would make me unpopular at home)

          🔒 Log in to view

          Router Advertisements
          🔒 Log in to view
          🔒 Log in to view

          J 1 Reply Last reply Feb 18, 2021, 3:49 PM Reply Quote 0
          • J
            JKnott @stepheng
            last edited by Feb 18, 2021, 3:49 PM

            @stepheng

            The only thing I've noticed is, on the RA page, I'm using unmanaged, but you're using assisted. However, I don't know if that would cause the problem. Can you upload a packet capture, showing ICMP6?

            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...

            S 3 Replies Last reply Feb 18, 2021, 4:04 PM Reply Quote 0
            • S
              stepheng @JKnott
              last edited by Feb 18, 2021, 4:04 PM

              @jknott yes, I’ll do that, but it may have to wait until tomorrow morning (UK time) as I have some jobs and a Zoom conference to see to. I had thought I might have to do a packet capture and see what is going on.

              1 Reply Last reply Reply Quote 0
              • S
                stepheng @JKnott
                last edited by stepheng Feb 18, 2021, 9:30 PM Feb 18, 2021, 9:28 PM

                @jknott I am seeing Neighbour Solicitation messages from computers but not seeing any responses to these ICMP messages. It looks to me as if the radvd daemon or the dhcpv6 daemon isn't responding (actually I'm at the limits of my IPv6 knowledge - I'm fairly good on IPv4 having been using computers since before networking but IPv6 is still a little more magical to me!). I have checked that radvd is apparently running (shows up in a ps aux output).

                🔒 Log in to view

                1 Reply Last reply Reply Quote 0
                • S
                  stepheng @JKnott
                  last edited by Feb 19, 2021, 9:31 AM

                  @jknott Just another follow up to the above. It is definitely the whole NDP/RA exchanges that are just not happening to allocate IPV6 addresses. I've confirmed this by manually configuring IPV6 on a couple of my machines (adding in the IPV6 address of the pfSense router, an IPV6 address in my address range and prefix for the machine) and then the individual machines passes the appropriate tests on sites like test-ipv6 and ipv6-test just as before my update from 2.4.5p1. I can route IPV6 between the machines and on the internet correctly. Something is just not happening to enable the "chatter" to make the address/router negotiation work, but which happened perfectly previously.

                  J 1 Reply Last reply Feb 19, 2021, 11:38 AM Reply Quote 0
                  • J
                    JKnott @stepheng
                    last edited by Feb 19, 2021, 11:38 AM

                    @stepheng

                    I don't know what would be causing that. IPv6 works fine for me with 2.5.

                    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...

                    S 1 Reply Last reply Feb 19, 2021, 11:56 AM Reply Quote 0
                    • S
                      stepheng @JKnott
                      last edited by Feb 19, 2021, 11:56 AM

                      @jknott I'm at a loss at this point. Doing a packet capture of ICMP v6 packets on my LAN I can see a steady chatter of Neighbour Solicitation/Neighbour Advertisement packets being used to determine link layer addresses, but absolutely no router solicitation or router advertisement messages.

                      I've also tried changing the RA settings to Unmanaged and to SLAAC with no change.

                      As I said pfSense is operating with IPv6 and commands on clients such as "host google.com" will return IPv6 addresses as well as IPv4.

                      All a mystery!

                      J 1 Reply Last reply Feb 19, 2021, 1:49 PM Reply Quote 0
                      • J
                        JKnott @stepheng
                        last edited by Feb 19, 2021, 1:49 PM

                        @stepheng

                        Try reinstalling pfsense. Backup your config first, then see what happens after the reinstall, but before restoring the config.

                        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...

                        S 1 Reply Last reply Feb 20, 2021, 11:21 AM Reply Quote 0
                        • T
                          tadao
                          last edited by Feb 20, 2021, 3:42 AM

                          @stepheng To me, after upgrading to 2.5.0, it doesn't let me use LAN with IPv6 with SLACC, if RADVD is activated. It only permits SLACC on LAN if RADVD is set to Disabled.

                          S 1 Reply Last reply Feb 20, 2021, 11:25 AM Reply Quote 0
                          • S
                            stepheng @JKnott
                            last edited by Feb 20, 2021, 11:21 AM

                            @jknott I will do that, but it will have to wait for a couple of days until I'm on my own in the house and don't have any pressing deadlines.

                            I know that in theory it only takes 15 minutes to do a reinstall, but you never know what may not quite work. I'll get my old Ubiquity Edgerouter out as well in case I need to use it (I think it still has a working configuration).

                            1 Reply Last reply Reply Quote 0
                            • S
                              stepheng @tadao
                              last edited by Feb 20, 2021, 11:25 AM

                              @tadao That is very interesting, but also to my limited understanding, somewhat puzzling. As I said, I'm not really as expert on IPv6 as I would like, but I'd be surprised that turning RADVD off would work (except with manually assigned clients - and that works for me in any case, but is a bit impractical for phones and mobile devices and besides the whole point of RA/DHCPv6 is to do all this stuff automagically). However, I did try it and got no joy. I have tried all of the setting in the RA tab. As @JKnott says, I think a re-install is needed in my case which I will try in a day or two when I have some quiet time on my own.

                              S 1 Reply Last reply Feb 21, 2021, 11:31 AM Reply Quote 0
                              • S
                                stepheng @stepheng
                                last edited by Feb 21, 2021, 11:31 AM

                                @stepheng SOLVED!

                                I didn't need to re-install pfSense.

                                I noticed that poking around in the command line with "ps" that although I was seeing the radvd process, the only dhcp6 process that I was seeing was the dhcp6c which was being used on my pppoe0 connection to obtain my WAN IPv6 address.

                                I went back to the LAN / DHCPv6 Server page and made a trivial alteration (added an NTP server) and resaved the page. This obviously caused the DHCPv6 server to kick into action again. I can now see a "/usr/local/sbin/dhcpd -6 " process running (as well as the normal dhcpd process for IPv4), and also a "/usr/local/sbin/dhcpleases6" process.

                                All the expected ICMPvs messages for RA, RS, NS, NA are now being seen on the LAN and all devices that previously had IPv6 addresses are getting them. "test-ipv6.com" gives me my score of 10/10 again.

                                I was able to return the LAN / DHCPv6 Server page back to exactly the same configuration as before without any strange behaviour happening (i.e. removed the NTP server again).

                                I assume that for some reason during the upgrade process the dhcpv6 process didn't get started or failed. It might be interesting to see if with my configuration it starts properly when the system is rebooted - and I might try that tomorrow as that is something that can be done in a couple of minutes without risk.

                                Thanks for the help from @JKnott and @tadao. I must confess that I think I need to understand more about IPv6. Now that it is working I've captured some packets in Wireshark so I can study them and hopefully further my knowledge.

                                Y 1 Reply Last reply Feb 21, 2021, 3:29 PM Reply Quote 0
                                • E
                                  ebcdic
                                  last edited by Feb 25, 2021, 3:02 PM

                                  I have a similar problem. My ISP is also Zen, and it was working perfectly in 2.4.5p1. I'm using an SG-1100.

                                  It appears that IPv6 comes up normally, but after a few seconds the LAN interfaces lose their IPv6 addresses. This can be reproduced by disconnecting and reconnecting the WAN in Status / Interfaces.

                                  The DHCP logs shows that dhcp6c receives a prefix, adds addresses to the LAN interfaces, then removes them:

                                  log.txt

                                  Y E 2 Replies Last reply Feb 25, 2021, 5:43 PM Reply Quote 0
                                  • Y
                                    yon 0 @ebcdic
                                    last edited by Feb 25, 2021, 5:43 PM

                                    @ebcdic

                                    https://redmine.pfsense.org/issues/11365

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      ebcdic @ebcdic
                                      last edited by ebcdic Feb 25, 2021, 8:48 PM Feb 25, 2021, 8:48 PM

                                      The "restarting" in the log indicates that dhcp6c is getting a sighup, but from where?

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        ebcdic @yon 0
                                        last edited by Feb 26, 2021, 10:58 AM

                                        @yon-0 You seem to be talking about a completely different problem. Our ISP delegates a /48 to us, as is normal, and the LAN interfaces use a /64 subnet.

                                        J 1 Reply Last reply Feb 26, 2021, 1:47 PM Reply Quote 0
                                        • J
                                          JKnott @ebcdic
                                          last edited by Feb 26, 2021, 1:47 PM

                                          @ebcdic

                                          Are you trying to configure the WAN interface for a /48? Or allowing DHCPv6-PD to do it? What happens if you select a smaller prefix. For example, I get a /56 from my ISP, but can select a smaller one.

                                          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...

                                          E 1 Reply Last reply Feb 26, 2021, 1:55 PM Reply Quote 0
                                          11 out of 42
                                          • First post
                                            11/42
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.