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

    Static IPv6 subnet on LAN announced through RA on WAN interface?

    Scheduled Pinned Locked Moved IPv6
    9 Posts 3 Posters 3.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.
    • F
      fishbone
      last edited by

      Hi all,

      situation is as follows:
      I have a DSL line with a fritzbox on it that does not allow for IPv6 static route configurations.
      The fritzbox is sending an IPv6 prefix through DHCPv6 on its LAN side; this is de WAN side of the pfSense box (let's say network a🅱c:1::/64).
      The pfSense box gets an IPv6 address and default gateway (WAN config is set to DHCPv6). From the pfSense box itself I can ping IPv6 hosts on the internet.

      On the LAN side I configured a static IPv6 subnet: a🅱c:2::/64 with a🅱c:2::1 on the pfSense box.
      Clients on the LAN do receive IPv6 configs and can ping the pfSense box. However, they cannot ping neither hosts on the WAN side of the pfSense box, nor the internet.

      My guess is that this is a routing issue: hosts on the WAN side do not know how to get to the a🅱c:2::/64 network. It is not a filtering issue because I see the packets leaving the pfSense box using tcpdump and logging is also enabled on all filter rules and they do not appear in the logs).

      For this to work I need to have RA set up on the WAN side (also because the fritzbox can only be set to "Allow IPv6 prefixes announced by other IPv6 routers in the home network", as said, it does not allow IPv6 static routes to be added).

      Any hints on how to achieve this?

      Regards,

      John

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

        And where did you get this a🅱c:2::/64 you put on your lan??  You can not just make shit up and expect it to work..  Is your isp routing to you more /64?  Did they give you a /48 or something.

        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.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • F
          fishbone
          last edited by

          Yes I have a /48 from my ISP; in this case a🅱c::/48 ; I used a🅱c:1::/64 and a🅱c:2::/64 just for clarification; it is not the real prefix.

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

            So you sure the /48 is routed to you.. Or is it just attached to you..  And your a🅱c:1::/64 is the transit, is that the 1st /64 in the /48 – is that what your ISP told you would be the transit network.

            I have a routed /48 from HE, its routed down my tunnel.. I can then subnet that out to any /64 I want and place them static on my lan segments in pfsense and works just fine.

            I would validate that the /48 is fact routed to you via the network your using as a transit on your wan.

            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.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • F
              fishbone
              last edited by

              Yes, I'm sure the /48 is routed to me. I can understand why it works automatically with your HE tunnel and your /48 because the pfsense box knows all attached networks.
              On my transit LAN (the WAN side of the pfsense box) my internal LAN's behind pfsense are not known (I don't do NAT) . For IPv4 that's no problem because I simply add a static route on all servers in the transit LAN. For IPv6 I cannot, simply because the Fritz!Box doesn't allow me to do that. That's why I need to transmit RA's one way or another unless someone knows another solution.

              1 Reply Last reply Reply Quote 0
              • H
                hda
                last edited by

                You have cascading routers (ISP-FritzBox  <–> pfSenseBox). Try with prefix delegation from FritzBox(server) to pfSenseBox, say a /60 for 15 LAN's. Then again you might run into trouble with issueing IPv6-LAN subnet-values of your static choice. Solve this with LAN stick to Track Interface. To avoid all this, remove the Fritzbox or get a PPPoE towards the pfSenseBox (e.g. a DrayTek 130 i.c.o. DSL).

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

                  So your /48 is routed to your fritzbox, and your /64 is between the fritz box and pfsense..

                  But you can not edit routes on the firtzbox?  Why do you think sending RA's would work?  That seems like a pretty crappy setup..  Can you not just bridge this fritz box so that your /48 is directly routed to your pfsense wan.

                  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.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • F
                    fishbone
                    last edited by

                    You're right. The /48 is routed to my fritzbox and my /64 is on the transit LAN.
                    And yes, I cannot edit IPv6 routes on the fritzbox. I think RA's will work for I can tell the fritzbox to accept RA's ("Allow IPv6 prefixes announced by other IPv6 routers in the home network" in the GUI).

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

                      Ah… Those are some weird ass boxes to be sure.. Sorry off the top I do not think you can announce RA out the wan.. That could be a dangerous thing to do if you were directly connected to the ISP that is for sure.

                      You could prob do it via manual manipulation of the configs..  But I don't see a way to do it in the gui.  RA gui is tied to having static on the interface, since its under the dhcpv6 server tab..  Try setting static ipv6 on your wan interface connected to your fritz.. Then you should be able to enabled dhcpv6 and get the RA gui tab..

                      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.7.2, 24.11

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