two clients one port two diffrent vlan´s
Hi! I want 2 clients in my office (office only have one cable) to be able to connect to two different vlan´s. Is this possible with my setup, and how do i do it?
I will also have a standard switch of course to split the port in the office
Setup:
Router ER605
Switch TL-SG2008P
Omada controller
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
@MickeG Yes, that will do. The switch for the office will need to be a managed switch to break out the VLANs to specific ports for the devices, unmanaged switches can only pass VLANs through and most computer NICs are not VLAN aware. Once you have the switch, set up a second LAN in Omada, with a VLAN ID of your choice. That VLAN will go on the port to the new switch as a tagged VLAN. The new switch will get an IP on the untagged VLAN (this is generally set the same as the PVID). At the new switch, set the uplink port to match the pair of VLANs coming to it, main LAN as the untagged VLAN second one as the tagged VLAN. Then for the ports to the computers, set the port as only untagged for the specific VLAN for that computer.
An example, your two VLANs Main LAN (VLAN ID 1), Work LAN (VLAN ID 5). Out of the SG2008P, VLAN 1 is untagged and port PVID is 1, VLAN 5 is tagged. Into new switch's uplink port, setting the same as SG2008P. Port to first home computer is VLAN 1 untagged, PVID 1, no tagged VLANs. Port to work computer is VLAN 5 untagged, PVID 5, no tagged VLANs.
If you choose to get an Omada managed switch for the new switch, the untagged (PVID) of the uplink port needs to be the same VLAN as your main LAN (this can differ with a management VLAN but I think that is currently beyond your setup based on the question).
- Copy Link
- Report Inappropriate Content
@MickeG Yes, that will do. The switch for the office will need to be a managed switch to break out the VLANs to specific ports for the devices, unmanaged switches can only pass VLANs through and most computer NICs are not VLAN aware. Once you have the switch, set up a second LAN in Omada, with a VLAN ID of your choice. That VLAN will go on the port to the new switch as a tagged VLAN. The new switch will get an IP on the untagged VLAN (this is generally set the same as the PVID). At the new switch, set the uplink port to match the pair of VLANs coming to it, main LAN as the untagged VLAN second one as the tagged VLAN. Then for the ports to the computers, set the port as only untagged for the specific VLAN for that computer.
An example, your two VLANs Main LAN (VLAN ID 1), Work LAN (VLAN ID 5). Out of the SG2008P, VLAN 1 is untagged and port PVID is 1, VLAN 5 is tagged. Into new switch's uplink port, setting the same as SG2008P. Port to first home computer is VLAN 1 untagged, PVID 1, no tagged VLANs. Port to work computer is VLAN 5 untagged, PVID 5, no tagged VLANs.
If you choose to get an Omada managed switch for the new switch, the untagged (PVID) of the uplink port needs to be the same VLAN as your main LAN (this can differ with a management VLAN but I think that is currently beyond your setup based on the question).
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
@MickeG Many wired NICs have the ability to set the VLAN tagging of the connection, you would have to look in the driver settings for your computer (for Windows look in Device Manager -> Network Adaptor -> and then the advanced tab of the driver). Changing the VLAN setting in Windows is very cumbersome, and so if you are connecting to other networks often, it's better to let the network/switch handle the VLAN assignment. You would also need to check that your unmanaged switch is 802.1Q compliant to pass through VLANs, not all unmanaged switches can pass through VLANs.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 711
Replies: 3
Voters 0
No one has voted for it yet.