Hi! First post here. I did a lot of research before asking.
I have a single node Proxmox host using a vlan aware bridge. The switches are properly configured.
I can install Debian using the ISO and configure a single virtual interface linked to vmbr0 on the host and manage multiple vlan on the single vif of the VM. That works well.
But, I am unable to do the same using the Debian cloud-image.
I use the `qm` CLI tool.
First, I create the network interface with `qm create --net0 virtio,bridge=vmbr0,trunks=10;20`.
Then, how am I supposed to configure the different VLANs on the net0 interface? I tried `qm set --ipconfig0 ip=dhcp`, but that doesn't work.
Is there a way to do the equivalent of `qm set --ipconfig0.10...` and `qm set --ipconfig0.20`?
Is it best practice to create one virtual interface per vlan?
Thanks !
I have a single node Proxmox host using a vlan aware bridge. The switches are properly configured.
I can install Debian using the ISO and configure a single virtual interface linked to vmbr0 on the host and manage multiple vlan on the single vif of the VM. That works well.
But, I am unable to do the same using the Debian cloud-image.
I use the `qm` CLI tool.
First, I create the network interface with `qm create --net0 virtio,bridge=vmbr0,trunks=10;20`.
Then, how am I supposed to configure the different VLANs on the net0 interface? I tried `qm set --ipconfig0 ip=dhcp`, but that doesn't work.
Is there a way to do the equivalent of `qm set --ipconfig0.10...` and `qm set --ipconfig0.20`?
Is it best practice to create one virtual interface per vlan?
Thanks !