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

    IPv6 with two or more LAN-side interfaces

    Scheduled Pinned Locked Moved IPv6
    61 Posts 6 Posters 7.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.
    • Bob.DigB
      Bob.Dig LAYER 8
      last edited by Bob.Dig

      Today I (Homeuser) added a second LAN-Interface (OPT1) to pfSense and the problems began.
      Track Interface for both seems to be not possible, so what to do now?
      Any chance of running DHCPv6 Server & RA on both interfaces?
      I guess I don't want my ISP to give out the addresses so do I have to switch to SLAAC or what are my options? Any help is appreciated, especially from @JKnott .

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @Bob.Dig
        last edited by

        @Bob-Dig

        It most certainly is possible. I do it here. What you have to do is select a different IPv6 Prefix ID for each interface. I have a /56 from my ISP and I use ID 0 for my LAN, 4 for a test LAN and ff for my VPN. With this, I could have as many as 256 interfaces, each with a /64. How many you get depends on 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...

        Bob.DigB 1 Reply Last reply Reply Quote 1
        • Bob.DigB
          Bob.Dig LAYER 8 @JKnott
          last edited by Bob.Dig

          @JKnott pfSense is telling me that only 0 is allowed and that 0 is already taken by LAN, witch is true. How to fix that, any ideas?

          Screenshot_2020-02-14 pfSense localdomain - Interfaces PRIVAT (hn2).png

          I am on Version 2.5.0-DEVELOPMENT, hope it is not related to that.

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott @Bob.Dig
            last edited by

            @Bob-Dig

            Is your modem in bridge or gateway mode? For this to work, your modem has to be in bridge mode and the ISP has to be providing more than a singe /64. As I mentioned, I have a /56, some other ISPs provide /48 and I have heard of /60. If your modem is in gateway mode, you will have only a single /64.

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

            Bob.DigB 1 Reply Last reply Reply Quote 1
            • Bob.DigB
              Bob.Dig LAYER 8 @JKnott
              last edited by Bob.Dig

              @JKnott It is in bridge-mode. Where can I see, what I get from the ISP? I know that pfSense says /64, but that must not be the truth or is it? Sorry for my bad English. ๐Ÿ˜‡

              Screenshot_2020-02-14 pfSense localdomain - Interfaces WAN (hn0).png

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                The allowed indices on tracking interfaces are controlled by the DHCPv6 Prefix Delegation Size on the WAN and what is received from the ISP. For /64 that means only one is allowed (0). For a /60 that would allow 16 networks, so the ID can be from 0-F (it's in hex).

                If you do not know what your maximum prefix delegation size is, contact your ISP. You might be able to just try larger values and see what happens, or check in the DHCP logs, but the best way to know is to ask the ISP.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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

                  @jimp said in IPv6 with two or more LAN-side interfaces:

                  You might be able to just try larger values and see what happens, or check in the DHCP logs, but the best way to know is to ask the ISP.

                  Or, if you're handy with Packet Capture and Wireshark, you can see what is provided. The prefix size and address are provided in both the Advertise XID and Reply XID lines.

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

                  Bob.DigB 2 Replies Last reply Reply Quote 0
                  • Bob.DigB
                    Bob.Dig LAYER 8 @JKnott
                    last edited by Bob.Dig

                    @JKnott I am not. So I tried 63 and 60 and none of my LAN-sided interfaces got an IPv6. So I am out of luck with my ISP.

                    Is there another solution to provide IPv6 to those Interfaces or is it just not possible, without using Hurricane Electric IPv6 Tunnel or something different?

                    JKnottJ 1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @Bob.Dig
                      last edited by JKnott

                      @Bob-Dig

                      First, find out what your ISP provides. Did you check /var/log/dhcpd.log as @jimp suggested? In it, you will see something like:

                      Feb 12 09:19:18 firewall dhcp6c[18217]: <3>[prefix] (6)
                      Feb 12 09:19:18 firewall dhcp6c[18217]: <3>[::] (2)
                      Feb 12 09:19:18 firewall dhcp6c[18217]: <3>[/] (1)
                      Feb 12 09:19:18 firewall dhcp6c[18217]: <3>[56] (2)
                      Feb 12 09:19:18 firewall dhcp6c[18217]: <3>[infinity] (8)
                      Feb 12 09:19:18 firewall dhcp6c[18217]: <3>end of sentence [;] (1)

                      The 56 above is my prefix length.

                      You might also mention your ISP, so that someone else here might offer advice.

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

                      Bob.DigB 1 Reply Last reply Reply Quote 1
                      • Bob.DigB
                        Bob.Dig LAYER 8 @JKnott
                        last edited by

                        @JKnott Nothing like this in the logs.

                        NogBadTheBadN 1 Reply Last reply Reply Quote 0
                        • NogBadTheBadN
                          NogBadTheBad @Bob.Dig
                          last edited by

                          @Bob-Dig

                          You have Start DHCP6 client in debug mode enbled on the WAN interface ?

                          Andy

                          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                          Bob.DigB 1 Reply Last reply Reply Quote 1
                          • Bob.DigB
                            Bob.Dig LAYER 8 @NogBadTheBad
                            last edited by

                            @NogBadTheBad Not till now, will give it a try.

                            NogBadTheBadN 1 Reply Last reply Reply Quote 0
                            • NogBadTheBadN
                              NogBadTheBad @Bob.Dig
                              last edited by

                              @Bob-Dig said in IPv6 with two or more LAN-side interfaces:

                              @NogBadTheBad Not till now, will give it a try.

                              Just a thought, not sure if it will give you the answer you need.

                              Andy

                              1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                              Bob.DigB 1 Reply Last reply Reply Quote 1
                              • Bob.DigB
                                Bob.Dig LAYER 8 @NogBadTheBad
                                last edited by Bob.Dig

                                @NogBadTheBad Looks like it:

                                Feb 14 17:01:41 pfSense dhcp6c[73783]: get DHCP option IA_PD, len 41
                                Feb 14 17:01:41 pfSense dhcp6c[73783]:   IA_PD: ID=0, T1=302400, T2=483840
                                Feb 14 17:01:41 pfSense dhcp6c[73783]: get DHCP option IA_PD prefix, len 25
                                Feb 14 17:01:41 pfSense dhcp6c[73783]:   IA_PD prefix: 2a02:xxxx:xxxx:xxxx::/64 pltime=604800 vltime=1209600
                                Feb 14 17:01:41 pfSense dhcp6c[73783]: get DHCP option preference, len 1
                                
                                NogBadTheBadN 1 Reply Last reply Reply Quote 0
                                • NogBadTheBadN
                                  NogBadTheBad @Bob.Dig
                                  last edited by NogBadTheBad

                                  @Bob-Dig

                                  Might want to hide part of the IPv6 address.

                                  Andy

                                  1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                                  1 Reply Last reply Reply Quote 1
                                  • Bob.DigB
                                    Bob.Dig LAYER 8
                                    last edited by

                                    So is there any option left with that ISP-IPv6 or no?

                                    JKnottJ 1 Reply Last reply Reply Quote 0
                                    • jimpJ
                                      jimp Rebel Alliance Developer Netgate
                                      last edited by

                                      What lengths did you try? Only 64, 63, and 60? You should at least try some other common ones: 56, 48, etc. before ruling them out.

                                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                      Need help fast? Netgate Global Support!

                                      Do not Chat/PM for help!

                                      Bob.DigB 1 Reply Last reply Reply Quote 1
                                      • Bob.DigB
                                        Bob.Dig LAYER 8 @jimp
                                        last edited by Bob.Dig

                                        @jimp Ok, tried them now, not working.

                                        1 Reply Last reply Reply Quote 0
                                        • JKnottJ
                                          JKnott @Bob.Dig
                                          last edited by

                                          @Bob-Dig said in IPv6 with two or more LAN-side interfaces:

                                          So is there any option left with that ISP-IPv6 or no?

                                          You could try mentioning what ISP that is. There might be someone here who has experience with them.

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

                                          Bob.DigB 1 Reply Last reply Reply Quote 1
                                          • Bob.DigB
                                            Bob.Dig LAYER 8 @JKnott
                                            last edited by Bob.Dig

                                            @JKnott Na, as I was mentioning they are doing 1:1 CG-NAT (IPv4) nobody could believe that here.
                                            I am pretty sure they only do /64, so what are my options?

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