this post was submitted on 21 Nov 2023
0 points (NaN% liked)

Home Networking

11 readers
1 users here now

A community to help people learn, install, set up or troubleshoot their home network equipment and solutions.

Rules

founded 1 year ago
MODERATORS
 

so I have two internet connections connected to a muti wan router, then I configure the two seperate vlans for both connections, then I setup 1 dhcp server for both connections then on the switch I add the vlan ids 60 and 61 made the switch port a trunk port.

So on this edge max tough switch it has the management port showing as tagged and the rest of the ports untagged. So I added the vlan ids for both connections. So I tag both vlans 60 and 61 under the same port for the trunk. So should all the ports on 60 and 61 vlan be untagged? This is where I’m getting confused!

top 3 comments
sorted by: hot top controversial new old
[–] TiggerLAS@alien.top 0 points 11 months ago (1 children)

For trunk ports, the port on each end of the cable should be configured identically. So, if you set your ports on your router for Tagged 60 and 61, the port on the switch you're connecting it to should also be set for Tagged 60 and 61, and of course be configured as a Trunk port.

To assign a specific VLAN to the other ports on your switch:

Port Mode: Access

VLAN60, Untagged, PVID60

  • or -

VLAN61, Untagged, PVID61

Anything plugged into those ports would be dumped onto the specificed VLAN, whether the device is VLAN-Aware or not.

[–] Giggy36@alien.top 1 points 11 months ago (1 children)

Switch VLAN setup

Fist picture after vlan set, second picture if I untagg both vlan 60 and 61, third picture if I excluded vlan 61

[–] TiggerLAS@alien.top 1 points 11 months ago

A switch port port can support the following:

1 or more Tagged VLANS

1 Untagged VLAN by itself

1 Untagged VLAN plus one or more Tagged VLANs

A switch port CANNOT support more than one Untagged VLAN.

In all of your pictures, port 4 is correct.

In the 2nd picture - you'll note that the VLAN60 and 61 boxes are red. That's because you've selected Untagged VLAN60 and Untagged VLAN61 on ports 1, 2, 3, and 5. That isn't a valid configuration.

Your first picture has VLAN60 set for untagged traffic on ports 1, 2, 3, and 5. . . anything plugged in to those ports would be dumped onto VLAN60 during normal operation.

If you want VLAN61 as untagged on ports 1, 2, 3, and 5, you'd change the VLAN60 entries on ports 1,2, 3, and 5 to "E", and then in the VLAN61 row, change 1, 2, 3, and 5 to "U".

So, top row correct for VLAN60, middle row completely invalid, and bottom row won't put any VLANs on ports 1, 2, 3, and 5.