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

    What ipv6 address should I put on the pfsense lan

    Scheduled Pinned Locked Moved IPv6
    5 Posts 3 Posters 1.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.
    • L
      lololo
      last edited by

      Hello,

      I would like a small exclamation for the ipv6 address of the lan.

      My IPS gives me a / 48 for my LAN / DMZ (2001: AAA: BBB :: / 48)

      Can I just put this address as lan address of pfsense 2001: AAA: BBB :: / 48 and manually parameter my machines?

      Thanks for your help, it's not clear to me.

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by

        You could do that but it's a waste of all the IPv6 address space.

        /64 IIRC is the smallest network size for a SLAAC network, still it's 18 quintillion IPv6 addresses.

        I too had a /48 from my ISP, I split mine up into a bunch of /64s

        2a02:XXXX:YYYY::/48 split :-

        2a02:XXXX:YYYY::/64

        Start Range: 2a02:XXXX:YYYY:0:0:0:0:0
        End Range: 2a02:XXXX:YYYY:0:ffff:ffff:ffff:ffff
        No. of host: 18446744073709551616

        2a02:XXXX:YYYY:1::/64 LAN VLAN 1

        Start Range: 2a02:XXXX:YYYY:1:0:0:0:0
        End Range: 2a02:XXXX:YYYY:1:ffff:ffff:ffff:ffff
        No. of host: 18446744073709551616

        2a02:XXXX:YYYY:2::/64 USER VLAN 2

        Start Range: 2a02:XXXX:YYYY:2:0:0:0:0
        End Range: 2a02:XXXX:YYYY:2:ffff:ffff:ffff:ffff
        No. of host: 18446744073709551616

        2a02:XXXX:YYYY:3::/64 GUEST VLAN 3

        Start Range: 2a02:XXXX:YYYY:3:0:0:0:0
        End Range: 2a02:XXXX:YYYY:3:ffff:ffff:ffff:ffff
        No. of host: 18446744073709551616

        2a02:XXXX:YYYY:4::/64 IOT VLAN 4

        Start Range: 2a02:XXXX:YYYY:4:0:0:0:0
        End Range: 2a02:XXXX:YYYY:4:ffff:ffff:ffff:ffff
        No. of host: 18446744073709551616

        2a02:XXXX:YYYY:5::/64 DMZ VLAN 5

        Start Range: 2a02:XXXX:YYYY:5:0:0:0:0
        End Range: 2a02:XXXX:YYYY:5:ffff:ffff:ffff:ffff
        No. of host: 18446744073709551616

        2a02:XXXX:YYYY:6::/64 VOICE VLAN 6

        Start Range: 2a02:XXXX:YYYY:6:0:0:0:0
        End Range: 2a02:XXXX:YYYY:6:ffff:ffff:ffff:ffff
        No. of host: 18446744073709551616

        I also use the VLAN number as the 3rd octet in my IPv4 address space.

        You can set up the IPv6 DHCP scope & reservations.

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        1 Reply Last reply Reply Quote 0
        • L
          lololo
          last edited by

          oh great !

          thank you for your explanations !

          1 Reply Last reply Reply Quote 0
          • NogBadTheBadN
            NogBadTheBad
            last edited by

            http://subnettingpractice.com/ipv6_subnetting.html

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

              That /48 is 65536 /64s.  You normally configure the router to use one of those for each LAN or VLAN.  This is done in pfSense on the LAN tab in IPv6 Prefix ID.  Normally, it's 0, for a single LAN, but you'd choose another for other LANs/VLANs.  One deficiency I've noticed with pfSense is that it only accepts values between 0 & ff, which will only cover a /56 block for 256 networks.  So, most of that /48 will be wasted, unless you use a different router that properly supports a /48.  Of course, I don't think most users will have more than 256 LANs/VLANs.  ;)

              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
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.