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

    One VLAN, no connetion data

    Scheduled Pinned Locked Moved General pfSense Questions
    22 Posts 3 Posters 1.8k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @DenverDesktopsSupport
      last edited by johnpoz

      @denverdesktopssupport very strange, lets page maybe @stephenw10 or @Derelict two very bright guys that know way more than me - maybe they have some idea..

      I assume this actual netgate appliance since showing switch ports, which specific model 2100, 3100, etc.. and what version of pfsense are you running?

      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 stephenw10

        It might have a switch port reference in the config that you cannot see and is pointing at a port that is not reporting it.
        Check the config file for that interface for a reference line like:

        <switchif>switch0.port1</switchif>
        

        Steve

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

          Wow that was fast - and already have a lead to what it could be ;) hehehe

          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 stephenw10

            Ha, I was already replying...

            Yeah what you see there is what you get if you set the interface to reflect the state of switch port 0:

            Screenshot from 2022-01-21 16-00-30.png

            Screenshot from 2022-01-21 16-02-48.png

            That's the internal port and is invalid. It should be port 2.

            Steve

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

              @stephenw10 ah that makes perfect sense.. Steve on the spot vs Johnny in this case...

              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
              • DenverDesktopsSupportD
                DenverDesktopsSupport
                last edited by

                Changed the setting to "Select the switch port to monitor for media and state change", which did the trick.

                Should all of the VLANs be set to 2?

                2022-01-21 09_07_40-192.168.35.2 - Remote Desktop Connection.png

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

                  If you don't select a port there the interface state will be that of the parent interface which in the 1100 is mvneta0. But that is the internal port connected to the switch so it's always up.
                  That will work but VLANs will show as up even if you pull the cable. Really they should be set to the port that's actually carrying them, which is port 2 (LAN) in this case.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • DenverDesktopsSupportD
                    DenverDesktopsSupport
                    last edited by

                    LAN port is set to port 2 -

                    When changing the VLAN monitor port I get -

                    "This Switch port is already in used by another interface."

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

                      Ah, yes I'd forgotten about that. The gui input validation assumes you will be use them as access ports so only have one VLAN per port. So, at this time, you can only set one VLAN to reflect it.
                      If you really need the correct port state to be shown you can edit the config directly but I don't recommend that.

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

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • DenverDesktopsSupportD
                        DenverDesktopsSupport
                        last edited by

                        Nope. All is good.

                        Thank you "all" for the assistance and quick response.

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