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

    Pfsense bug?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 1.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
      Mjennings
      last edited by

      On my "interface assignments" tab, I currently have WAN, OPT1, OPT2, OPT3. I have just added a VLAN and then went back to interface assignments, selected it from the available ports, and clicked the plus symbol, then it added it as OPT1. So now I have two OPT1 interfaces. Is this a bug or is this supposed to happen?

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        What you describe is not supposed to happen. Post screen shots of the Interface->(assign) screen, and Firewall Rules tabs that will show 2 "OPT1". And give any other clues about what is unusual about your system.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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

          @phil.davis:

          What you describe is not supposed to happen. Post screen shots of the Interface->(assign) screen, and Firewall Rules tabs that will show 2 "OPT1". And give any other clues about what is unusual about your system.

          Attached. I don't have any other information as to what is usual

          firewall.png
          firewall.png_thumb

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

            it's showing you the user-defined name for the interface there. You renamed "LAN" to "OPT1" at some point.

            1 Reply Last reply Reply Quote 0
            • P
              phil.davis
              last edited by

              I wonder if we should ban that in the validation - not let the user put the equivalent of an internal interface name (WAN, LAN, OPT1, OPT2…) for the description of another interface. It is a total recipe for confusion if someone puts OPT5, OPT2, OPT7, OPT1, LAN... randomly as the descriptions of LAN, OPT1, OPT2, OPT3, OPT4...

              As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
              If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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

                @phil.davis:

                I wonder if we should ban that in the validation - not let the user put the equivalent of an internal interface name (WAN, LAN, OPT1, OPT2…) for the description of another interface. It is a total recipe for confusion if someone puts OPT5, OPT2, OPT7, OPT1, LAN... randomly as the descriptions of LAN, OPT1, OPT2, OPT3, OPT4...

                There is input validation there to prevent conflicting interface names on interfaces.php (so that conflict could only last until the interface is enabled). The only possibility for introducing problems there is if you can enable the same interface multiple times with the same name, which is prevented.

                That's the type of validation that probably goes too far, in that someone surely would complain that they can't call their <opt1>interface OPT2 (or similar). Sure it's a bad idea, but if it's not going to hurt anything, let people do what they want.</opt1>

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