Dear community,
i´m struggeling quite alot with the correct configuration of vlan, after the installation.
After the installation I have to edit "/etc/network/interfaces" to get that bare metal server to be on VLAN9.
But it seems it does not work like a normal PVE host. I already set it up completly new and lost all my backups. Thats pretty annoying.
After installation it looks like this:
If I make an Linux bridge (VLAN aware) which points to the nic0 and a Linux VLAN which points to this bridge, it does not work. And this is the depressing part.
Can I just put that VLAN9 on that hardware interface nic0? Or do I have to work with linux bridge and linux vlan? But this did not work for me.
I thought this setup will do it, but it´s just not working:
And I want it to just work with VLAN9. It has to send and receive everything with a VLAN9 tag. Nothing else. nic1 is WLAN and not needed, can I comment that out?
I really hope that anyone can help me.
i´m struggeling quite alot with the correct configuration of vlan, after the installation.
After the installation I have to edit "/etc/network/interfaces" to get that bare metal server to be on VLAN9.
But it seems it does not work like a normal PVE host. I already set it up completly new and lost all my backups. Thats pretty annoying.
After installation it looks like this:
Code:
auto lo
iface lo inet loopback
iface nic0 inet manual
iface nic0 inet static
address 192.168.9.20/24
gateway 192.168.9.1
iface nic1 inet manual
If I make an Linux bridge (VLAN aware) which points to the nic0 and a Linux VLAN which points to this bridge, it does not work. And this is the depressing part.
Can I just put that VLAN9 on that hardware interface nic0? Or do I have to work with linux bridge and linux vlan? But this did not work for me.
I thought this setup will do it, but it´s just not working:
Code:
auto lo
iface lo inet loopback
iface nic0 inet manual
iface nic1 inet manual
iface vmbr0 inet static
address 192.168.99.20/24
bridge-ports nic0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#Emergency entry
auto vlan9
iface vlan9 inet static
address 192.168.9.20/24
gateway 192.168.9.1
vlan-raw-device vmbr0
#VLAN9
And I want it to just work with VLAN9. It has to send and receive everything with a VLAN9 tag. Nothing else. nic1 is WLAN and not needed, can I comment that out?
I really hope that anyone can help me.
Last edited: