In a previous post we discussed the benefits of using VLANs in your homelab. In short, VLANs allow us to logically separate our network based on application which in turn adds an additional layer of security. In that same post, we discussed using a single ethernet cable to trunk multiple VLANs to various virtual machines running on a Proxmox server, but did you know that we can do the same thing on the humble Raspberry Pi? This can be particularly useful in homelabs, as it allows us to wake-on-LAN devices that are on different subnets.
This is a companion discussion topic for the original entry at https://engineerworkshop.com/blog/raspberry-pi-vlan-how-to-connect-your-rpi-to-multiple-networks/