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

Configuring multiple routable IPv6 subnets with multiple routers

Scheduled Pinned Locked Moved IPv6
5 Posts 3 Posters 723 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.
  • F
    foo
    last edited by Mar 21, 2021, 1:58 PM

    A picture can speak a thousand words...

    If my ISP provides a /48 IPv6 prefix, can I use three pfSense routers to setup the following topology with everything being routable to/from the internet?

    My main sticking point at the moment is what the network configuration between pfSense A---B and A---C should be. Should I allocate a /64 for these links?

    Would I need to use a routing protocol (like OSPF) to make everything routable?

    Any help and suggestions much appreciated.

    Example topology

    J 1 Reply Last reply Mar 21, 2021, 2:12 PM Reply Quote 0
    • J
      JKnott @foo
      last edited by Mar 21, 2021, 2:12 PM

      @foo

      Yes, routing with IPv6 works just like routing with IPv4. You could pass larger blocks than /64 to another router, to split further. You can repeat that in another stage too. There is one difference though in that with IPv6, the transit network can use link local addresses, instead routeable addresses in IPv4 (Has anyone tried something in 169.254.0.0/16 for a transit network? Should work.).

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

      F 1 Reply Last reply Mar 21, 2021, 2:23 PM Reply Quote 1
      • F
        foo @JKnott
        last edited by Mar 21, 2021, 2:23 PM

        @jknott Thanks for confirming this should work.

        I can't get any IPv6 addresses on the LAN interfaces of pfSense B and C.

        On router A, I have the LAN A and B interfaces set to tracking. One hase prefix ID 00 and the other 01. I assume this will give have a /64 prefix?

        How should I have the router A, LAN A and LAN B interfaces configured to connect to router B and C? Should I use DHCPv6 or RA?

        D J 2 Replies Last reply Mar 21, 2021, 2:55 PM Reply Quote 0
        • D
          Derelict LAYER 8 Netgate @foo
          last edited by Derelict Mar 21, 2021, 3:04 PM Mar 21, 2021, 2:55 PM

          @foo said in Configuring multiple routable IPv6 subnets with multiple routers:

          How should I have the router A, LAN A and LAN B interfaces configured to connect to router B and C? Should I use DHCPv6 or RA?

          That depends on what you want to do. You can make static routes to the downstream routers if you want static routing or configure DHCP6 with a prefix delegation if you want dynamic host configuration.

          Both will work fine.

          Routers B and C will have to be configured, via DHCP6 or SLAAC or both, to provide addressing and routing options to the clients on their downstream networks. Else all clients on those downstream networks will need to be configured statically.

          Here is part of the DHCP6 delegation I have that provides the "WAN" interface for a lab segment. I have chosen to operate this segment in "Managed" RA mode (SLAAC "auto" addressing disabled) since the only thing I connect there are downstream routers. They get an address and a /56 PD with which they can do whatever they want.

          Screen Shot 2021-03-21 at 10.59.15 AM.png

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • J
            JKnott @foo
            last edited by Mar 21, 2021, 4:46 PM

            @foo said in Configuring multiple routable IPv6 subnets with multiple routers:

            How should I have the router A, LAN A and LAN B interfaces configured to connect to router B and C? Should I use DHCPv6 or RA?

            Think about how you'd do it in IPv4. You set up routes to say those addresses go there. Same thing with IPv6. This is basic stuff for anyone setting up networks, whether IPv4 or IPv6.

            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
            1 out of 5
            • First post
              1/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received