Need Advice on VLAN Configuration

Need Advice on VLAN Configuration

Need Advice on VLAN Configuration
Need Advice on VLAN Configuration
2 weeks ago - last edited a week ago
Model: TL-SG116E  
Hardware Version: V2
Firmware Version: 1.0.0 Build 20230505 Rel.70817

I have a VLAN configuration problem and would like some advice.

 

Background:

My router (not a TP-Link model) is configured with four subnets (primary network, IoT network, camera network, and media network).  All the LAN ports on the router are configured as trunk ports with the primary network untagged and the other networks having VLAN IDs of 30, 40, and 50 respectively.  One of the LAN ports is wired to a TL-SG116E Easy Smart switch which feeds all the devices in my home office area.

The TL-SG116E is configured for 802.1Q VLAN tagging and the trunk port from the router is connected to Port 1.  Port 1 is untagged for the default VLAN and tagged for the remaining VLANs.

The remaining ports are configured as follows:

Ports 2 through 6 are untagged members of the default VLAN (PVID=1).

Ports 7 and 8 are untagged members of the IoT VLAN (PVID=30).

Ports 9 through 12 are untagged members of the camera VLAN (PVID=40).

Ports 13 through 16 are untagged members of the media VLAN (PVID=50).

With the above configuration in mind, I have a Synology NAS that features two LAN ports.  The primary port is connected to the primary network (Port 3 on the switch).  The idea here is to configure the second LAN port of the NAS with an IP address on the camera network so that my NVR (which also resides on the camera network) can back up files to the NAS without having to route everything back through the router.  It should then be a simple matter of connecting the second LAN port to Port 10 of the switch.

 

Problem:

The problem I ran into in the past with the above configuration was that network loops were randomly occurring, causing everything to freeze.  For a lack of time, I never determined whether it was the switch or the NAS that was causing the loops.  Yesterday, I tested the configuration and over a period of several hours, everything was working fine and there were no issues.

I have found information on the internet which says two devices should not have two Layer 2 paths between them.  I don’t know if this applies in this case where VLANs are used.  I also don’t exactly know how the TP-Link Easy Smart switches handle Layer 2 VLAN traffic (i.e. separate MAC tables for each VLAN, etc.).  Can someone shed some light on this and perhaps give me some advice on the proposed configuration?

 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Need Advice on VLAN Configuration-Solution
a week ago - last edited a week ago

Hi @jra11500 

Thanks for posting in our business forum.

Some guides with examples have been there:

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#2
Options
2 Reply
Re:Need Advice on VLAN Configuration-Solution
a week ago - last edited a week ago

Hi @jra11500 

Thanks for posting in our business forum.

Some guides with examples have been there:

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#2
Options
Re:Need Advice on VLAN Configuration
a week ago

The post indicated above is NOT a recommended solution nor does it answer the configuration questions.

 

  0  
  0  
#3
Options