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

    How to retrieve my IPv6 default gateway?

    Scheduled Pinned Locked Moved IPv6
    20 Posts 5 Posters 42.3k 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
      kpa
      last edited by

      If all else fails, run this on the console or at Diagnostics->Command Prompt:

      route -n6 get default
      
      1 Reply Last reply Reply Quote 0
      • D
        DonZalmrol
        last edited by

        IPv6 is working thanks to the track interface.
        I know FE80 is valid as well as a gateway, but PFsense is showing that gateway as offline.

        I believe as well that DHCPv6-PD is being used by Telenet. Since I receive a /56 network range from them.

        Settings on my WAN interface
        0_1528192769763_6b7a879f-3783-448c-9bd5-0703c290d8e7-afbeelding.png

        Settings on my LAN interface
        0_1528192797589_479d673a-206b-4eea-9a05-1c4ef92f6ea7-afbeelding.png

        0_1528192822203_6896e246-e357-4a46-aa0f-fa5d5815b207-afbeelding.png

        Results in:
        0_1528192924296_d7957b87-7468-481b-9876-6b7312978538-afbeelding.png
        0_1528192965610_f1ce8a9a-f9ac-4856-b5d0-ed5f64499b5e-afbeelding.png

        On my LAN interface I get the IPv6 range from my ISP thanks to the track interface.
        The WAN interface only gives me the FE80...

        JKnottJ 1 Reply Last reply Reply Quote 0
        • D
          DonZalmrol
          last edited by

          After running the command:
          0_1528193099411_fe069686-e8c1-4138-a639-7d5db4053ddd-afbeelding.png

          Seems I only get the FE80...
          Perhaps this is by design from my ISP? Would be a bit strange, no?

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by kpa

            That fe80:: address is your default gateway for IPv6, it's completely normal to have a link-local IPv6 gateway address when the interface is configured automatically with SLAAC or DHCP. In fact it's only when you do manual set up you might see a routable gateway address.

            It's not your ISP's own "design", it's just how IPv6 works.

            1 Reply Last reply Reply Quote 2
            • D
              DonZalmrol
              last edited by

              Aha, let me see if I can add a fixed ipv6 address and see it it's find it's own gateway again in the correct range.
              If this doesn't work, what can I do else?

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

                Seems I have the same FE80 GW after setting my WAN IPv6 address to a fixed one.
                (I did not select a GW, (none option))

                1 Reply Last reply Reply Quote 0
                • K
                  kpa
                  last edited by

                  What do you have as gateways at System->Routing->Gateways ?

                  If you do a complete manual set up you won't have a gateway unless you set one yourself.

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

                    This is what I can see:

                    0_1528203878187_461d074f-3b28-43a4-829b-e50c12f1ef89-afbeelding.png

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

                      @donzalmrol said in How to retrieve my IPv6 default gateway?:

                      IPv6 is working thanks to the track interface.
                      I know FE80 is valid as well as a gateway, but PFsense is showing that gateway as offline.

                      I believe as well that DHCPv6-PD is being used by Telenet. Since I receive a /56 network range from them.

                      Settings on my WAN interface
                      0_1528192769763_6b7a879f-3783-448c-9bd5-0703c290d8e7-afbeelding.png

                      Settings on my LAN interface
                      0_1528192797589_479d673a-206b-4eea-9a05-1c4ef92f6ea7-afbeelding.png

                      0_1528192822203_6896e246-e357-4a46-aa0f-fa5d5815b207-afbeelding.png

                      Results in:
                      0_1528192924296_d7957b87-7468-481b-9876-6b7312978538-afbeelding.png
                      0_1528192965610_f1ce8a9a-f9ac-4856-b5d0-ed5f64499b5e-afbeelding.png

                      On my LAN interface I get the IPv6 range from my ISP thanks to the track interface.
                      The WAN interface only gives me the FE80...

                      No, it means it's working properly. I get the same both at home and work. Also on my local LAN and tethered to my Android phone. All have a link local address for the gateway.

                      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
                      • K
                        kpa @DonZalmrol
                        last edited by kpa

                        @donzalmrol said in How to retrieve my IPv6 default gateway?:

                        This is what I can see:

                        0_1528203878187_461d074f-3b28-43a4-829b-e50c12f1ef89-afbeelding.png

                        You probably kept the gateway from your DHCPv6-PD configuration and it's working correctly. Keep it as it is.

                        D 1 Reply Last reply Reply Quote 1
                        • M
                          mrsunfire
                          last edited by

                          You have to change the monitor IP to a Global IP!

                          Netgate 6100 MAX

                          1 Reply Last reply Reply Quote 1
                          • D
                            DonZalmrol @kpa
                            last edited by

                            @kpa seems that it stayed in the routing list as the default gateway when I changed from DHCPv6 to static IPv6.

                            @mrsunfire that was indeed the solution for getting a valid gateway (green)
                            0_1528270657457_e84df97e-2733-4470-b2c2-1c801b552d6b-afbeelding.png

                            So long story short, I can/ have to use the FE80 since my provider does not (for a 100%) give a valid IPv6 set up where I can see a proper gateway in the same range as my IPv6 range that I was given?

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

                              Yes. Here in Germany its the same. ISP only provides a fe80 gateway. But you don‘t have to use a gateway with IPv6.

                              Netgate 6100 MAX

                              JKnottJ 1 Reply Last reply Reply Quote 1
                              • D
                                DonZalmrol
                                last edited by DonZalmrol

                                @mrsunfire thx, noted.

                                What I also noticed is that after each change from e.g. static to dhcpv6 or a reboot of the firewall the IPv6 address changes...

                                Thought this wasn't possible due to the DUID. Or am I mistaken and that the DUID only binds the IPv6 range to my firewall network and it's still randomly assigning IPv6 address on each interface release?

                                If so, I've enabled the following option on my IPv6 WAN interface, I believe this should stop the random addresses to be given to my firewall.

                                0_1528272528382_37f08f66-7e7f-43bb-816a-eb99678c51a3-afbeelding.png

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

                                  @mrsunfire said in How to retrieve my IPv6 default gateway?:

                                  Yes. Here in Germany its the same. ISP only provides a fe80 gateway. But you don‘t have to use a gateway with IPv6.

                                  Yes you do have a gateway. It has a link local address. It's a routeable address that you don't need, as the router only has to connect to the next hop and link local is good enough for that.

                                  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
                                  • K
                                    kpa
                                    last edited by

                                    You must have a gateway to have any kind of connectivity outside the local network segment. That is the definition of gateway, a way out of the local network to other networks including the internet. It's no different with IPv6 compared to IPv4.

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

                                      To clarify I know that the FE80 is a valid gateway and yes IPv6 is working.

                                      I was in the understanding that I would have a IPv6 gateway in the same range (2a02:.../56) like I have with my public IP (81.83.0.1/19).

                                      N 1 Reply Last reply Reply Quote 0
                                      • N
                                        Napsterbater @DonZalmrol
                                        last edited by

                                        @donzalmrol said in How to retrieve my IPv6 default gateway?:

                                        I was in the understanding that I would have a IPv6 gateway in the same range (2a02:.../56) like I have with my public IP (81.83.0.1/19).

                                        No.

                                        1 Reply Last reply Reply Quote 0
                                        • CatSpecial202C CatSpecial202 referenced this topic on
                                        • First post
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.