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

    Unable to reassign network port

    Scheduled Pinned Locked Moved General pfSense Questions
    61 Posts 5 Posters 3.4k 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.
    • stephenw10S
      stephenw10 Netgate Administrator @michmoor
      last edited by

      To be clear you are editing the Description field in Interfaces > Assignments > VLANs > Edit?

      Then saving that?

      Doing that will probably push interface options up to lagg0 and to the NICs that make up lagg0. And that in turn would mean anything else using those parents would inherit it. That's probably why you see everything reload. And somewhere there something is probably trying to set an invalid value. Though I would expect to see an error logged.

      Are you able to upload your config to use to examine?

      M 1 Reply Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @stephenw10
        last edited by

        @stephenw10 I just updated my comment above adding more log messages that i find very strange.

        You tell me where to upload the config and you can have it. Appreciate the help on this.

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

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

          You can upload it here: https://nc.netgate.com/nextcloud/s/2A3mxLXwMnFEFak

          Thanks

          M 1 Reply Last reply Reply Quote 0
          • M
            michmoor LAYER 8 Rebel Alliance @stephenw10
            last edited by

            @stephenw10 Done. Gave you the config along with my system logs during the time of the change. Just to reiterate, all this is was a vlan description change.

            config.xml
            systemlogs

            Firewall: NetGate,Palo Alto-VM,Juniper SRX
            Routing: Juniper, Arista, Cisco
            Switching: Juniper, Arista, Cisco
            Wireless: Unifi, Aruba IAP
            JNCIP,CCNP Enterprise

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

              Great I have that.

              And just to be clear you're editing the description field in Interfaces > Assignments > VLANs > Edit?

              M 1 Reply Last reply Reply Quote 0
              • M
                michmoor LAYER 8 Rebel Alliance @stephenw10
                last edited by

                @stephenw10 correct.
                This all started because I wanted to reassign some ports to create a lagg. My changes were never saved. Edited the .xml

                Next I wanted to update vlan descriptions. Changes never saved. That’s when I did some digging and checking logs.

                Firewall: NetGate,Palo Alto-VM,Juniper SRX
                Routing: Juniper, Arista, Cisco
                Switching: Juniper, Arista, Cisco
                Wireless: Unifi, Aruba IAP
                JNCIP,CCNP Enterprise

                M 1 Reply Last reply Reply Quote 0
                • M
                  michmoor LAYER 8 Rebel Alliance @michmoor
                  last edited by

                  Howdy @stephenw10 Did you have any free cycles to check out the items i uploaded?

                  Firewall: NetGate,Palo Alto-VM,Juniper SRX
                  Routing: Juniper, Arista, Cisco
                  Switching: Juniper, Arista, Cisco
                  Wireless: Unifi, Aruba IAP
                  JNCIP,CCNP Enterprise

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

                    I looked over your config and I don't see anything significant there really. I'll have to try loading it up on something and testing it when I can.

                    Do you know when during the logs you applied that change and it failed?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      michmoor LAYER 8 Rebel Alliance @stephenw10
                      last edited by

                      @stephenw10 I was screen grabbing at the same time I clicked save when doing the vlan change.
                      So right at the top are the beginning of the flooding messages that come in.
                      Oddly someone is having a similar issue in the Reddit forum. Maybe it’s a NIC driver thing? That and the config seems to be the only consistent thing.
                      I have half a mind to install the RC tonight.

                      Firewall: NetGate,Palo Alto-VM,Juniper SRX
                      Routing: Juniper, Arista, Cisco
                      Switching: Juniper, Arista, Cisco
                      Wireless: Unifi, Aruba IAP
                      JNCIP,CCNP Enterprise

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

                        You have a link?

                        Are they also using a lagg of igc NICs?

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          michmoor LAYER 8 Rebel Alliance @stephenw10
                          last edited by

                          @stephenw10 https://www.reddit.com/r/PFSENSE/comments/10w51rk/hourly_network_drops/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

                          Firewall: NetGate,Palo Alto-VM,Juniper SRX
                          Routing: Juniper, Arista, Cisco
                          Switching: Juniper, Arista, Cisco
                          Wireless: Unifi, Aruba IAP
                          JNCIP,CCNP Enterprise

                          1 Reply Last reply Reply Quote 0
                          • M
                            marcosm Netgate
                            last edited by

                            Have you tried re-doing the configuration instead of restoring the config file? If you're able to reproduce it that way by only making related changes to a default configuration, that can help narrow down the issue.

                            M 1 Reply Last reply Reply Quote 1
                            • M
                              michmoor LAYER 8 Rebel Alliance @marcosm
                              last edited by

                              @marcosm There is quite a bit to restore manually.
                              So what i am thinking about trying is the following

                              1. re-install pfSense. Do not restore original configuration. Create VLANs and attempt to change the description. I will note the results. Afterward i will create a LAGG0. See how that goes.

                              2. Assuming the problem cannot be repeated from step 1 then i will restore my configuration. I will then blow away all vlans and lagg interfaces. recreate vlan.ids and laggs and attempt to modify.

                              Depending on how things go, it could very well be something funky in configuration.
                              The mystery is why is it that changes to interfaces and vlans through the GUI are not saved but if i edit the config.xml directly then interface changes are saved.
                              How does the GUI talk to the system files? I assume there is some commit check that takes place. If there is a log for that, that could reveal alot of whats going on behind the scenes.

                              Firewall: NetGate,Palo Alto-VM,Juniper SRX
                              Routing: Juniper, Arista, Cisco
                              Switching: Juniper, Arista, Cisco
                              Wireless: Unifi, Aruba IAP
                              JNCIP,CCNP Enterprise

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                michmoor LAYER 8 Rebel Alliance @michmoor
                                last edited by michmoor

                                @marcosm

                                One more tidbit to kind of proved my point about the outages...

                                igc0 is my LAN. Not in a VLAN. Traffic not routed across the LAGG.
                                I change the vlan description and i have a continuous uninterrupted ping to google.com.

                                Reply from 172.217.13.14: bytes=32 time=6ms TTL=115
                                Reply from 172.217.13.14: bytes=32 time=2ms TTL=115
                                Reply from 172.217.13.14: bytes=32 time=2ms TTL=115
                                
                                Ping statistics for 172.217.13.14:
                                    Packets: Sent = 33, Received = 33, Lost = 0 (0% loss),
                                Approximate round trip times in milli-seconds:
                                    Minimum = 2ms, Maximum = 17ms, Average = 6ms
                                

                                Now i set up an extended ping to another VLAN that is on the LAGG. I make a vlan description change and outage..

                                ping -t 192.168.17.2
                                
                                Pinging 192.168.17.2 with 32 bytes of data:
                                Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                Reply from 192.168.17.2: bytes=32 time=1ms TTL=127
                                Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                Reply from 192.168.50.254: Destination host unreachable.
                                Reply from 192.168.50.254: Destination host unreachable.
                                Request timed out.
                                Request timed out.
                                Reply from 192.168.17.2: bytes=32 time=2ms TTL=127
                                Reply from 192.168.17.2: bytes=32 time=14ms TTL=127
                                Reply from 192.168.17.2: bytes=32 time=1ms TTL=127
                                Reply from 192.168.17.2: bytes=32 time=1ms TTL=127
                                
                                Ping statistics for 192.168.17.2:
                                    Packets: Sent = 15, Received = 13, Lost = 2 (13% loss),
                                Approximate round trip times in milli-seconds:
                                    Minimum = 0ms, Maximum = 14ms, Average = 1ms
                                

                                @stephenw10 i swear im not crazy :)

                                Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                Routing: Juniper, Arista, Cisco
                                Switching: Juniper, Arista, Cisco
                                Wireless: Unifi, Aruba IAP
                                JNCIP,CCNP Enterprise

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  michmoor LAYER 8 Rebel Alliance @michmoor
                                  last edited by

                                  Update:
                                  Anyhthing that has to do with the LAGG triggers an outage on the LAGG.

                                  All i did was add a VLAN tonight and the results are below.
                                  Pings start on igc0[192.168.50.221] which is not a member of the lagg and not part of any vlan.

                                  ping -t 192.168.17.2
                                  
                                  Pinging 192.168.17.2 with 32 bytes of data:
                                  Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                  Reply from 192.168.17.2: bytes=32 time=1ms TTL=127
                                  Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                  Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                  Reply from 192.168.50.254: Destination host unreachable.
                                  Request timed out.
                                  Reply from 192.168.50.254: Destination host unreachable.
                                  Reply from 192.168.50.254: Destination host unreachable.
                                  Request timed out.
                                  Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                  Reply from 192.168.17.2: bytes=32 time<1ms TTL=127
                                  Reply from 192.168.17.2: bytes=32 time=1ms TTL=127
                                  Reply from 192.168.17.2: bytes=32 time=1ms TTL=127
                                  
                                  

                                  Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                  Routing: Juniper, Arista, Cisco
                                  Switching: Juniper, Arista, Cisco
                                  Wireless: Unifi, Aruba IAP
                                  JNCIP,CCNP Enterprise

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

                                    There are a few things that could be happening here:
                                    Input validation in the GUI is preventing you making the changes because some existing setting it tries to apply at the same time is invalid. However if that were true I would expect it to throw an error in the gui when you tried to save it. And there wouldn't actually be anything applied to the interfaces so you wouldn't see the lagg bounce.
                                    It creates a config that is invalid generating a bad config file and pfSense chooses the last valid config to use. If that was happening I would expect to see a bunch of logs indicating it.

                                    The fact it bumps lagg implies changes are being applied to the VLAN and it's trying to propagate those to it's parent interface, lagg0.

                                    I haven't been able to replicate it even using a vlan on a lagg of igc NICs exactly as you have.Yet.

                                    When you save the description change do you see that shown in Diag > Backup > Config History?

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      michmoor LAYER 8 Rebel Alliance @stephenw10
                                      last edited by michmoor

                                      @stephenw10 Good question.

                                      Just modified a vlan description. Change didnt stick

                                      9633472f-0462-4760-aac3-ec2083758743-image.png

                                      1dbbbff6-5f69-445a-8ba1-16f8ae4ade04-image.png

                                      e2910cf0-56b6-4ff4-beb6-dfb65ba26f62-image.png

                                      Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                      Routing: Juniper, Arista, Cisco
                                      Switching: Juniper, Arista, Cisco
                                      Wireless: Unifi, Aruba IAP
                                      JNCIP,CCNP Enterprise

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

                                        Hmm, and that also fails?

                                        What does the config diff show if you just try to change the description of an existing VLAN?

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          michmoor LAYER 8 Rebel Alliance @stephenw10
                                          last edited by

                                          @stephenw10 updated the screen shot. Wrote a test description. You see a config change but nothing in the GUI.

                                          Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                          Routing: Juniper, Arista, Cisco
                                          Switching: Juniper, Arista, Cisco
                                          Wireless: Unifi, Aruba IAP
                                          JNCIP,CCNP Enterprise

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

                                            But that's a previous config change? It doesn't include the VLAN changes.

                                            Or is that timestamp when you actually made the change?

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