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

IPv6 with framed IPv6-prefix

IPv6
2
18
1.6k
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 Nov 30, 2023, 8:19 PM

    @JKnott
    I have used IPv6 Prefix ID 0 for vtnet0 (VLAN ID 1)
    and IPv6 Prefix ID 1 for vtnet0.123 (VLAND ID 123). I had intially tried to set this as 123, so that my prefix id and vlan id matched. But same result.

    J 1 Reply Last reply Nov 30, 2023, 8:32 PM Reply Quote 0
    • J
      JKnott @Kenneth_H
      last edited by Nov 30, 2023, 8:32 PM

      @Kenneth_H

      I also match the prefix and VLAN ID, so I doubt that's your problem.

      "I have to also assign a network ID and no matter if I set it to 1 og 123 (so that it matches my VLAN ID), it drops IPv6 for both interfaces."

      This makes me wonder if you're in fact getting more than one /64 prefix. What do you have in the DHCPv6 Prefix Delegation size box on the WAN page? It should be 48, if that's what your ISP provides.

      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 Nov 30, 2023, 9:16 PM Reply Quote 0
      • K
        Kenneth_H @JKnott
        last edited by Nov 30, 2023, 9:16 PM

        @JKnott
        The DHCPv6 prefix delegation size is set to 48
        If I set it to 56 or 64, I get no ipv6 at all.

        J 1 Reply Last reply Nov 30, 2023, 10:00 PM Reply Quote 0
        • J
          JKnott @Kenneth_H
          last edited by Nov 30, 2023, 10:00 PM

          @Kenneth_H

          Concentrate on your main LAN only. You should be able to change the prefix to anything within your /48. If that doesn't work, do a Packet Capture on your WAN, filtering on DHCPv6 and post the capture file here.

          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 Dec 1, 2023, 11:23 AM Reply Quote 0
          • K
            Kenneth_H @JKnott
            last edited by Dec 1, 2023, 11:23 AM

            @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

            J 1 Reply Last reply Dec 1, 2023, 1:47 PM Reply Quote 0
            • J
              JKnott @Kenneth_H
              last edited by Dec 1, 2023, 1:47 PM

              @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 Dec 7, 2023, 7:08 AM Reply Quote 0
              • K
                Kenneth_H @JKnott
                last edited by Dec 7, 2023, 7:08 AM

                @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

                login-to-view

                J K 2 Replies Last reply Dec 7, 2023, 2:56 PM Reply Quote 0
                • J
                  JKnott @Kenneth_H
                  last edited by Dec 7, 2023, 2:56 PM

                  @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 Dec 9, 2023, 8:42 PM Reply Quote 0
                  • K
                    Kenneth_H @Kenneth_H
                    last edited by Dec 9, 2023, 8:35 PM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • K
                      Kenneth_H @JKnott
                      last edited by Dec 9, 2023, 8:42 PM

                      @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

                      J 1 Reply Last reply Dec 9, 2023, 9:28 PM Reply Quote 0
                      • J
                        JKnott @Kenneth_H
                        last edited by JKnott Dec 10, 2023, 10:28 PM Dec 9, 2023, 9:28 PM

                        @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 Dec 10, 2023, 9:21 PM Reply Quote 0
                        • K
                          Kenneth_H @JKnott
                          last edited by Dec 10, 2023, 9:21 PM

                          @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

                          J 1 Reply Last reply Dec 10, 2023, 10:32 PM Reply Quote 0
                          • J
                            JKnott @Kenneth_H
                            last edited by Dec 10, 2023, 10:32 PM

                            @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 Dec 13, 2023, 10:11 AM Reply Quote 0
                            • K
                              Kenneth_H @JKnott
                              last edited by Dec 13, 2023, 10:11 AM

                              @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

                              J 2 Replies Last reply Dec 14, 2023, 9:31 PM Reply Quote 0
                              • J
                                JKnott @Kenneth_H
                                last edited by Dec 14, 2023, 9:31 PM

                                @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
                                • J
                                  JKnott @Kenneth_H
                                  last edited by Dec 14, 2023, 10:24 PM

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