Let's say for example we have multiple VLANs in our environment to logically segment the traffic.
We need to configure the network interface accordingly as we might need a VM to be VLAN aware.
Before understanding the method to configure this, let us understand the difference between trunk and access modes.
An access port sends and receives untagged frames (i.e. all frames are in the same VLAN)
A trunk port supports tagged frames and thus it allows to switch multiple VLANs.
Do we have a method to configure trunk mode in a NIC
The following article mentions the steps to safely change a NIC mode of a VM to trunk mode.