← Back to post

Edit history

Most recent

“this diagram”

I would use the VLAN capable switch as your first switch after the router. That way, you can assign a VLAN to everything. And your “any dumb switch” can be downstream of one of them, serving whichever VLAN it is connected to.

How this works:
VLAN ports have two modes. Terminology might change between vendors, but they all do the same:

  • Untagged (often called Access port). This is a port where you connect anything that doesn’t speak VLAN itself. A PC¹, a Camera, or even a dumb switch. Any traffic coming into an Access port will be assigned any VLAN ID (often called PVID) configured for that port. It is called Untagged, because it doesn’t require any incoming traffic to already have a VLAN tag, and it will strip off the vlan tag from any outgoing traffic.
  • Tagged ports REQUIRE a vlan tag on any traffic passing through it. Ports of this type also often have a list of VLAN IDs that they will allow through. The only thing to keep in mind is that whatever is connected in the other end must also be a tagged port with the same list of VLANs. This is typically used between two switches so that a single cable can carry traffic from multiple VLANs. This kind of connection is often called a Trunk

¹: Yes, PCs can also connect to a tagged port, but then you have to set up your network config to also use VLAN tagging. In most cases, it’s easier to just connect the PC to an Untagged port. One benefit of connecting a PC to a tagged port is that you can configure this PC to talk on multiple VLANs with a separate IP for each, so that you can in effect be connected to multiple networks with only one cable.

Note: Once you use VLAN tagging on a switch, all ports will need to be set up with a VLAN. I noticed that you only specified VLAN 1 in your second diagram. If you want the other stuff to be isolated, sign that to a different VLAN ID.

Another note: I am ineffiently typing this on my phone, so if any details are unclear or I need to elaborate more on something, let me know, and I’ll do so when I’m back on my PC.

Edited

“this diagram”

I would use the VLAN capable switch as your first switch after the router. That way, you can assign a VLAN to everything. And your “any dumb” switch can be downstream of one of them, serving whichever VLAN it is connected to.

How this works:
VLAN ports have two modes. Terminology might change between vendors, but they all do the same:

  • Untagged (often called Access port). This is a port where you connect anything that doesn’t speak VLAN itself. A PC¹, a Camera, or even a dumb switch. Any traffic coming into an Access port will be assigned any VLAN ID (often called PVID) configured for that port. It is called Untagged, because it doesn’t require any incoming traffic to already have a VLAN tag, and it will strip off the vlan tag from any outgoing traffic.
  • Tagged ports REQUIRE a vlan tag on any traffic passing through it. Ports of this type also often have a list of VLAN IDs that they will allow through. The only thing to keep in mind is that whatever is connected in the other end must also be a tagged port with the same list of VLANs. This is typically used between two switches so that a single cable can carry traffic from multiple VLANs. This kind of connection is often called a Trunk

¹: Yes, PCs can also connect to a tagged port, but then you have to set up your network config to also use VLAN tagging. In most cases, it’s easier to just connect the PC to an Untagged port. One benefit of connecting a PC to a tagged port is that you can configure this PC to talk on multiple VLANs with a separate IP for each, so that you can in effect be connected to multiple networks with only one cable.

Note: Once you use VLAN tagging on a switch, all ports will need to be set up with a VLAN. I noticed that you only specified VLAN 1 in your second diagram. If you want the other stuff to be isolated, sign that to a different VLAN ID.

Original

“this diagram”

I would use the VLAN capable switch as your first switch after the router. That way, you can assign a VLAN to everything. And your “any dumb” switch can be downstream of one of them, serving whichever VLAN it is connected to.

How this works:
VLAN ports have two modes. Terminology might change between vendors, but they all do the same:

  • Untagged (often called Access port). This is a port where you connect anything that doesn’t speak VLAN itself. A PC¹, a Camera, or even a dumb switch. Any traffic coming into an Access port will be assigned any VLAN ID (often called PVID) configured for that port. It is called Untagged, because it doesn’t require any incoming traffic to already have a VLAN tag, and it will strip off the vlan tag from any outgoing traffic.
  • Tagged ports REQUIRE a vlan tag on any traffic passing through it. Ports of this type also often have a list of VLAN IDs that they will allow through. The only thing to keep in mind is that whatever is connected in the other end must also be a tagged port with the same list of VLANs. This is typically used between two switches so that a single cable can carry traffic from multiple VLANs. This kind of connection is often called a Trunk

¹: Yes, PCs can also connect to a tagged port, but then you have to set up your network config to also use VLAN tagging. In most cases, it’s easier to just connect the PC to an Untagged port. One benefit of connecting a PC to a tagged port is that you can configure this PC to talk on multiple VLANs with a separate IP for each, so that you can in effect be connected to multiple networks with only one cable.