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

    Subnet calc on wan iface

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    10 Posts 5 Posters 2.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.
    • M
      maverick_slo
      last edited by

      Hi!

      See attached image.
      What is going on?

      BR,
      Greg
      wan.png
      wan.png_thumb

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        What I did was remove IPV6 GW from WAN I never touched IPV4 settings there.

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

          note the "/1" that'll overlap with basically anything ;)

          this is either a bug with updating and modifying the subnet or its a bug calculation the subnet or both.

          some of yesterdays commits involved moving to higher level function for calculating subnets

          1 Reply Last reply Reply Quote 0
          • rbgargaR
            rbgarga Developer Netgate Administrator
            last edited by

            @heper:

            note the "/1" that'll overlap with basically anything ;)

            this is either a bug with updating and modifying the subnet or its a bug calculation the subnet or both.

            some of yesterdays commits involved moving to higher level function for calculating subnets

            Yesterday's changes in this area didn't touch interfaces.php.

            I tested it here and it's respecting subnet bits I chose and not moving to /1. Lets wait from submitter if there is a way to reproduce the problem

            Renato Botelho

            1 Reply Last reply Reply Quote 0
            • M
              maverick_slo
              last edited by

              I can reproduce it now if you ment me :)

              1 Reply Last reply Reply Quote 0
              • rbgargaR
                rbgarga Developer Netgate Administrator
                last edited by

                @maverick_slo:

                I can reproduce it now if you ment me :)

                Good, what are necessary steps to reproduce it?

                Renato Botelho

                1 Reply Last reply Reply Quote 0
                • M
                  maverick_slo
                  last edited by

                  Hmm I just read your post more carefully.

                  I had IP / 1 ?? Why?

                  I changed it back to IP / 16

                  Something reverted it to 1 and I have no idea what.

                  1 Reply Last reply Reply Quote 0
                  • jahonixJ
                    jahonix
                    last edited by

                    Is that a static entry or a DHCP lease you get from your provider?

                    1 Reply Last reply Reply Quote 0
                    • M
                      maverick_slo
                      last edited by

                      Static.
                      I`m looking at my 2.2.6 config and indeed there is /16.

                      So something changed it from /16 to /1 and sure as hell wasn`t me :)

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmb
                        last edited by

                        Likely was you, maybe a stray tab and key press that switched the box to 1. Look under Diag>Backup/restore, Config history tab. You'll see where it changed.

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