I have a laptop with Windows 10 and a Realtek PCIe GBE Family Controller. My NIC is connected to a switch in trunk mode (traffic for 2 VLANs transiting via this connection).
I would like to setup the VLANs on an Ubuntu Linux VM on Virtual Box.
First, I created two VLANs on Windows via the Realtek diagnostic utility.
The Ubuntu VM will act as a DHCP server for the two VLANs (everything is set up with isc-dhcp-server). I also did all the necessary configuration on Ubuntu for the VLANs i.e. creating the VLANs, configuring IP addresses etc...
On Virtual Box, I only have one virtual adapter configured in bridged mode and using the Realtek NIC.
When I run Wireshark on Ubuntu to capture traffic, I don't see any incoming traffic for the VLANs.
Any idea what is wrong?