Pi4 vlans and trunking/tagging them

I have a pi4 with a usb card for wan and eth0 for lan, it works well with this basic config

I want eth0 to work as a trunk port how do I enable 802q.1 to work on eth0

I want to create 3 vlans 10, 20 , 30 each with address 10.10.1.1,10.20.1.1,10.30.1.1 same for gateway

Specify/create interfaces eth0.x with a Static IP configs.

Where x == VLAN

3 Likes