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

    Fixed firewall address when using track interface?

    Scheduled Pinned Locked Moved IPv6
    10 Posts 4 Posters 675 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.
    • dennypageD
      dennypage
      last edited by

      When using Track Interface as the IPv6 Configuration Type for an interface such as LAN, is there any way to use a fixed address for the firewall itself, such as "::1", rather than a SLAAC style address?

      I.E.

      2600:8801:df30:3a00::1/64
      

      instead of

      2600:8801:df30:3a00:91ec:73ff:fe69:8af2/64
      
      JKnottJ GertjanG 2 Replies Last reply Reply Quote 1
      • JKnottJ
        JKnott @dennypage
        last edited by

        @dennypage

        The easiest way would be to set your MAC address to ::1.

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

        dennypageD 1 Reply Last reply Reply Quote 0
        • dennypageD
          dennypage @JKnott
          last edited by

          @JKnott said in Fixed firewall address when using track interface?:

          The easiest way would be to set your MAC address to ::1.

          Setting MAC to "00:00:00:00:00:01" Cute idea, but it doesn't work--it uses hwaddr.

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @dennypage
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @dennypage
              last edited by

              @dennypage said in Fixed firewall address when using track interface?:

              When using Track Interface as the IPv6 Configuration Type for an interface such as LAN, is there any way to use a fixed address for the firewall itself, such as "::1", rather than a SLAAC style address?

              I.E.

              2600:8801:df30:3a00::1/64
              

              instead of

              2600:8801:df30:3a00:91ec:73ff:fe69:8af2/64
              

              That's a question I was asking myself.
              @JKnott : is there a way to 'force' the pfSense LAN IPv6 to the prefix + ::1 ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              Bob.DigB 1 Reply Last reply Reply Quote 0
              • Bob.DigB
                Bob.Dig LAYER 8 @Gertjan
                last edited by Bob.Dig

                @Gertjan I tried it with a VIP. At first, it looked like it could work but it wasn't.
                Capture.PNG

                What need is there for ::1 anyways?

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @Bob.Dig
                  last edited by

                  @Bob-Dig

                  Because I'm old ....
                  Because shorter is better ?

                  Instead of

                  741d7ddc-7128-42bd-ad8a-1a705563ab43-image.png

                  if would prefer a way shorter ::1
                  I know, I can't change the prefix, the first part. but the second part is determined locally.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • dennypageD
                    dennypage
                    last edited by

                    [I'm guessing that if you are wondering why, you are probably using SLAAC for client address assignment and don't really care what the firewall's IP address is.]

                    The local networks are managed via DHCPv6, no SLAAC. The need is for the firewall to have a predictable and easily identifiable address in all segments.

                    The desire is that the firewall be configurable in the manner as DHCPv6 Static Mappings, where the network portion comes from the PD and the host portion is assignable.

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

                      @dennypage

                      The link local address, which is what is used for routing, does not change, so is always predictable.

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

                      dennypageD 1 Reply Last reply Reply Quote 1
                      • dennypageD
                        dennypage @JKnott
                        last edited by

                        @JKnott

                        The local firewall address ends up being different on each interface, and subsequently is not easily identifiable in packet traces.

                        It's not an unreasonable thing to want this in a managed network. It is achievable for all hosts in the network except the firewall itself.

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