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

    TP-LINK TL-SG108E VLAN configuration issue

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    100 Posts 3 Posters 24.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.
    • M
      mcury @Mitch Rapp
      last edited by

      @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

      Does it look like I followed the correct steps?

      No need to say sorry, I was newbie once too.. Still today, sometimes I find myself being a newbie, still learning every day.. :)

      Well, lets do it in steps first ok? First lets do the management part, which will allow you to be able to ping the switches from pfsense.

      1 - Pfsense should have IP address in the Igb2 interface.
      In this step, you should add an IP address to Igb2 interface itself, this will be the gateway for the management network.
      We are not creating a VLAN yet ok? Go to Interfaces tab, select Igb2 interface, tick enable, then add a static IP address in it, lets say something like: 172.16.0.1 / 24.

      Then, go to your switch TL-SG108E, and put an IP address of 172.16.0.2 / 24 in it.

      Then, in the switch, you configure that port that is connected to pfsense, to PVID1 and VLAN1 untagged.

      Lastly, try to ping the switch from pfsense, login in pfsense and ping 172.16.0.2 and come back here to confirm if its working..

      If that works, we will proceed with the next steps.

      dead on arrival, nowhere to be found.

      M 1 Reply Last reply Reply Quote 1
      • M
        Mitch Rapp @mcury
        last edited by

        @mcury God bless you.
        Ok, it's done.
        igb2 interface = 10.28.28.1 /24
        SG108E = 10.28.28.2 /24
        VLAN1 Port 1 untagged

        f08f4491-17ed-42af-a193-6bdfdd127022-image.png

        SG108E port 1 PVID1 set

        f24a3ccf-78e8-478c-b408-6a118ba4e4d5-image.png

        Ping Successful

        PING 10.28.28.2 (10.28.28.2): 56 data bytes
        64 bytes from 10.28.28.2: icmp_seq=0 ttl=64 time=1.651 ms
        64 bytes from 10.28.28.2: icmp_seq=1 ttl=64 time=1.561 ms
        64 bytes from 10.28.28.2: icmp_seq=2 ttl=64 time=1.887 ms

        --- 10.28.28.2 ping statistics ---
        3 packets transmitted, 3 packets received, 0.0% packet loss
        round-trip min/avg/max/stddev = 1.561/1.699/1.887/0.137 ms

        M 1 Reply Last reply Reply Quote 0
        • M
          mcury @Mitch Rapp
          last edited by

          great, first leg of the management is working..
          now, we will do the same thing, but now between TL-SG108E and the TL-AX6600.

          TL-SG108E port that is connected to TL-AX6600 should have PVID1 and VLAN1 untagged.
          TL-AX6600 port that is connected to TL-SG108E should have PVID1 and VLAN1 untagged.

          Then, from pfsense, try to ping TL-AX6600 (I guess it should be 10.28.28.3).

          dead on arrival, nowhere to be found.

          M 1 Reply Last reply Reply Quote 0
          • M
            Mitch Rapp @mcury
            last edited by

            @mcury
            Ok,
            I've set the port (port 2) for TL-SG108E to TL-AX6600 to PVID 1 VAN1 untagged
            I've connected back-haul (second port) from TL-AX6600 to TL-SG108E to port 3 VLAN untagged.

            I've set the static IP address on TL-AX6000 to 10.28.28.3

            Ping Results
            PING 10.28.28.3 (10.28.28.3): 56 data bytes

            --- 10.28.28.3 ping statistics ---
            3 packets transmitted, 0 packets received, 100.0% packet loss

            Nada.

            A couple of thoughts / questions (could one or all of these things be wrong) :

            1. The AX600 has a VLAN option. Vlan ID and Vlan priority. Should I set these to VLAN ID 1 and Priority 0 ? As of now, I've left it unset
            2. The TL-AX6600 is still in "router mode," Should it be changed to AP mode?
              Here are the options:

            3bbeece4-8224-4881-83fe-77be461bbf49-image.png
            56b16352-2151-4448-8ea2-ea279c8bc9fe-image.png

            M 1 Reply Last reply Reply Quote 0
            • M
              mcury @Mitch Rapp
              last edited by mcury

              Yes, put the TL-AX6600 in bridge mode, and connect the cable coming from the TL-SG108E in a LAN port, do not use the WAN port.

              First problem I see is you used the VLAN28 address range for MGMT...
              You need at least two networks.

              Management network is the network in which you will access the TL-SG108E GUI page to configure it, so, this is only used for management, nothing else, this will be VLAN1.

              The second network is going to be the users in the WIFI, which as I understood, will be VLAN28.

              TL-SG108E port that connects to pfsense:
              Currently settings:
              PVID 1
              Untagged VLAN1
              Now, add VLAN28 as TAGGED for that port.

              TL-SG108E port that connects to TL-AX6600, we will change things here, as I just noticed that this device is not VLAN capable.
              PVID 28
              Untagged VLAN28

              After that, users in the WIFI will be able to browse the Internet, but only if DHCP is enabled in pfsense and Firewall rules are allowing.
              NAT will be created automatically.

              Edit:

              In pfsense, you need to change the Igb2 address from 10.28.28.1 / 24 to 10.1.1.1 / 24 (assuming that 10.1.1.0/24 is the network you chose for management).
              Then, set the IP in pfsense for VLAN28 to 10.28.28.1 / 24

              In the TL-SG108E, change the IP address to 10.1.1.2 / 24.

              Doing this, you will have both networks I mentioned.

              dead on arrival, nowhere to be found.

              M 1 Reply Last reply Reply Quote 0
              • M
                Mitch Rapp @mcury
                last edited by

                @mcury
                I am a little confused. is this a different person?

                You said, "We are not creating a VLAN yet ok?" *
                So, I deleted VLAN28 and started fresh, see below.

                let's review where I am

                Pfsense current

                1. WAN (igb0) to fiber -WORKING GREAT

                2. LAN (igb1) to TL-SG1024DE ("10.27.27.1/ 22"wired network) -
                  WORKING GREAT.

                3. OPT1 (named VLAN1) interface set to igb2 (10.28.28.1/24) (no DHCP server)
                  no VLAN port yet established (see your comment above*)

                Iot Network I am trying to create
                TL-SG108E (Port 1) connected to OP1 (igb2) (Static IP 10.28.28.2)
                DHCP Disabled
                VLAN1 PVID 1 untagged - ping working

                TL-SG108E (port 2) connected to TL-AX6600 LAN port
                VLAN 1 PIVID 1 - untagged

                TL-AX6600 - Static IP 10.28.28.3 (LAN port to SG108E (port 2)
                DHCP enabled, currently in router mode. When I moved the cable from WAN port to LAN port, per your instructions, it started working to broadcast but I still can't ping it at 10.28.28.3 from pfsense, but I see traffic going .

                b2c22c27-9dbb-482c-8d7e-374164055c2d-image.png

                M 1 Reply Last reply Reply Quote 0
                • M
                  mcury @Mitch Rapp
                  last edited by mcury

                  @mitch-rapp I didn't ask you to create a VLAN1, I asked you to edit interface Igb2 and add an IP address there, this is considered VLAN1, or native VLAN, its pretty hard to explain these things to a person that is starting... :(

                  Man, lets start over then.

                  Delete that VLAN1.

                  Do this:

                  TL-SG108E port that connects to pfsense:
                  PVID 1
                  Untagged VLAN1
                  VLAN28 as TAGGED for that port.

                  TL-SG108E port that connects to TL-AX6600,
                  PVID 28
                  Untagged VLAN28

                  pfsense: Go to interfaces, Igb2, and put a static IP of: 10.1.1.1 / 24.
                  Then, create VLAN28 and add the IP of 10.28.28.1 / 24, tick enable to enable the interface.
                  Create a firewall rule allowing all in Firewall > Rules > VLAN28
                  Check if DHCP is enabled in that interface, if its not, enable it.

                  Check if internet is working in the WIFI.

                  Don't forget to put the TL-AX6600 in AP mode, and connect the cable coming from the TL-SG108E in a LAN port, do not use the WAN port.

                  dead on arrival, nowhere to be found.

                  M 2 Replies Last reply Reply Quote 0
                  • M
                    Mitch Rapp @mcury
                    last edited by Mitch Rapp

                    @mcury
                    Brother, I am so sorry. I haven't grasped all of the concepts yet, obviously. you have the patient of Job.

                    This is what I've just done.

                    1. TL-SG108E port 1 to pfsense -PVID1 untagged VLAN1
                      ADDED VLAN28 as tagged to port 1.

                    2. TL-SG108E port 2 to AX66000 PVID 2 untagged VLAN28.

                    3. Created OPT1 (igb2), enabled, Static IP 10.1.1.1 /24

                    4. Created VLAN28 (igb2 OPT1 as parent interface) Tagged 28
                      under "interface assignments," VLANs" tab.

                    5.Created VLAN28 interface, "VLAN 28 on igb2 - opt 1 (VLAN28)"
                    enabled, set IP to 10.28.28.2 /24,

                    1. Created firewall rule for VLAN28 allowing protocol "any" for VLAN28.

                    2. VLAN28 - DHCP enabled, range 10.28.28.10 to 10.28.28.254.
                      My TL-SG108E is set to 10.28.28.2 * AX6600 is set to 10.28.28.3.

                    3. TL-AX6600 is on the LAN port to TL-SG108E (port 2)

                    Is any of that correct? :-)

                    No wifi now. It has a signal but no internet connectivity. Should I reset the AX6600 to "bridge mode" or use the VLAN feature on it?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Mitch Rapp @mcury
                      last edited by

                      @mcury
                      229cbefe-74b8-4d0d-9d35-ba16a08905c1-image.png

                      1 Reply Last reply Reply Quote 0
                      • M
                        mcury @Mitch Rapp
                        last edited by

                        @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                        TL-SG108E port 1 to pfsense -PVID1 untagged VLAN1
                        ADDED VLAN28 as tagged to port 1.

                        Ok, perfect.

                        @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                        TL-SG108E port 2 to AX66000 PVID 2 untagged VLAN28.

                        You mean PVID 28, right?
                        Should be PVID28 and untagged VLAN28

                        @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                        Created OPT1 (igb2), enabled, Static IP 10.1.1.1 /24

                        Ok, perfect.

                        @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                        Created VLAN28 (igb2 OPT1 as parent interface) Tagged 28
                        under "interface assignments," VLANs" tab.

                        Ok, perfect.

                        @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                        .Created VLAN28 interface, "VLAN 28 on igb2 - opt 1 (VLAN28)"
                        enabled, set IP to 10.28.28.2 /24,

                        Ok, perfect

                        @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                        Created firewall rule for VLAN28 allowing protocol "any" for VLAN28.

                        Ok, can you show that firewall rule? It should be Protocol any, Source: VLAN28 net, to destination any

                        @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                        VLAN28 - DHCP enabled, range 10.28.28.10 to 10.28.28.254.
                        My TL-SG108E is set to 10.28.28.2 * AX6600 is set to 10.28.28.3

                        VLAN28 - DHCP enabled range 10.28.28.10 to 10.28.28.254 - Ok, perfect
                        TL-SG108E should have an IP address of 10..1.1.2.
                        TL-AX6600 should have an IP address of 10.28.28.X where X is from 2 to 9, you can choose.

                        @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                        TL-AX6600 is on the LAN port to TL-SG108E (port 2)

                        Ok, perfect.

                        @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                        No wifi now. It has a signal but no internet connectivity. Should I reset the AX6600 to "bridge mode" or use the VLAN feature on it?

                        Can you connect a phone to that wifi network and confirm if its getting an IP from the 10.28.28.0/24 network?

                        dead on arrival, nowhere to be found.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Mitch Rapp @mcury
                          last edited by

                          @mcury said in TP-LINK TL-SG108E VLAN configuration issue:

                          Ok, can you show that firewall rule? It should be Protocol any, Source: VLAN28 net, to destination any

                          Ok, check this firewall rule for VLAN28 before I proceed.
                          action = Pass
                          Address family = Ipv4
                          Interface = VLAN28
                          Protocol = Any
                          Source = VLAN28.net
                          Destination = any

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mcury @Mitch Rapp
                            last edited by mcury

                            @mitch-rapp It seems correct, did you have to write VLAN28.net or did you select it from the drop down menu when creating the firewall rule?
                            You can post a screenshot of that rule

                            dead on arrival, nowhere to be found.

                            M 2 Replies Last reply Reply Quote 0
                            • M
                              Mitch Rapp @mcury
                              last edited by

                              @mcury I selected it from the drop-down menu

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                mcury @Mitch Rapp
                                last edited by

                                @mitch-rapp said in TP-LINK TL-SG108E VLAN configuration issue:

                                @mcury I selected it from the drop-down menu

                                So, its correct..
                                Can you connect a device to that wifi network, and confirm if its getting an IP address from the DHCP ? It should get an IP from pfsense DHCP, check that then we proceed.

                                dead on arrival, nowhere to be found.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Mitch Rapp @mcury
                                  last edited by

                                  @mcury
                                  Ok, I can ping the switch at 10.1.1.2
                                  Can't ping the Deco at 10.28.28.3

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    mcury @Mitch Rapp
                                    last edited by mcury

                                    Those pings you mentioned, you are pinging from pfsense, right?

                                    Go to pfsense Status > DHCP Leases, and check if the deco 10.28.28.3 shows there, it should have a MAC address, if it shows incomplete its because there is a problem.
                                    This Deco, does it have a gateway configured? Check if it shows with the MAC address in pfsense, Diagnostics > ARP table

                                    Edit: In addition to what has been said above, make sure TL-AX6600 is configured to AP mode with the DHCP is disabled...

                                    dead on arrival, nowhere to be found.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Mitch Rapp
                                      last edited by

                                      @mcury

                                      Ah! I was pinging from CMD on LAN (igb1).
                                      Let me check ping from pfsense.
                                      And check for DHCP lease.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        Mitch Rapp
                                        last edited by

                                        @mcury
                                        On the Deco gateway, yes, I set the gateway to 10.28.28.1
                                        IP to 10.28.28.3
                                        255.255.255.0
                                        DNS servers? I used 1.1.1.1 & 8.8.8.8

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          mcury @Mitch Rapp
                                          last edited by

                                          @mitch-rapp Thats right..

                                          Did you connect a device to the wifi network as suggested above? Internet should be working now...
                                          If its not working, please confirm if the device you connected to the wifi network got an IP address from the 10.28 network..

                                          dead on arrival, nowhere to be found.

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            Mitch Rapp @mcury
                                            last edited by

                                            @mcury No Deco!
                                            2b7156eb-5cb2-4498-ab9e-c803e8e5b7ea-image.png

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