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

    Duplicate IPv6 addresses

    Scheduled Pinned Locked Moved IPv6
    21 Posts 3 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.
    • P
      pbnet
      last edited by

      Following the update to Windows 10 1903, I have the following issue:

      • When the PC NIC acquires it's IP, for a couple of seconds there is 1 IPv6 permanent address and 1 IPv6 temporary address, then those addresses get doubled.

      Here's an example:

      • First seconds after acquiring IPs:
        alt text
      • 5 Seconds later:
        alt text

      My PFSense interfaces:
      alt text
      alt text

      And Switch (Mikrotik SWOS WLAN Assignments to ports)

      alt text

      Any help/hint would be greatly appreciated, since I'm really lost here and I would really love to have IPv6 back on my main PC.

      Thanks.
      Andy.

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

        @pbnet said in Duplicate IPv6 addresses:

        Any help/hint would be greatly appreciated, since I'm really lost here and I would really love to have IPv6 back on my main PC.

        Does it affect any other device?

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

        P 1 Reply Last reply Reply Quote 0
        • P
          pbnet @JKnott
          last edited by pbnet

          @JKnott : Yes, any PC wired to the switch. Wireless clients are not affected, that's why I'm lost here.

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

            Could this be related?
            https://social.technet.microsoft.com/Forums/en-US/b16e7d78-e390-4ada-a24b-3ccba60fa571/no-ipv6-dns-statelessdhcp-since-windows-10-anniversary-update?forum=win10itpronetworking

            If yes, is there any way to assign IPv6 to my VLANs other way than using Prefix Delegation?

            Thanks.

            JKnottJ 1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by johnpoz

              you do understand its normal to have more than 1 temp address right...

              Those address are not "duplicated" they are different you see d800 and d801 on the other.

              Your double global is not good, but its a different prefix..

              To be honest any doesn't seem like correct term for setting a vlan on a access port.. If all there is a pc, then it should only see traffic from whatever vlan its in.. not "any" So your prob running multiple layer 3 on the same layer 2 - which is why your seeing ipv6 from multiple prefix.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              P JKnottJ 2 Replies Last reply Reply Quote 0
              • P
                pbnet @johnpoz
                last edited by

                @johnpoz Thanks a lot for your reply. I noticed the difference now.
                Could you give me some pointers where to look? PFSense VLAN settings or Switch (Mikrotik) VLAN Settings?
                As I said, the issue only arise after the update to build 1903.

                Thanks again for any help you can provide.

                Andrei.

                JKnottJ 1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz

                  just because you only noticed it after 1903 doesn't mean anything... Your switch settings make no sense to me..

                  When you have a device connected to a port and its in say vlan X... The only traffic that should go in an out of that port is vlan X... This "any" setting makes ZERO sense to me..

                  You would not be able to get an IP in a different prefix, unless you were on the same L2 as where that prefix is being advertised.. If your seeing prefix from 2 different network - then means you have a common L2 issue.

                  d800, and d801 are 2 different /64 prefixes.

                  Which network do you have d800 setup and which do you have d801 setup? Clearly there is a connection there at L2

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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

                    @pbnet said in Duplicate IPv6 addresses:

                    Could this be related?

                    That was from almost 3 years ago and I haven't seen that problem.

                    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 @johnpoz
                      last edited by

                      @johnpoz said in Duplicate IPv6 addresses:

                      Those address are not "duplicated" they are different you see d800 and d801 on the other.

                      Those numbers appear to be on the prefix portion of the address, not suffix. There should only be one prefix, but you just pointed out 2.

                      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 @pbnet
                        last edited by

                        @pbnet said in Duplicate IPv6 addresses:

                        Thanks a lot for your reply. I noticed the difference now.

                        Since you have a VLAN, I assume you have a managed switch. Any chance that switch is TP-Link? Some models of TP-link switch don't manage VLANs properly.

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

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          pbnet @JKnott
                          last edited by

                          @JKnott Thanks for your reply

                          The switch is a Mikrotik (see below) and this one is cascaded to a cisco SG200-26.
                          alt text

                          I've tagged VLAN 5 both in PFSense and on the Mikrotik switch, and nothing changed, IPv6 still don't work on my PC.
                          Then I've taggged packets for VLAN5 on the switch port where the PC is connected and it only works on IPv4 if I specifically tell the NIC on the PC I'm on VLAN5.

                          alt text
                          alt text
                          alt text

                          I'm really lost here :(

                          Thanks for all your help.

                          Andy.

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

                            @pbnet said in Duplicate IPv6 addresses:

                            I'm really lost here :(

                            Are the 2 prefixes assigned on your network? Have you run Wireshark to examine the RAs? If you're seeing RAs for both prefixes, you've got something crossed somewhere. The TP-Link problem I mentioned above was due to multicasts not being restricted to the VLAN so a device on the LAN would get the wrong prefix. Also, look at what's actually leaving pfSense. You can do that with Packet Capture right in pfSense or Wireshark, with port mirroring on the managed switch.

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

                            P 2 Replies Last reply Reply Quote 0
                            • P
                              pbnet @JKnott
                              last edited by

                              @JKnott

                              Not sure here

                              This is what gets assigned automatically on PFSense:
                              alt text

                              There is no DHCPv6, only RA:
                              alt text

                              1 Reply Last reply Reply Quote 0
                              • P
                                pbnet @JKnott
                                last edited by

                                @JKnott

                                OK, so I figured out that both prefixes (from VLAN5 and VLAN10) are assigned to the NIC on VLAN5 on the PC.
                                The problem is I have no idea how to limit the prefix to a specific VLAN.

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by

                                  Then as I stated you do not have actual vlan isolation... Your just running multiple L3 on the same L2..

                                  That is going to be issue with your switch config.. Are these both tagged, is 1 not tagged on pfsense?

                                  pfsense - em0 vlan5T, vlan 10T -- switch -- vlan 5U -- pc..

                                  There would be no possible way for pc connect to vlan 5 switch port to see vlan 10, traffic - unless you have it mis configured on the switch, etc.

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    pbnet @johnpoz
                                    last edited by

                                    @johnpoz
                                    Well, each VLAN leaves PFSense on its own NIC:

                                    VLAN5 is on NIC bce1 and appears in PFSense as LAN: VLAN 5 on bce1 (VLAN5)
                                    VLAN10 is on NIC bce3 and appears in PFSense as PBNETLAN2: VLAN10 on bce3 (VLAN10)

                                    The network cables that leave PFSense (running on a dell R710), reach the Mikrotik Switch like this:

                                    • VLAN5 --> Port 1 --> VLAN Mode: Enable // VLAN Receive: Only Tagged // Default VLAN ID: 5
                                    • VLAN 10 --> Port 2 --> VLAN Mode: Enable // VLAN Receive: Only Tagged // Default VLAN ID: 10

                                    Desktop PC: Port 24: VLAN Mode: Enable // VLAN Receive: ANY // Default VLAN ID: 5

                                    Call me stupid, but I still don't figure out what is wrong on this config.

                                    Thanks.

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

                                      @pbnet

                                      Is port 24 an access or trunk port? Normally, it should be an access port, unless you need more than one LAN/VLAN on it.

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

                                      P 1 Reply Last reply Reply Quote 0
                                      • johnpozJ
                                        johnpoz LAYER 8 Global Moderator
                                        last edited by

                                        @pbnet said in Duplicate IPv6 addresses:

                                        VLAN5 --> Port 1 --> VLAN Mode: Enable // VLAN Receive: Only Tagged // Default VLAN ID: 5

                                        Why are you setting up vlans on pfsense? If its the only network on the interface... It would just be native an untagged then..

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                        P 1 Reply Last reply Reply Quote 0
                                        • P
                                          pbnet @JKnott
                                          last edited by

                                          @JKnott

                                          Well, as far as I can understand from my logic, it looks more like trunk to me :(
                                          Here's what Mikrotik says: https://wiki.mikrotik.com/wiki/SWOS/CSS326-VLAN-Example

                                          And this is my setup:

                                          alt text
                                          alt text

                                          Correct me if I'm wrong. I didn't quite get the VLANS tab part :(

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            pbnet @johnpoz
                                            last edited by pbnet

                                            @johnpoz That seemed logical at that time when I first set up the VLANs... Can this be a problem?

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