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

    TP-LINK Smart Switches anyone?

    Scheduled Pinned Locked Moved Hardware
    239 Posts 54 Posters 176.0k 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.
    • jahonixJ
      jahonix
      last edited by

      You don't want VLAN1 on ports 1-8 untagged at all and
      you need VLAN 101 untagged on port2, VLAN102 untagged on port3 and vlan105 untagged on port4.
      You probably want VLAN101 (your LAN) untagged on ports 5-8 as well.

      Basically, what you're doing is this:
      -use EM1 as trunk port (think carrier) that transports the VLANs to your switch. The switch has one port that receives all VLANs TAGGED (port 1 in your case).
      -access each VLAN on one port of the switch that has this and only this VLAN UNtagged.

      1 Reply Last reply Reply Quote 0
      • QinnQ
        Qinn
        last edited by

        @jahonix:

        You don't want VLAN1 on ports 1-8 untagged at all and
        you need VLAN 101 untagged on port2, VLAN102 untagged on port3 and vlan105 untagged on port4.
        You probably want VLAN101 (your LAN) untagged on ports 5-8 as well.

        Basically, what you're doing is this:
        -use EM1 as trunk port (think carrier) that transports the VLANs to your switch. The switch has one port that receives all VLANs TAGGED (port 1 in your case).
        -access each VLAN on one port of the switch that has this and only this VLAN UNtagged.

        With the tl-link sg108e you cannot remove the untagged 1-8 setting it's grayed out. I have returned this one to the store.

        Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
        Firmware: Latest-stable-pfSense CE (amd64)
        Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

        1 Reply Last reply Reply Quote 0
        • W
          whosmatt
          last edited by

          @aleatorvb:

          Since this thread is easily found by google I just wanted to add the the "windows java management application" is actually just a java app that can be used in linux too.

          To run in ubuntu (for example) you need to:

          • copy the exe from a windows install to linux
          • rename exe to .java
          • install java 8 at minimum:
          sudo add-apt-repository ppa:webupd8team/java
          sudo apt-get update
          sudo apt-get install oracle-java8-installer
          
          
          • enable forwarding
          echo 1 > /proc/sys/net/ipv4/ip_forward
          
          • use iptables to route  udp packets to correct interface
          iptables -t nat -A PREROUTING -p udp -d 255.255.255.255 --dport 29809 -j DNAT --to [your ip address]:29809
          

          Tested last night and confirmed to be working

          More details here : http://sadevil.org/blog/2015/08/30/managing-tp-link-easy-smart-switches-from-linux/ (i've put the short version here in case that page dissapears)

          This is awesome. Thanks!

          1 Reply Last reply Reply Quote 0
          • QinnQ
            Qinn
            last edited by

            Maybe a stupid Q to ask in a thread that has the name TP-LINK. But has someone a good advise for a reasonable priced switch say 8 ports that has all the "proper settings" so not something stupid like the greyed out VLAN 1 untagged setting on all ports. (Btw the way I had a lot of badpackets with the sg108e)

            Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
            Firmware: Latest-stable-pfSense CE (amd64)
            Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              Maybe a stupid Q to ask in a thread that has the name TP-LINK. But has someone a good advise for a reasonable priced switch say 8 ports that has all the "proper settings" so not something stupid like the greyed out VLAN 1 untagged setting on all ports. (Btw the way I had a lot of badpackets with the sg108e)

              Here in Germany I am using some of the Netgear GS108Tv2 switches for ~65 € with LAG (LACP), VLAN,
              mirrored Port and others. It comes in a solid made metal case with proper anti slip gum feeds and is
              able to be powered over PoE if needed. The other one is the Netgear ProSAFE M4100-D12G for ~200 €
              but more powerful and not silent.

              You might also be happy with a Cisco SG200 or SG300 switch with 8 or 10 ports, they are really fine
              working and comes with a cool GUI and the SG300 series on top with CLI support and SFP slots.
              Its only my feeling about this other may find them not matching or to high in price.

              1 Reply Last reply Reply Quote 0
              • jahonixJ
                jahonix
                last edited by

                @Qinn:

                With the tl-link sg108e you cannot remove the untagged 1-8 setting it's grayed out. I have returned this one to the store.

                You can once you set another VLAN as default, usually your LAN (if you don't use out-of-band management).

                1 Reply Last reply Reply Quote 0
                • QinnQ
                  Qinn
                  last edited by

                  @BlueKobold:

                  Maybe a stupid Q to ask in a thread that has the name TP-LINK. But has someone a good advise for a reasonable priced switch say 8 ports that has all the "proper settings" so not something stupid like the greyed out VLAN 1 untagged setting on all ports. (Btw the way I had a lot of badpackets with the sg108e)

                  Here in Germany I am using some of the Netgear GS108Tv2 switches for ~65 € with LAG (LACP), VLAN,
                  mirrored Port and others. It comes in a solid made metal case with proper anti slip gum feeds and is
                  able to be powered over PoE if needed. The other one is the Netgear ProSAFE M4100-D12G for ~200 €
                  but more powerful and not silent.

                  You might also be happy with a Cisco SG200 or SG300 switch with 8 or 10 ports, they are really fine
                  working and comes with a cool GUI and the SG300 series on top with CLI support and SFP slots.
                  Its only my feeling about this other may find them not matching or to high in price.

                  Thanks I bought one GS108Tv2

                  Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                  Firmware: Latest-stable-pfSense CE (amd64)
                  Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                  1 Reply Last reply Reply Quote 0
                  • QinnQ
                    Qinn
                    last edited by

                    @jahonix:

                    @Qinn:

                    With the tl-link sg108e you cannot remove the untagged 1-8 setting it's grayed out. I have returned this one to the store.

                    You can once you set another VLAN as default, usually your LAN (if you don't use out-of-band management).

                    You are completely right

                    Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                    Firmware: Latest-stable-pfSense CE (amd64)
                    Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                    1 Reply Last reply Reply Quote 0
                    • B
                      buttermilk
                      last edited by

                      @Qinn:

                      @jahonix:

                      @Qinn:

                      With the tl-link sg108e you cannot remove the untagged 1-8 setting it's grayed out. I have returned this one to the store.

                      You can once you set another VLAN as default, usually your LAN (if you don't use out-of-band management).

                      You are completely right

                      Trying to get this sorted…. are you by changing the trunk port to a different PVID than 1?  In the SG108E using 802.1q VLANs I do not see a way to set a default.  I must be missing something.

                      Thanks in advance.

                      1 Reply Last reply Reply Quote 0
                      • jahonixJ
                        jahonix
                        last edited by

                        Every port you don't want to run on VLAN1 (which should be all ports…) needs to have a VLAN > 1.
                        I don't know the SG108E so I can't tell about a default setting somewhere.

                        1 Reply Last reply Reply Quote 0
                        • R
                          rremingt
                          last edited by

                          @stephenw10:

                          Well at least that's an answer to the earlier question, there is no web interface on the cheapest model. Disappointing.

                          Steve

                          I ran nmap on my Mac laptop against the default IP of 192.168.0.1 and port 80 is open. I tried it and got a login page. After entering admin/admin, I was in and looking at a very usable Web UI!

                          1 Reply Last reply Reply Quote 0
                          • W
                            whosmatt
                            last edited by

                            @rremingt:

                            @stephenw10:

                            Well at least that's an answer to the earlier question, there is no web interface on the cheapest model. Disappointing.

                            Steve

                            I ran nmap on my Mac laptop against the default IP of 192.168.0.1 and port 80 is open. I tried it and got a login page. After entering admin/admin, I was in and looking at a very usable Web UI!

                            I have two of the TL-SG108E.  The first one I bought, which is V1, does not have a web UI.  The second one, V2, does.  They are both manageable via the Java app, but only the V2 model is manageable over a browser.  Hope this helps someone.

                            1 Reply Last reply Reply Quote 0
                            • R
                              robi
                              last edited by

                              @whosmatt:

                              I have two of the TL-SG108E.  The first one I bought, which is V1, does not have a web UI.  The second one, V2, does.  They are both manageable via the Java app, but only the V2 model is manageable over a browser.

                              That's great news!
                              And it seems to be true also for the smallest model too, which is TL-SG105E! 5 gigabit ports, supports VLANs and does not require any proprietary software! Perfect for multi-LAN setups! Very good price…

                              1 Reply Last reply Reply Quote 0
                              • G
                                garylovesbeer
                                last edited by

                                I actually prefer the java interface.

                                Found a version that runs on OS X that launches the application without having to launch a vmware Windows session.

                                1 Reply Last reply Reply Quote 0
                                • dennypageD
                                  dennypage
                                  last edited by

                                  If anyone is interested, I have a TL-SG2216 and a couple of TL-SG2008 switches that are looking for a good home. Please PM me if interested.

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    whosmatt
                                    last edited by

                                    @garylovesbeer:

                                    I actually prefer the java interface.

                                    Found a version that runs on OS X that launches the application without having to launch a vmware Windows session.

                                    Yeah, me too.  I really didn't look at the web UI on my V2 until yesterday, just noted that it was there.  It's kind of half baked as far as the look and feel (and some of the language).  But it's there.

                                    1 Reply Last reply Reply Quote 0
                                    • I
                                      IggyB
                                      last edited by

                                      Hey fellas, well i posted a new thread about this issue but i'm having no replies on my problem
                                      I thought maybe some of you might know since this is more tp-link switch thread

                                      My TL-SG2210P shuts off power when i plug it into ethernet port on my asus max hero alpha
                                      I tried different cables,ports. same thing shuts off.
                                      Other clients on network have no issues even using same cables.

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        Beaflag VonRathburg
                                        last edited by

                                        I've been using two SG2424 switches for years, but have an issue with my setup on one.

                                        pfsense - 2.3.2
                                        SG2424 - Latest Firmware

                                        I don't have a problem configuring LAG interfaces within pfsense; select to create a lag, the ports, and the type. The issue lies when I go into the SG2424 and try to create the LAG group. Ideally, I'd like to create a fail over LAG of three ports to the switch, but it seems that it only supports LACP. If I assign any fail over or round robin as the LAG configuration in pfsense, when I change the interface, the connection drops. If I assign the LAG as LACP, create the the LAG / LACP on the switch (enabled / active), and change the LAN interface to the LAG, it works fine. At some point though, the connection will just cut out and require that I reset the LAN interface to a single port to get the connection back. I've tested this with multiple NICs and motherboard combinations and the behavior appears to be the same. Am I missing something within the switch to get this functionality to work properly? Do the SG24xx line support other forms of LAG other than LACP?

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          robi
                                          last edited by

                                          My tip is this (based on what I see in my TL-SG2216):

                                          • "FAILOVER" in pfSense corresponds to "Static LAG" in TP-Link
                                          • "LOADBALANCE" in pfSense corresponds to "LAG Table" with "SRC IP+DST IP" hash alhorithm in TP-Link
                                          • "LACP" in pfSense should correspond to the same on TP-Link

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            ChefRayB
                                            last edited by

                                            Howdy Everyone,

                                            ( I know this topic hasn't been posted for 90 days but it's an interesting thread  that talks about TP Link switches)

                                            Today May 2017, what is the best managed switch to buy for home ?

                                            Criteria:

                                            • Running for Home, under TV Cabinet
                                            • Fanless, quiet, small, compact  and low wattage
                                            • Supports VLANs, IGMP Snooping v1,2,3,  Inter Vlan Multi broadcasting (DLNA, UPnP)
                                            • My project & current setup:  https://forum.pfsense.org/index.php?topic=129671.msg716171#msg716171
                                            • undecided about POE, perhaps install ubiquiti AP AC lite ( 24V Passive POE)

                                            Question:  Which is a good switch for long term ?    shouldn't I just buy a TL-SG2008 and upgrade the day I need PoE since TL-Sg2008 is just $70 and I can always power the devices by plugging them in an electric outlet worst case since I won't have many poe devices?

                                            My gut feeling is saying  just buy TL-Sg2008, very compact, low wattage, supports VLAN, support Inter VLAN broadcasting and keep it simple, in a few years there will be better switches and $70 depreciation for a few years is not the end of the world.  Moreover TL-SG2008 is a better switch for a beginner compared jumping to Cisco SG300 for the 1st jump to VLAN.

                                            Thoughts ?

                                            Switches:

                                            1. TP TL-SG2008 (Smart Switch, non-PoE)  - Selling $70 USD
                                              http://www.tp-link.com/us/products/details/cat-5070_TL-SG2008.html
                                              Size: 8x4x1 (inch)
                                              Electricity : < 7 watts

                                            2. T2500G-10TS (TL-SG3210)  (L2 Managed, non POE) - Selling $120
                                              http://www.tp-link.com/ca/products/details/cat-39_T2500G-10TS.html#specifications
                                              Size: 12x7x2 (inch)
                                              Electricity: < 9 watts

                                            3. Cisco SG300-10 (non-PoE, L2+L3 Managed)  or SG300-10P (PoE + L2+L3 Managed )  - Selling 150-250
                                              http://www.cisco.com/c/en/us/products/collateral/switches/small-business-smart-switches/data_sheet_c78-610061.html
                                              Size: approx 11x7x2  (inch)
                                              Electricity - non PoE: <11 watts
                                              Electricity - PoE: min 14 - max 82 watts  (If I don't use POE, it will run approx 14 watts which is double than TP-SG2008)
                                              PoE: 1 port up to 30watts

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