One Raspberry Pi with 2 ethernet cards. How do I make the 2 ports pass internet from VLAN to VLAN?
I am very new to VLANs.
I have a modem/router, a Raspberry Pi and the TP-Link switch.
I want the internet on VLAN 1 that goes to the first ethernet port on the Raspberry Pi that runs a DNS server and a webserver.
A second ethernet port on the Raspberry Pi goes to VLAN 2 that should have my internal network. The internal network should have access to the internet (of course).
The internet should pass through the Raspberry Pi (DNS server)
I'm confused about how I need to set those two VLAN ports that connect to the Raspberry Pi. How do I make them talk together (I guess?).
I'm confused about what I should tag and untag and what is this PVID?
Can somebody please help me? I'm not good at VLAN and managed switches it seems :-(
Thank you,
Ellen