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

    Lost in translation … native ipv6, CARP and route

    Scheduled Pinned Locked Moved IPv6
    12 Posts 3 Posters 2.5k 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.
    • awebsterA
      awebster
      last edited by

      Your config isn't going to work.

      WAN interfaces must have routable ipv6 addresses, same for LAN interfaces.

      fd00::/8 is private ipv6 space.  If you got that from your ISP, change ISP!

      CARP isn't going to work with DHCP.

      Ask your ISP for a static /64 IPv6 subnet with static /56 routed to it, for example you get 2001:0db8:dead:beef::/64 and 2001:0db8:0123:4500::/56 from your ISP, and the ISP sets up 2001:0db8:0123:4500::/56 to be routed to 2001:0db8:dead:beef::1.

      On the WAN side you would have:
      2001:0db8:dead:beef::1 = VIP
      2001:0db8:dead:beef::2 = BOX 1
      2001:0db8:dead:beef::3 = BOX 2

      On the LAN side, split out a /64 from the /56 and assign it the same way. 
      A /56 will give you 256 /64 subnets from
      2001:0db8:0123:4500::/64
      to
      2001:0db8:0123:45FF::/64

      So if you use the first subnet on the LAN side your LAN config looks like this:
      2001:0db8:0123:4500::1/64 = VIP
      2001:0db8:0123:4500::2/64 = BOX 1
      2001:0db8:0123:4500::3/64 = BOX 2

      –A.

      1 Reply Last reply Reply Quote 0
      • S
        stanthewizard
        last edited by

        Thanks

        The sad thing is my isp only give :
        2a01:cb00:4f4:xxxx::/56

        :-[

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          And it sounds like it's only provided via DHCP6 PD, which means you can't use it with CARP. It has to be statically routed in that case for automatic failover.

          1 Reply Last reply Reply Quote 0
          • S
            stanthewizard
            last edited by

            Ok
            Thanks

            And how do you do that ?  :-\

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              That means your ISP has to give you a static WAN assignment, and route your LAN /56 subnet to one of those WAN IPs (which will be your WAN-side IPv6 CARP IP).

              1 Reply Last reply Reply Quote 0
              • S
                stanthewizard
                last edited by

                They don't for the moment

                the only static thing I got is that (the gateway ?)

                2a01:XXXX:YYYY:2400:278:9eff:fe8d:4806

                thanks again for your precious help

                1 Reply Last reply Reply Quote 0
                • C
                  cmb
                  last edited by

                  Do you get the same PD on both primary and secondary? Same IPv6 subnet on LAN under Status>Interfaces?

                  1 Reply Last reply Reply Quote 0
                  • S
                    stanthewizard
                    last edited by

                    I can put on the 2 wan a fixed IP ?

                    2a01:XXXX:YYYY:2400:278:9eff:fe8d:200

                    2a01:XXXX:YYYY:2400:278:9eff:fe8d:200

                    Carp
                    2a01:XXXX:YYYY:2400:278:9eff:fe8d:1

                    Could it help ?

                    PS: ton answer your question …strangelly DHCP6 gives me fe80::250:56ff:fe80:36e9 ... for the first time

                    1 Reply Last reply Reply Quote 0
                    • S
                      stanthewizard
                      last edited by

                      cmb any idea ??

                      Thanks again

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmb
                        last edited by

                        @stanthewizard:

                        I can put on the 2 wan a fixed IP ?

                        That's a question only your ISP can answer. If your IPv6 comes via PD, then most likely the answer is no. But not necessarily, your assignment and routing could be static, in which case yes that would be possible.

                        1 Reply Last reply Reply Quote 0
                        • S
                          stanthewizard
                          last edited by

                          And I'm not going to have an answer on that

                          Do you thinks that what I wrote could work ?

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