Hacker News new | ask | show | jobs
by m3koval 1224 days ago
It should be possible to do that using one Ethernet port using VLANs. You could buy a cheap L2 managed switch and use it to trunk two different Ethernet networks on the same port. Then you would configure the Linux networking stack to split the VLANs into separate interfaces.

I am by no means a networking expert and was able to use technique to work around a similar issue in the past. It was easier than I expected!

1 comments

Awesome, I didn't know this was an option! Is there a cheap L2 managed switch? I'm only seeing $100+ boards with a cursory search
try ebay or newegg to get used or refurb ones. a lot of switches last really long.