Skip to main content
2 of 3
added 87 characters in body
Sebastian
  • 558
  • 4
  • 11

First you have to use 802.1q trunking on the switchport:

switchport trunk encapsulation dot1q
(switchport trunk native vlan 1)
switchport trunk allowed vlan 2-4094
switchport mode trunk

Then you have to configure your NIC to recognize and send tagged packets. On some Broadcom NICs for example you can do this with a windows utility. With Linux you can configure the kernel to support 802.1q and create virtual NICs for each vlan. Can you give some more details about what you want to achieve and what OS?

Sebastian
  • 558
  • 4
  • 11