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

    How to use switch ports on SG2100 to add interfaces

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    11 Posts 4 Posters 1.7k 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.
    • P
      pcleats5995
      last edited by

      All,

      I am super new (just got my 2100) and I need to make more then one LAN interface on the device. I need to be able to set LAN1 with DHCP and set LAN 2 to a static IP. I need to be able to connect my Unifi UDM pro so it is passing through the SG2100. How do I make the switch ports interfaces?

      If I go to Interfaces/Assignments I don't have the option to add. Am I missing something?

      Thanks

      Patrick

      keyserK S 2 Replies Last reply Reply Quote 0
      • keyserK
        keyser Rebel Alliance @pcleats5995
        last edited by keyser

        @pcleats5995 said in How to use switch ports on SG2100 to add interfaces:

        All,

        I am super new (just got my 2100) and I need to make more then one LAN interface on the device. I need to be able to set LAN1 with DHCP and set LAN 2 to a static IP. I need to be able to connect my Unifi UDM pro so it is passing through the SG2100. How do I make the switch ports interfaces?

        If I go to Interfaces/Assignments I don't have the option to add. Am I missing something?

        Thanks

        Patrick

        No, you are not. The 4 “LAN” ports on the SG-2100 are connected to a switch internally, and the SG-2100 only has two real NIC’s (WAN and LAN). By default it is setup in standard switch mode - 4 ports on the LAN interface.
        But you can still easily make the four switchports act as independant LAN interfaces - you just have to do it by configuring VLAN’s on the switch. Here’s the guide:

        https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/switch-overview.html

        Love the no fuss of using the official appliances :-)

        1 Reply Last reply Reply Quote 2
        • P
          pcleats5995
          last edited by

          Keyser,

          Thank you for the information, it sounds to me like I just need to install the software on a spare computer I have and have it be my PFsense firewall. This way I'm not limited in functionality.

          I will try a VLAN setup and see if it does what I need it to do.

          Thanks

          Patrick

          keyserK 1 Reply Last reply Reply Quote 0
          • keyserK
            keyser Rebel Alliance @pcleats5995
            last edited by

            @pcleats5995 said in How to use switch ports on SG2100 to add interfaces:

            Keyser,

            Thank you for the information, it sounds to me like I just need to install the software on a spare computer I have and have it be my PFsense firewall. This way I'm not limited in functionality.

            I will try a VLAN setup and see if it does what I need it to do.

            Thanks

            Patrick

            This is not a "workaround". Setting up the VLANs does exactly the same as having individual interfaces on each switchport. So don't be alarmed. The switch is just built in because many home owners would rather have 4 usable port on their LAN, as opposed to one port on LAN and three you cannot use.

            Love the no fuss of using the official appliances :-)

            1 Reply Last reply Reply Quote 2
            • S
              SteveITS Galactic Empire @pcleats5995
              last edited by

              @pcleats5995 The docs work fine, just read them carefully. I've done it on a 2100 myself.

              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!

              P 1 Reply Last reply Reply Quote 1
              • P
                pcleats5995 @SteveITS
                last edited by

                @steveits ,

                I'm sure the docs are fine, all 1608 pages of them. Knowing where to look in the docs is the challenge. I'm wanting to connect both my UDM-Pro (because it runs my cameras and door bell), but I want the PFSense to be primary firewall. This is what I'm trying to do and its not in the PFSense manual I'm pretty sure.

                Somehow I need to connect the WAN inferface of the UDM-Pro to the PFSense and also the switch on the UDM-Pro to the Lan on the PFSense to get DHCP for all my access points and other devices.

                Any suggestions?

                Thanks

                Patrick

                S keyserK 2 Replies Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @pcleats5995
                  last edited by

                  @pcleats5995 Well I was specifically referring to the page @keyser posted that describes how to turn a switch port into a discrete port, so it can be used as an individual interface. :)

                  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
                  • keyserK
                    keyser Rebel Alliance @pcleats5995
                    last edited by stephenw10

                    @pcleats5995 said in How to use switch ports on SG2100 to add interfaces:

                    @steveits ,

                    I'm sure the docs are fine, all 1608 pages of them. Knowing where to look in the docs is the challenge. I'm wanting to connect both my UDM-Pro (because it runs my cameras and door bell), but I want the PFSense to be primary firewall. This is what I'm trying to do and its not in the PFSense manual I'm pretty sure.

                    Somehow I need to connect the WAN inferface of the UDM-Pro to the PFSense and also the switch on the UDM-Pro to the Lan on the PFSense to get DHCP for all my access points and other devices.

                    Any suggestions?

                    Thanks

                    Patrick

                    Does not Sound like a good solution - in fact not like a solution at all. Drop the WAN on the UDM, and just setup its LAN interfaces to be on the Network called LAN on your pfsense.
                    It should easily be able to function as desired with only a LAN Network setup.

                    Love the no fuss of using the official appliances :-)

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

                      Hmm, I'm not sure you can do that with the UDM, though I've never tried myself. Other posts here on the forum have implies it requires a WAN connection.
                      If that is the case you would need to setup a different subnet on one of the 2100 LAN ports to use.

                      If would be an ugly setup though and you would have to take some care to avoid asymmetric routing.

                      Better to just use pfSense for DHCP.

                      Steve

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        pcleats5995 @stephenw10
                        last edited by

                        @stephenw10

                        My plan is to use DHCP from PFSense :-) I just need to have the UDM-Pro because it runs the controller and also manages my security cameras and doorbell.
                        PFSense UDM pro.png

                        Not sure if something like this would work.

                        Thanks

                        Patrick

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

                          It could. Potentially. But, as I said, it would very easy to end up with some asymmetry and the unexpected blocking that brings with it.

                          Steve

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