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

    ISP-assigned static IPv6 /48 issues

    Scheduled Pinned Locked Moved IPv6
    21 Posts 4 Posters 2.1k 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.
    • JKnottJ
      JKnott @peter-fyri
      last edited by

      @peter-fyri

      If you can't communicate between LAN or VLANs it's either a routing or firewall rule issue. One thing though is to get routing working before adding rules that may block traffic. As I mentioned, I can't check my system at the moment but, IIRC, you have to specifically allow traffic between (V)LANs. When I set up a VLAN recently for my guest WiFi, I had the opposite issue. I wanted to prevent guests, on the VLAN, from accessing anything on the LAN.

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

      P 1 Reply Last reply Reply Quote 0
      • P
        peter-fyri @JKnott
        last edited by

        @jknott said in ISP-assigned static IPv6 /48 issues:

        @peter-fyri

        If you can't communicate between LAN or VLANs it's either a routing or firewall rule issue. One thing though is to get routing working before adding rules that may block traffic. As I mentioned, I can't check my system at the moment but, IIRC, you have to specifically allow traffic between (V)LANs. When I set up a VLAN recently for my guest WiFi, I had the opposite issue. I wanted to prevent guests, on the VLAN, from accessing anything on the LAN.

        Between those particular interfaces, the LAN and VLAN, I must allow traffic, so there is a firewall rule in place on both, which allows any kind of traffic, both ipv4 and 6, between the two. I can ping from any direction, from pfSense, both interfaces IP addresses (from LAN interface to the IPv6 of VLAN and vice-versa), but not the clients behind the interfaces (so from VLAN to a static client of LAN). The client responds (or should) to ping from anywhere, as its local firewall is set to respond. The LAN client responds to ping coming from the internet, from another network.

        JKnottJ 1 Reply Last reply Reply Quote 0
        • JKnottJ
          JKnott @peter-fyri
          last edited by

          @peter-fyri

          Perhaps you can post your rules, so we're not guessing.

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

          P 1 Reply Last reply Reply Quote 0
          • P
            peter-fyri @JKnott
            last edited by

            @jknott
            Sure thing, here they are (well, the relevant ones, from top to bottom). So the two interfaces i am talking about is LAN and WIFI (WIFI being a vlan). These two should communicate between each other. And they do on IPv4, but they don't on IPv6.

            7623428a-cc4a-46a3-8f09-c0262ce04e10-image.png

            Thank you!

            JKnottJ 1 Reply Last reply Reply Quote 0
            • JKnottJ
              JKnott @peter-fyri
              last edited by

              @peter-fyri said in ISP-assigned static IPv6 /48 issues:

              And they do on IPv4, but they don't on IPv6

              Well, the first thing to do is find out what the differences are between IPv4 & IPv6. The only IPv4 rule I see is for ICMP and also IPv6. I expect you're using NAT on IPv4, which can also affect this. As I mentioned, I can't check my system to see what's what. My rule is to start simple, get it working before getting fancy, so you could try a single allow everything rule initially.

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

              P 1 Reply Last reply Reply Quote 0
              • P
                peter-fyri @JKnott
                last edited by peter-fyri

                @jknott
                Yes, I unfortunately I cannot share the rules below, as It exposes sensitive data.
                However, for testing purposes, I only need ping to work, from that point forward, I will surely manage to work out any other issues. But, also for testing purposes, the rules that limit IPv6 connectivity to/from these two subnets, were before (like a few hours ago) set to any (so any IPv6 source was allowed). But ping or any other connectivity still failed. And these rules were at the top of the rules, before any other limiting... and.. still didn't work :(

                JKnottJ 1 Reply Last reply Reply Quote 0
                • JKnottJ
                  JKnott @peter-fyri
                  last edited by

                  @peter-fyri said in ISP-assigned static IPv6 /48 issues:

                  as It exposes sensitive data

                  I assume you mean addresses, as there's no need to hide ports. If that's a concern, one way around that is to use an alias, such as the way you used "LAN net" or "WIFI net". Still, start simple to get it working then add rules as needed. That way, you have some idea what breaks it.

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

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    peter-fyri @JKnott
                    last edited by peter-fyri

                    @jknott
                    Well, it doesn't work. Can't communicate between subnets no matter what I do. I'm 99% sure it is not about firewall rules (not excluding the possibility of course). Maybe it has to do with that link-local address I added for the WAN from the CLI and things are not properly routed because of it. I don't know.
                    In the worst case, I'll move the WiFi clients in the same subnet as the LAN, for both IPv4 and 6.

                    JKnottJ 1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @peter-fyri
                      last edited by

                      @peter-fyri

                      Link local addresses are never routed. With IPv6, they're used for things like router advertisements, neighbour discovery, etc.. As I mentioned, I had to add rules to prevent my guest WiFi/VLAN from reaching my main LAN. I can't tell you what my rules are, though they have been posted on some other thread, until I get pfsense up & running again.

                      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
                      • DerelictD
                        Derelict LAYER 8 Netgate @peter-fyri
                        last edited by

                        @peter-fyri said in ISP-assigned static IPv6 /48 issues:

                        to set 2a02:xxxx:aaaa::1/48 on the LAN interface

                        If you are not past it yet, this advice is absolutely incorrect.

                        You have 65536 /64 networks to use out of your /48:

                        2a02:xxxx:aaaa:0::/64
                        2a02:xxxx:aaaa:1::/64
                        2a02:xxxx:aaaa:2::/64
                        2a02:xxxx:aaaa:3::/64
                        2a02:xxxx:aaaa:4::/64
                        2a02:xxxx:aaaa:5::/64
                        ...
                        2a02:xxxx:aaaa:fffb::/64
                        2a02:xxxx:aaaa:fffc::/64
                        2a02:xxxx:aaaa:fffd::/64
                        2a02:xxxx:aaaa:fffe::/64
                        2a02:xxxx:aaaa:ffff::/64

                        LAN should be numbered with something like:

                        2a02:xxxx:aaaa:1:/64

                        WIFI with something like:

                        2a02:xxxx:aaaa:2:/64

                        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
                        • P
                          peter-fyri
                          last edited by peter-fyri

                          @JKnott @Derelict
                          Thank you guys.

                          I am passed this issue, everything is almost fine, after I added that specific link local, the ISP has sent me. My only problem is that the interface clients don't communicate between each other (for the time being, ping). The internet communicates with them, from anywhere, they communicate with the internet, but not between each other. I mean clients from one interface with clients from another interface. Clients within the same subnet talk to each other just fine.
                          The very first thing I tried is adding an allow from any to any firewall rule on IPv6 for both interfaces, all protocols, first rule from top to bottom, but nothing..

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