Help with 802.1q trunking on TP-Link Easy Smart switches

There’s a legacy free internet service near my house (like “if you call the ISP about it, they will remove it” legacy).

It comes off an old GPON modem, ZTE F660 v3, with 4x 100 mbps ethernet port.

I have confirmed that each port can output up to 88 mbps: https://www.speedtest.net/result/c/0b223d64-9aa6-4a32-bb36-9f9c3ac67c50, and in the past, I tested connecting two or more to an openwrt router + mwan3 module will actually combine the total throughput: https://www.speedtest.net/result/13690432534.

So, the actual modem location is near my cousin’s home. And I can only do 2 ethernet run between his house and the actual modem location. Because it’s only 100 mbps, I then made ethernet economizer for total 4x 100 mbps connection. The cable then connected to TL-SG108E → fiber media converter → 700 meters fiber optic run to my house → fiber media converter → TL-SG105E → OpenWrt router, like this:

I followed their guide for 802.1q: https://www.tp-link.com/us/support/faq/788/, but everytime, it detected a network loop.

Can it be done?

Let’s assume this is all legal and focus on the technical aspects.

You’re asking for help with 802.1Q VLAN which enables logically separating networks that travel over the same cable.
your diagram seems to indicate (and I imply from your text) that you would like to implement IEEE 802.3ad, or link aggregation, where network traffic is multiplexed across multiple physical cables.

In either case, the setup requires support of the respective standard and configuration on the devices on both sides of the cable.

According to this website the ZTE F660 v3 has 1x 1000mbs and 3x 100mbs ports. Assuming the website is correct, this would solve your issue, right?
If not, you’re out of luck because the ZTE F660 v3 does not support neither 802.1Q VLAN nor IEEE 802.3ad.

1 Like

Let’s assume this is all legal and focus on the technical aspects

It is legal, the ISP doesn’t really care about this legacy program, but if someone called them about it, they will take it all back. So i cannot ask for a gigabit modem/ont.

You’re asking for help with 802.1Q VLAN which enables logically separating networks that travel over the same cable.

Yes, the modem doesn’t support that, but I intend to achieve it via the TP-Link switches. I need to somehow encapsulate the three 100 mbps lines, send them via a gigabit link, and then separate them again at the second switch.

The “link aggregation” happened later with an OpenWrt router.

I tested all the ports, it’s all 100 mbps only. That website is not correct.

Ah - I didn’t understand the color coding in your diagram before. Each color indicates a separate (private) network - or VLAN.

Config on SG108E:
On page VLAN > 802.1Q VLAN configure
VLAN 2 (you can choose a different number): green

  • port 2-5 untagged

VLAN 3: violet

  • port 1 tagged
  • port 6 untagged

VLAN 4: turquois

  • port 1 tagged
  • port 7 untagged

VLAN 5: yellow

  • port 1 tagged
  • port 8 untagged

On page VLAN > 802.1Q PVID Setting configure

  • Port 1: VLAN 1
  • Port 2-5: VLAN 2 (green)
  • Port 6: VLAN 3 (violet)
  • Port 7: VLAN 4 (turquois)
  • Port 8: VLAN 5 (yellow)

Config on TL-SG105E
On page VLAN > 802.1Q VLAN configure
VLAN 3: violet

  • Port 1 tagged
  • Port 2 untagged

VLAN 4: turquois

  • Port 1 tagged
  • Port 3 untagged

VLAN 5: yellow

  • Port 1 tagged
  • Port 4-5 untagged

On page VLAN > 802.1Q PVID Setting configure

  • Port 1: VLAN 1
  • Port 2: VLAN 3
  • Port 3: VLAN 4
  • Ports 4-5: VLAN 5

Configured this way, the ZTE F660 v3 will get the impression of each port going to another (virtual) network. The TL-SG108E will assign each port to a separate VLAN and tag packets accordingly.
Tagged packets for VLANs 3-5 are sent via the orange cable to TL-SG105E, which in turn will share these accordingly with the assigned ports.
Traffic in the other direction gets tagged and untagged accordingly.

Make sure that the VLAN numbers match for virtual networks of the same color across the TL-SG108E and TL-SG105E

Here’s the configs:

TL-SG108E:

TL-SG105E:

It still detect network loop.

I also tried setting VLAN 1 untagged member to port 1 only for both switches, but it resulted to no DHCP from the server.

On the TL-SG108E remove at least ports 5-8 from VLAN 1.

like this?

This also resulted to no DHCP from the server… ._.