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

    IPv6 with framed IPv6-prefix

    Scheduled Pinned Locked Moved IPv6
    18 Posts 2 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.
    • K
      Kenneth_H @JKnott
      last edited by

      @JKnott I have now disabled ipv6 for all Lan interfaces except the main one on vtnet0
      I have then changed the prefix ID to a different ones between 0 and ffff
      Everytime it works again within a few minutes on vtnet0
      As soon as I however reconfigure any of the other interfaces such as vtnet0.123 with ipv6 and a prefix ID different from what is used on vtnet0, it goes one of two ways

      1. Drops ipv6 completely on all interfaces
      2. Keeps ipv6 on vtnet0, but reports Wan ipv6 gateway as down and devices on vtnet0 cannot get out on ipv6 even with a valid address. They can however still ping ipv6 of the pfsense vtnet0 interface
      3. Gets ipv6 on both interfaces, but like the above, the routing seems to be no longer working

      I can do a packet capture with just vtnet0 and with both vtnet0 and vtnet0.123 and post it here if it can help

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @Kenneth_H
        last edited by

        @Kenneth_H

        I can't think of anything else. Post the capture file here, so I can see if it reveals anything.

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

        K 1 Reply Last reply Reply Quote 0
        • K
          Kenneth_H @JKnott
          last edited by

          @JKnott got the packet capture done.
          attached is pcap with wan on vtnet1.101 and lan on vtnet0.
          also a screenshot of the packet capture config

          packetcapture-vtnet1.101-20231207075856.pcap

          Screenshot from 2023-12-07 08-00-34.png

          JKnottJ K 2 Replies Last reply Reply Quote 0
          • JKnottJ
            JKnott @Kenneth_H
            last edited by

            @Kenneth_H

            I see you're requesting and receiving a /48 prefix. However, I also see you have some release XID packets. That's your system releasing the prefix you've been assigned. I have never seen that in my system. Also, did you restart the system, before you did the packet capture, as described in my instructions? The first line should be a solicit, as shown in mine.

            DHCPv6-PD.cap

            Here mine starts with a solicit and only has 4 packets, ending with the reply. In this, IPv6 works just like the IPv4 DHCP sequence, with only 4 packets for normal operation.

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

            K 1 Reply Last reply Reply Quote 0
            • K
              Kenneth_H @Kenneth_H
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • K
                Kenneth_H @JKnott
                last edited by

                @JKnott I disconnected the WAN, rebooted the system. Started the packet capture and then reconnected the WAN.

                Could it be my ISP that does something weird? I spoke to a co-worker of mine who runs a Unifi setup with a UDM non-Pro on the same ISP. He had IPv6 working for a few months and then suddenly it stopped working.
                If packets are missing in the transmission, then perhaps that might explain why it drops out when connecting the secondary LAN to IPv6

                I am not sure if it matters anything, but my pfSense runs virtualized and has done for years with no issues

                JKnottJ 1 Reply Last reply Reply Quote 0
                • JKnottJ
                  JKnott @Kenneth_H
                  last edited by JKnott

                  @Kenneth_H said in IPv6 with framed IPv6-prefix:

                  Could it be my ISP that does something weird?

                  Entirely possible. Around 5 years ago, I had a problem with my ISP. While devices on my LAN got IPv6 addresses, they couldn't reach anything via IPv6. In my own testing I determined the problem was not on my LAN, as I could see pings going out, but no response coming back. I then called tech support and talked to 2nd level (I rarely waste my time talking to 1st level). Working with 2nd level I was able to demonstrate the problem was not on my LAN. When they tried to escalate, the network guys wouldn't do anything, as I had my own router. This despite the fact my next door neighbour had the same problem and he was only using the supplied gateway. Eventually, a senior tech came out, with his own modem and computer, and experienced the same problem. By this point I had discovered an error and even identified the failing CMTS by host name. The tech then took his computer and modem to the head end and tried with 4 different CMTS. It only failed with the one I was connected to. The network guys finally accepted they had a problem and fixed it.
                  BTW, last spring I was doing some work in that head end and found my CMTS. ๐Ÿ˜„

                  Incidentally, I have a strong background in telecom, computers and networks, going back over half a century (I first worked on a LAN in early 1978), so I generally know more about the situation than the 1st level support and have even found myself educating 2nd level. For example, when I was talking to both 2nd level support and the senior tech, I had to explain how DHCPv6-PD works.

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

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    Kenneth_H @JKnott
                    last edited by

                    @JKnott Will try in the coming week to use a mirror port on a switch to capture dhcpv6 output of the router supplied by my ISP.
                    If that is also missing the expected "solicit" package, then something is perhaps wrong on their implementation

                    JKnottJ 1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @Kenneth_H
                      last edited by

                      @Kenneth_H

                      If I'd known you had a mirror port, I wouldn't have told you to use Packet Capture. ๐Ÿ˜‰

                      I have a 5 port switch configured as a data tap, which I used when working on that problem. I also have a Cisco switch on my LAN, which also does port mirroring.

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

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        Kenneth_H @JKnott
                        last edited by

                        @JKnott seems some issue is there with the port mirror on my end. Most likely an issue due to me using the same switch as for the LAN side, although I am not using VLAN 101 for anything.
                        Nothing got mirrored with pfSense or the ISP router and both got no connection. Will dig out an older 8-port managed switch and get it configured as a proper data tap device and try it again.

                        For now I made another packet capture from pfSense and this time it seems as if I got a "solicit" package

                        packetcapture-vtnet1.101-20231213105317.pcap

                        Not sure if it all looks correct now, but seems more consistent. it does however seem strange that the lease time is around 5 minutes

                        JKnottJ 2 Replies Last reply Reply Quote 0
                        • JKnottJ
                          JKnott @Kenneth_H
                          last edited by

                          @Kenneth_H

                          The first 4 packets are normal, but then you get multiple solicits. The DHCPv6 sequence should be done after the first 4.

                          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
                          • JKnottJ
                            JKnott @Kenneth_H
                            last edited by

                            @Kenneth_H said in IPv6 with framed IPv6-prefix:

                            it does however seem strange that the lease time is around 5 minutes

                            My lease time is over 164 hours.

                            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
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.