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

    IPv6 LAN

    Scheduled Pinned Locked Moved IPv6
    11 Posts 4 Posters 1.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.
    • R
      richard243
      last edited by

      anyone?

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

        My ipv6 "WAN" is a GIF interface…

        Other than that, I assume the rest would be the same.  However, You will need to share.

        I need to see your LAN interface setup, WAN interface setup, firewall rules for all interfaces,  ServicesDHCPv6 Server & RALANDHCPv6 Server for all interfaces

        We can start there...

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          "I've setup the WAN interface up with the IP address xxxx:xxxx:xxxx::82/48"

          Well that is not correct…  If the DC routed the /48 to you then you would create /64 out of that /48 and use them on your lan side interfaces behind pfsense.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • R
            richard243
            last edited by

            I meant /64 on the WAN interface, my mistake.  I've attached a screenshot of the WAN,LAN,DHCP and the RA config.

            =wan.PNG
            =wan.PNG_thumb
            lan.PNG
            lan.PNG_thumb
            dhcp6.PNG
            dhcp6.PNG_thumb
            ra.PNG
            ra.PNG_thumb

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              huh??

              Dude did they route the /48 to you or not.. If they just gave you the /48 as directly attached to their router then you can not really do anything with it… How stupid can these companies be??

              If they routed the /48 to use - what is the transit network?  The first subnet?  You can not just set the mask to /64 vs /48..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • R
                richard243
                last edited by

                A /48 block is routed. I set /64 on the WAN interface. I think the /48 block might be directly attached. :/

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  If the the /48 was routed then they should of given you a /64 as the transit in their info, etc.  Its possible that they assumed you would use the 1st prefix as the transit, etc.  But to be honest that is bad practice..

                  If they just directly attached the /48 to their device your connected too.. Then they are clueless ;)  As it seems many a ISP or DC networking guys are when it comes to IPv6.. I would clarify with them that you want the /48 routed to you, and via what transit?  They should give you a /64 that is not part of your /48 as your transit.. They could use link-local for the transit.  But that is also just not good design..

                  Once they give you a routed /48 then you can break that up into the /64s you want to use behind pfsense for as many segments as you want, since a /48 is freaking HUGE ;)  Your not going to exceed 65K /64s are you ;)

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                    They could use link-local for the transit.  But that is also just not good design.

                    Take a look at your WAN port.  While there may be a global address on it, the gateway is via link local address, as is generally the case with IPv6 routing.  While it's certainly nice to have a global address, it's usually not used in routing, even on the local LAN.  Even on IPv4, a transit network isn't needed on a point to point link.  All that's needed is the interface that connects to the remote network.

                    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
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      "Even on IPv4, a transit network isn't needed on a point to point link."

                      Might not be needed, but pointless to do such a thing.. And makes it even that more difficult to work with, and depending hard to route when there is no IP to send it too, etc.

                      Who said his ISP would be using a point to point to him in a DC.. Normally there would be a transit later where customers are connected.. Just easier to give them an IP on this transit that should be a global /64 used as that transit network..

                      While the device might actually use the link local to talk to the gateway.. The global IP makes it nice and simple for troubleshooting and traceroute.. Now you get a valid hop in your trace since you will hit the global IP on the end of the transit network.

                      Like I said its bad design to not use a transit.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                        Like I said its bad design to not use a transit.

                        Perhaps I used the wrong expression.  I took your description as requiring public IPv6 addresses on the WAN side of the firewall.  I do have one that's completely different from what my /56 contains.  However, that public address is not used in routing my /56 to me.  It also has a /128 prefix.  Netstat -r shows a link local address that's not on my firewall for the default route.  With IPv6, routing is normally done using the link local address, so not having a public IPv6 address on my WAN interface would not break anything.  All that IPv6 address does is allow connection to my firewall from elsewhere.  This contrasts with IPv4, where a routed IP address is necessary, except with point to point links.

                        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.