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

Can't change LAN IPv4, "Switch port is already in used by another interface"

Scheduled Pinned Locked Moved General pfSense Questions
12 Posts 3 Posters 493 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.
  • D
    Djkáťo
    last edited by 25 days ago

    Hello,
    My smartypants from years ago thought it'd be fun to display free will and set all LAN IPs to be 10.100.110.0/24, but now that I know that I can shorten to 10.0.0.3 to 10.3 for pings (the 0.0 gets inferred or smt), and it's shorter and better to type, I'd like to switch back to that.
    I think my order of operation would be to:

    1. interface > LAN > IPv4 = static, address = 10.0.0.1/24
    2. manually assign my pc an IP in that subnet and connect back to pfsense
    3. change DHCP ranges
    4. profit

    But I'm already stuck at step one.

    The following input errors were detected:

    • This Switch port is already in used by another interface.
    • The Router Advertisements Server is active on this interface and it can be used only with a static IPv6 configuration. Please disable the Router Advertisements Server service on this interface first, then change the interface configuration.

    I have no IPv6 enabled, and I don't know what the first one is trying to say.
    2e87cecc-1f08-4b07-ae0c-56c0e9b03164-image.png
    f4d833ac-cdcf-4939-bc47-bdc1d60eb0e7-image.png
    871d615b-69de-4259-8e74-167606ed0213-image.png

    from what I read around, the "switch port already in use" could be a bug? But I don't have duplicate VLANs like in this post, so probably doesn't apply. Still not sure what it wants me to do about it. Delete the default VLANs? I thought those are necessary (I didn't put them there). https://forum.netgate.com/topic/190239/cannot-edit-lan-interface/3

    And as for the other one, I found this blogpost about this issue, but the fix didn't work for me, as I still stop at the "switch port already in use" error https://blog.matrixpost.net/pfsense-2-5-0-bug-renaming-of-lan-interface-runs-into-an-error-regarding-router-advertisements-server-is-active/

    What can I do to fix this? I'm prolly just missing something simple ain't I...
    thanks!

    S 2 Replies Last reply 25 days ago Reply Quote 0
    • S
      SteveITS Galactic Empire @Djkáťo
      last edited by 25 days ago

      @Djkáťo said in Can't change LAN IPv4, "Switch port is already in used by another interface":

      I can shorten to 10.0.0.3 to 10.3 for pings (the 0.0 gets inferred

      Well I'll be...I didn't know that applied to IPv4. IPv6 condenses zeroes as double colons.

      To your question, this is on an 1100? The 1100 is a 3 port switch and uses VLANs to isolate the ports. So yes those are required.

      Try turning off RA before you disable IPv6 on LAN. I don't recall having any trouble changing the LAN IP on 1100s but they would have been new.

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      D 1 Reply Last reply 25 days ago Reply Quote 0
      • D
        Djkáťo @SteveITS
        last edited by 25 days ago

        Yes netgate 1100
        @SteveITS said in Can't change LAN IPv4, "Switch port is already in used by another interface":

        Try turning off RA before you disable IPv6 on LAN

        had to google what that was, but turned it off and the second issue is gone. Now the Egyptian deity is tamed, and only the first one is there.
        b5ec02b9-62f2-4cb2-928f-915deebb83ae-image.png

        S 1 Reply Last reply 25 days ago Reply Quote 0
        • S
          SteveITS Galactic Empire @Djkáťo
          last edited by 25 days ago

          @Djkáťo does it work at the console menu?

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          D 2 Replies Last reply 25 days ago Reply Quote 0
          • D
            Djkáťo @SteveITS
            last edited by 25 days ago

            @SteveITS I never used the console, don't see any docs on doing this in the console either, got any hints on how to do this?

            S 1 Reply Last reply 25 days ago Reply Quote 0
            • S
              SteveITS Galactic Empire @Djkáťo
              last edited by 25 days ago

              @Djkáťo yup :) It needs your/a USB cable.
              https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/connect-to-console.html

              You could probably do it via SSH also but of course you’ll lose connection with the IP change.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by 25 days ago

                Check your other interfaces? Is one of them set to use the port 2 status already?

                1 Reply Last reply Reply Quote 0
                • D
                  Djkáťo @SteveITS
                  last edited by 24 days ago

                  @SteveITS said in Can't change LAN IPv4, "Switch port is already in used by another interface":

                  does it work at the console menu?

                  I had to use ssh cuz my fedora laptop didn't recognise the usb port. But it worked! It sucessfully changed.

                  @stephenw10 said in Can't change LAN IPv4, "Switch port is already in used by another interface":

                  Check your other interfaces? Is one of them set to use the port 2 status already?

                  I think only the one I was editing, but ye it worked through ssh, so I guess the webgui had a bad day.

                  Thanks yall~

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by 24 days ago

                    The only reason it would show that is if there's already an interface set to reflect port to for it's status. The CLI doesn't have the same input error checking so it just allows it but you should still check. Otherweise you're going to hit this anytime you make any interface changes.

                    D 1 Reply Last reply 24 days ago Reply Quote 0
                    • D
                      Djkáťo @stephenw10
                      last edited by 24 days ago

                      @stephenw10 I see. What page should I show? I don't quite understand difference between interfaces -> assignments and interfaces -> switches, so here's both. The MODEM interface is from when I followed some guide to get vDSL bridge set up with my modem.
                      9b3b1bb3-22bf-4cb8-8657-71ea194af4e5-image.png
                      c850baf2-1ea3-4b01-9834-168fc54e125b-image.png

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by 24 days ago

                        The 1100 actually has one NIC. It's connected internally to a switch that has 3 external ports. The interfaces that are assigned by default are VLANs on that NIC and switch as you have seen.

                        In order for pfSense to correctly see link changes on those interfaces there is an additional setting to choose the switch port status the interface should reflect. Otherwise all three interfaces would always show as linked and UP since internally they are hard-wired to the switch.

                        By default WAN is port 3, LAN is port 2, OPT is port 1.

                        If you have added an additional VLAN interface, and it looks like you have, make sure that you don't have more than one interfaces set for each port.

                        1 Reply Last reply Reply Quote 0
                        • S
                          SteveITS Galactic Empire @Djkáťo
                          last edited by 22 days ago

                          @Djkáťo said in Can't change LAN IPv4, "Switch port is already in used by another interface":

                          can shorten to 10.0.0.3 to 10.3 for pings

                          I pointed this out elsewhere and was pointed to:
                          https://superuser.com/questions/486788/why-does-pinging-192-168-072-only-2-dots-return-a-response-from-192-168-0-58

                          "For example, you can ping google.com in the following ways:
                          google.com (domain name)
                          74.125.226.4 (dotted decimal)
                          1249763844 (flat decimal)
                          0112.0175.0342.0004 (dotted octal)
                          011237361004 (flat octal)
                          0x4A.0x7D.0xE2.0x04 (dotted hex)
                          0x4A7DE204 (flat hex)
                          74.0175.0xe2.4 (ಠ_ಠ) "

                          (the IP doesn't answer anymore, but it does try)

                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                          Upvote 👍 helpful posts!

                          1 Reply Last reply Reply Quote 1
                          1 out of 12
                          • First post
                            1/12
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received