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

    WAN interface address alias is not working in rules

    Scheduled Pinned Locked Moved General pfSense Questions
    23 Posts 4 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
      Mixka @johnpoz
      last edited by

      @johnpoz said in WAN interface address alias is not working in rules:

      @mixka said in WAN interface address alias is not working in rules:

      but for example in VLAN config there is only interface name and tag showing. No description at all.

      Huh? Not following, once you assign a vlan to can for sure have it show up as different name.
      ...

      I can see same "problem" in your screenshots too.

      Yes, you can assign as good descriptions you want, but for example when selecting interface for VLAN you can just see name and tag.

      I know that it is just visual and does not change how things work, but at least for my OCD brains it hurts a little to select "LAN" interface for WAN connection. Like strange feeling that under the hood something is not "right". At least it is confusing.

      Or maybe I am alone with this and just need to book therapist :D

      2022-08-25 18_46_14-Interfaces_ WAN2 (igb1) - fw.home.lan and 5 more pages - [InPrivate] - Microsoft.png

      2022-08-25 18_49_19-Interfaces_ VLANs_ Edit - fw.home.lan and 5 more pages - [InPrivate] - Microsoft.png

      2022-08-25 18_59_55-Interfaces_ Interface Assignments - fw.home.lan and 5 more pages - [InPrivate] -.png

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

        @mixka said in WAN interface address alias is not working in rules:

        it hurts a little to select "LAN" interface for WAN connection.

        I personally would of never used that interface.. Would of just used a different interface. And used lan for something on the lan side of your network.

        But you can change the lan description as well.

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

        M 1 Reply Last reply Reply Quote 0
        • M
          Mixka @johnpoz
          last edited by

          @johnpoz said in WAN interface address alias is not working in rules:

          I personally would of never used that interface.. Would of just used a different interface. And used lan for something on the lan side of your network.

          It is way more convinient that WAN interfaces are next to each others. Or is it possible to change physical interface to interface? I know it is possible in config file, but would it broke something? And is it possible to rearrange interface tags under config file?

          @johnpoz said in WAN interface address alias is not working in rules:

          But you can change the lan description as well.

          As I have done (WAN2), but in VLAN parent interface selection still shows "lan" (and only that).

          johnpozJ 1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Mmm, that's true it does show the internal interface name there.

            That could probably be switched. You could open a feature request if there isn't one already.
            https://redmine.pfsense.org/

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

              @mixka said in WAN interface address alias is not working in rules:

              As I have done (WAN2), but in VLAN parent interface selection still shows "lan" (and only that).

              Ah I get what your saying now. Even though I changed my Lan name description, if I go to add a vlan it still shows lan on there.

              lan.jpg

              Yeah that could prob be changed, put in a feature request prob be best option there.

              But it doesn't only show that it clearly shows the actual interface does it not, for example mine is igb0

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

              1 Reply Last reply Reply Quote 1
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                https://redmine.pfsense.org/issues/8867

                1 Reply Last reply Reply Quote 1
                • M
                  Mixka
                  last edited by

                  @johnpoz said in WAN interface address alias is not working in rules:

                  it clearly shows the actual interface

                  Yes, but it is not friendly name or something that user can change without breaking something.

                  Do you guys know would it break something when physical interface name is changed in config file?

                  <interfaces>
                    <wan>
                      <if>igb0</if>
                      <descr><![CDATA[WAN1]]></descr>
                      ...
                    </wan>
                    <lan>
                      <if>igb2</if>
                      <descr><![CDATA[LAN]]></descr>
                      ...
                    </lan>
                    <opt1>
                      <if>igb1</if>
                      <descr><![CDATA[WAN2]]></descr>
                      ...
                    </opt1>
                  </interfaces>
                  

                  And what about re-arrange interface tags?

                  <interfaces>
                    <wan>
                      <if>igb0</if>
                      <descr><![CDATA[WAN1]]></descr>
                      ...
                    </wan>
                    <opt1>
                      <if>igb1</if>
                      <descr><![CDATA[WAN2]]></descr>
                      ...
                    </opt1>
                    <lan>
                      <if>igb2</if>
                      <descr><![CDATA[LAN]]></descr>
                      ...
                    </lan>
                  </interfaces>
                  
                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    The xml there is identical. The order doesn't matter for assigning the interfaces.

                    M 1 Reply Last reply Reply Quote 1
                    • M
                      Mixka @stephenw10
                      last edited by

                      @stephenw10

                      Yep. It at least matter that much that order does change in web GUI if I change tags order. Hoping that nothing brokes under the hood :)

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

                        @mixka if you take a look at the redmine link Steve put up - he changed that to a feature request that would allow for you to edit the friendly name in the gui, and then that would show up in your list of where to put a vlan, etc.

                        Like what happens with other interfraces - as you saw in my first example.

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

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Yes the order they are parsed/returned in determines the order they are displayed but nothing else as far as I know.

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