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

    Multiple IPV6 Tunnels

    Scheduled Pinned Locked Moved IPv6
    32 Posts 5 Posters 15.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.
    • M
      mdpugh
      last edited by

      On a Windows client type ipconfig /release6 in a Powershell (or command prompt) window.  The start Wireshark capturing on an interface that will request an IPv6 address from pfSense.  Return to Powershell and type ipconfig /renew6.  Stop capture and examine the DHCPv6 messages between machines.  Post here if you like or send me the capture file.

      1 Reply Last reply Reply Quote 0
      • M
        mdpugh
        last edited by

        Are you positive that the client is getting the IPv6 address from the server?  The client you ran ipconfig on should have an address ending in :ebcf provided you haven't released it since running Wireshark.  Here is what I'm not seeing: DHCPv6 Request and DHCPv6 Reply.  The fact that an Advertise message appears in response to each Solicit proves that your server is hearing your client.  The client is then supposed to respond to the Advertise with a Request and, finally, the server answers with a Reply.  The absence of the Request indicates to me that your client isn't responding (or responding properly) to the server.  But if the client is getting an IPv6 address from the server, then we have a more complicated scenario because it's responding to the Advertise only in part.  I'll have to do some digging to see at what point in the message/response sequence the client commits to the address.  There is enough information in the Advertise for the client to extract the offered address, but there is also enough for it to get the DNS server address, so why one and not the other?  No matter what, though, the client should be sending a Request and it isn't.

        1 Reply Last reply Reply Quote 0
        • J
          joe_cowboy
          last edited by

          This is happening to all clients on the network even on LAN.  The Wireshark output I sent you was on WLAN.

          Thanks again for looking at the Wireshark data.

          -Joe Cowboy

          1 Reply Last reply Reply Quote 0
          • M
            mdpugh
            last edited by

            Get the client in an identical state to what it was in immediately after the Wireshark capture you sent me (the corrected one).  Then run ipconfig /all and netsh interface ipv6 show int where <int#>is the interface that just obtained the IPv6 address from pfSense.  You can post the results here, obfuscate addresses if desired, or e-mail them to me.  The second Wireshark capture looks like this should be working.</int#>

            1 Reply Last reply Reply Quote 0
            • J
              joe_cowboy
              last edited by

              Thank you for all your extensive help mdpugh.  Figured out the major foobar from you help….  I had for the interface Bridge the wrong IPv6 address: I didn't have the proper Routed IPv6 Prefixes range of address.  So that issue is fixed now. I can get to IPv6 websites now.  So the DHCPv6 now hands out the correct Routed IPv6 Prefixes range and also the DNS server IPv6 address but still not the GATWAY IPv6 address.  That is still a work on progress from the pfSense team getting that to work.

              However the other issue is still happening with the other two tunnels I have set up.  The Gateways still show Offline.

              -Joe Cowboy

              1 Reply Last reply Reply Quote 0
              • M
                mdpugh
                last edited by

                As I understand it, the current specification dictates that the router hand out only its link-local address in the RA (not counting a link-local CARP address, I suppose  ;D) and that DHCPv6 not distribute any gateway address.  I don't know if providing additional functionality violates the specification per se, but the spec doesn't call for it, and it shouldn't be counted upon.  Is that correct?  Or would it be outright nonconformance?

                1 Reply Last reply Reply Quote 0
                • J
                  joe_cowboy
                  last edited by

                  Has anybody tried setting up two or more HE.net tunnels on their pfSense router with multiple WAN interfaces?  Where each WAN has it's own tunnel?  If so does your TUNNNEL GATEWAY that is not associated with the main WAN interface show Oneline.  Why I say that WAN1 and WAN2 Tunnels show offline.  I have deleted the tunnels multiple times and recreating them.

                  Another thought if you group them aka loadbalance these tunnels would you have to manually add  a IPv6 address to the interface the DHCPv6 server sits on "Routed /64" subnet from HE.net tunnel.  Then also statically add an IPv6  address on your client machines from each of the "Routed /64" subnet tunnels?

                  Thanks for your help.

                  1 Reply Last reply Reply Quote 0
                  • M
                    mdpugh
                    last edited by

                    What are your pfSense configurations for all three tunnel interfaces?  Show IPv6 address, IPv6 gateway, IPv4 endpoints, etc.

                    1 Reply Last reply Reply Quote 0
                    • Y
                      yon
                      last edited by

                      Me too. I have setup Second ipv6 tunnel via Second WAN, but it is show offline.  :(

                      If you are interested in free peering for clearnet and dn42,contact me !

                      1 Reply Last reply Reply Quote 0
                      • Y
                        yon
                        last edited by

                        I find once creat second ipv6 tunnel in interface,then all ipv6 tunnel link will offline.

                        If you are interested in free peering for clearnet and dn42,contact me !

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

                          I've got two tunnels, one on each WAN. Both are online, and thanks to NPt and some gateway groups, I have working IPv6 multi-wan. Not sure why others might be having issues, but the same things apply as usual.

                          1. Make sure you have a distinct tunnel endpoint for each tunnel. For example, one to Chicago, one to Dallas, one to NY, etc. Don't use the same HE.net endpoint for more than one.
                          2. Make sure all your WANs allow ICMP from the endpoints
                          3. Perhaps add a static route to the remote endpoint node to make sure they use the proper WAN

                          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!

                          1 Reply Last reply Reply Quote 0
                          • Y
                            yon
                            last edited by

                            @jimp:

                            I've got two tunnels, one on each WAN. Both are online, and thanks to NPt and some gateway groups, I have working IPv6 multi-wan. Not sure why others might be having issues, but the same things apply as usual.

                            1. Make sure you have a distinct tunnel endpoint for each tunnel. For example, one to Chicago, one to Dallas, one to NY, etc. Don't use the same HE.net endpoint for more than one.
                            2. Make sure all your WANs allow ICMP from the endpoints
                            3. Perhaps add a static route to the remote endpoint node to make sure they use the proper WAN

                            I have check its like you said.

                            1. I am sure. and success creat tunnel in tunnelbroker.net.

                            2. I think should had do allow ICMP from the endpoints. because tunnelbroker.net endpoint has update.

                            3. whats add route ?

                            20120329043720.jpg
                            20120329043720.jpg_thumb

                            If you are interested in free peering for clearnet and dn42,contact me !

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

                              System > Routing, Routes tab. Add a route for the endpoint IP, pick the WAN you have it attached to, save/apply, repeat for the other endpoints.

                              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!

                              1 Reply Last reply Reply Quote 0
                              • Y
                                yon
                                last edited by

                                @jimp:

                                System > Routing, Routes tab. Add a route for the endpoint IP, pick the WAN you have it attached to, save/apply, repeat for the other endpoints.

                                thank you jimp .  :-*  now it seem is online.

                                it is should write in your wiki doc. I have no find about this.

                                then How I do will second ipv6 subnet address add in LAN?  LAN only can an ipv6 address ?

                                If you are interested in free peering for clearnet and dn42,contact me !

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

                                  You don't use both at once on LAN. You just use one on LAN and setup NPt (sort of like 1:1 NAT) for the WAN routed /64's.

                                  See my other doc here:
                                  http://doc.pfsense.org/index.php/Multi-WAN_for_IPv6

                                  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!

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    yon
                                    last edited by

                                    @jimp:

                                    You don't use both at once on LAN. You just use one on LAN and setup NPt (sort of like 1:1 NAT) for the WAN routed /64's.

                                    See my other doc here:
                                    http://doc.pfsense.org/index.php/Multi-WAN_for_IPv6

                                    OK.  I have done. How I know Whether this success ?

                                    If you are interested in free peering for clearnet and dn42,contact me !

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

                                      Just an FYI- databeestje committed some code to automatically add static routes for the gif tunnel endpoints so this should be much easier now.

                                      And there have been other routing/gateway improvements as well that will make things work smoother.

                                      Recently I had an outage that let me test mine more thoroughly from home and it worked rather well. When my primary WAN+Tunnel were down, I was able to get out over my secondary WAN+Tunnel and when I checked, it was using the prefix I specified in NPt. I'd call it a success.

                                      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!

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        databeestje
                                        last edited by

                                        Still need to shore up the input validation on the NPt page, maybe reword some of the text.

                                        It also needs a single prefix size drop down. The filter rules don't allow specifying differing sizes which causes filter rules.

                                        Should be easy, but lacking a dual wan to test. I need to investigate what the cheapest DSL I can get is.

                                        1 Reply Last reply Reply Quote 0
                                        • Y
                                          yon
                                          last edited by

                                          now I have setup Multi-ipv6 tunnels in adsl.  using config the Static Routes and NTP show all ipv6 tunnels online.

                                          but only out visit work, the second ipv6 can't visit from internet. I want to setup multi-ipv6 network, when one ipv6 slow then change use the second ipv6 for my web server etc.

                                          I think should allow setup multi ipv6 network address for the same LAN?

                                          I can offer login my router account. if your need it.

                                          If you are interested in free peering for clearnet and dn42,contact me !

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