

I’m trying to create a router + switch combo. I know bonding over CPU is considered a bad idea but I don’t want to run a proprietary OS on my switch to get VLANs. I’d rather run an OpenBSD VM and do everything in it.
This might delve into some networking, but if you can bear with me:
Whilst I like the idea of VLANs, I don’t like running proprietary firmware on my devices. Which means a regular L2+/L3 switch is not going to cut it. But I’m starting to wonder if I can just use Veths and subnetting to segregate traffic between different machines on my network?
Using your example, can I do:
PC (router) -> 10Gbe port (3 Veths) -> switch -> three different machines on different subnets?
Can I prevent the three machines from talking to each other directly through the switch if I put them in different subnets? Sorry for my lousy networking knowledge, it’s been a while.
Isn’t this only for people running NGINX?