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

    Testbenching pfsense in VMware trying to enable IPv6

    Scheduled Pinned Locked Moved IPv6
    8 Posts 3 Posters 906 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.
    • lohphatL
      lohphat
      last edited by

      I'm using 6to4 to get IPv6 enabled on my Asus router (running Merlin instead of stock).

      The pfsense VM is getting an IPv6 address as expected but I'm having issues getting IPv6 on the LAN interface.

      Since it's already a tunneled IPv6 config, do I have to do something special (e.g. involving black candles, virgins, and goats) to get a subset of the pfsense WAN segment allocated for the pfsense LAN or is there something more straightforward?  I've been trying DHCP6 and SLAAC to no success.

      SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_1)

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

        What size prefix do you have?  Normally, you'd get a prefix containing multiple /64 prefixes, each of which can be assigned to a pfSense interface.  I get a /56, which is 256 /64s, from my ISP.

        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
        • lohphatL
          lohphat
          last edited by

          The Asus is providing a /48 on the LAN side so in my VMware setup the vmWAN is using DHCP6 to get its external address.

          So I assume I need to segment the /48 somehow and then statically config the vmWAN then setup a subset pool of the /48 for the vmLAN?

          This is where my  IPv6-fu is weak.

          SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_1)

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

            You want a /64 on the LAN side, not a /48.  If you receive a /48, you have 65536 /64s.  Each of those /64s can be assigned to an interface.  You normally have /64s on the LAN, so that SLAAC will work properly.  When you configure an interface, you use the IPv6 Prefix ID to select which /64 to use.

            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
            • lohphatL
              lohphat
              last edited by

              The 6to4 config on the Asus is handing me the /48 and none of the fields are editable so I guess it's decided by the tunnel broker. As you know FiOS isn't and seemingly will never be native IPv6. But their 1gig/1gig for $80/month is a STEAL.

              So I  guess I should statically assign the pfWAN an IP from the /48 then slice off a /64 and assign it to the pfLAN?

              SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_1)

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

                The 6to4 config on the Asus is handing me the /48 and none of the fields are editable so I guess it's decided by the tunnel broker

                No, it's determined by your router.  I used to use a 6in4 tunnel with a /56 and I still was able to select the /64 I used.

                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
                • lohphatL
                  lohphat
                  last edited by

                  @JKnott:

                  The 6to4 config on the Asus is handing me the /48 and none of the fields are editable so I guess it's decided by the tunnel broker

                  No, it's determined by your router.  I used to use a 6in4 tunnel with a /56 and I still was able to select the /64 I used.

                  The length is not editable in the Asus.  I get the LAN prefix and length and the router, nothing is editable.

                  Perhaps I should be using "track interface" on the pfWAN?

                  On the Asus 6to4 status page: (details obfuscated)

                  LAN IPv6 Address      2002:xxxx:yyyy::1 (the Asus LAN)
                  LAN Prefix Length      48
                  LAN IPv6 Prefix          2002:xxxx:yyyy::

                  On the pfWAN (using DHCP6)

                  IPv6 Address            2002:xxxx:yyyy::1:1 (so it looks as though it sliced off ::1:zzzz (the next /64 for the pfWAN)
                  Subnet mask IPv6      64

                  So I'm trying to figure out how to delegate the 2002:xxxx:yyyy::1:zzzz /64 slice to DHCP6 on the pfLAN interface.

                  I hope this is clear enough.

                  SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_1)

                  1 Reply Last reply Reply Quote 0
                  • IsaacFLI
                    IsaacFL
                    last edited by

                    I have used an Asus Merlin with ipv6 and as far as I know it cannot delegate a prefix. It just hands out individual addresses.

                    You should probably ask on the Merlin forum though.

                    https://www.snbforums.com/forums/asuswrt-merlin.42/

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