this post was submitted on 21 Nov 2023
1 points (100.0% liked)
Home Networking
198 readers
1 users here now
A community to help people learn, install, set up or troubleshoot their home network equipment and solutions.
Rules
- Please stay on topic.
- Please use the search function to look for keywords related to what you want to ask before posting since most common issues have been answered.
- No Ads. This community is for support and discussion. Ads and self promotion are not welcome here.
- No product reviews or announcements. If you have a question about a product, be specific about what you want to know.
- Be civil. Don't be a jerk. Not being a jerk is surprisingly easy.
- No URL shorteners. URL shorteners tend to hide the real use of a link. For this reason, please use normal links, even if they're long.
- No affiliate links.
- No gatekeeping. With profession shall come professionalism. Extend help without judging others for their ignorance. The same goes for downvoting of comments or posts for "stupid questions" or not being as knowledgeable as others.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
VLAN61, Untagged, PVID61
Anything plugged into those ports would be dumped onto the specificed VLAN, whether the device is VLAN-Aware or not.
That’s the thing the router allows you to setup the vlan Id’s and dhcp but doesn’t allow you to tag or untag ports, the switch allows you to untag individual ports for vlans or all the ports for a vlan but you can’t assign all the the ports on more than one vlan. The management vlan has all the ports untagged so I assume that I would exclude all the port for that vlan and then tag the trunk port and then untag all the ports for the vlan60 then tag vlan 61 on the trunk port then exclude all the ports for vlan61. I don’t care if it gets any IPs from vlan 61 just the internet connection I just need the IPs and internet from vlan60 aswell!
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
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.