Configuring a vlan on a physical interface

Hi all

I configured vmbr0 on my physical interface enp2s0, assigned 172.16.10.51 to it with gateway 172.16.10.1
I have a vlan30, 172.16.30.0/24, the pmox1 node us suppose to push inter node cluster traffic over this vlan.

How would I configure this, create a vlan ? create a vlan and assign the vmbr0 as the raw device and specify 30 as my vlan id ?

G
 
guess since I've opened the door, I've configured a vmbr40 on top of enp4s0f0, which is a 10GbE Fibre based trunk.
I've not assigned a ip to it as the node itself won't use this, it's to be used by guestvm's... but i still "reserved" 172.16.40.51 for it...
I'd likewise like to ensure all vlan40/vmbr40 uses a specific 172.16.40.1 gw.


My TrueNAS sits on 1172.16.40.24, which houses my NFS store. I've had major instability with my pmox1 node accessing this volume... and wonder if i was to assign pmox1 a actual ip might it make things more stable....

G