Hi all,
I need some help getting my network configuration setup correctly, please. Below is my current setup which is working.
I have started making use of VLANs and I have set all my virtual machines to VLAN 10 in their network configuration. This is working, in that they are getting assigned addresses on the correct VLAN, but I am having some issues access web interfaces on those virtual machines now. I do also want my PVE node to be VLAN 10 but I can't see a way to do that from the UI. I am wondering if this may be part of my problem.
I currently have 2x 10Gb fibre connections running as a bond. The interface is VLAN aware so I can set the VLANs on the individual virtual machines but how I can set the VLAN of PVE to VLAN 10 and assign the static address 192.168.10.229?
I have tried a few things from the docs, modifying /etc/network/interfaces but couldn't get it to work. My particular scenario doesn't seem to be covered in the examples. VLAN with bond for PVE management IP with VLAN aware Linux bridge.
Any help would be greatly appreciated.
Thanks,
FS
I need some help getting my network configuration setup correctly, please. Below is my current setup which is working.
I have started making use of VLANs and I have set all my virtual machines to VLAN 10 in their network configuration. This is working, in that they are getting assigned addresses on the correct VLAN, but I am having some issues access web interfaces on those virtual machines now. I do also want my PVE node to be VLAN 10 but I can't see a way to do that from the UI. I am wondering if this may be part of my problem.
I currently have 2x 10Gb fibre connections running as a bond. The interface is VLAN aware so I can set the VLANs on the individual virtual machines but how I can set the VLAN of PVE to VLAN 10 and assign the static address 192.168.10.229?
I have tried a few things from the docs, modifying /etc/network/interfaces but couldn't get it to work. My particular scenario doesn't seem to be covered in the examples. VLAN with bond for PVE management IP with VLAN aware Linux bridge.
Code:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
auto eno2
iface eno2 inet manual
auto enp185s0f0
iface enp185s0f0 inet manual
auto enp185s0f1
iface enp185s0f1 inet manual
auto enp100s0f0
iface enp100s0f0 inet manual
auto enp100s0f1
iface enp100s0f1 inet manual
auto bond0
iface bond0 inet manual
bond-slaves enp100s0f0 enp100s0f1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto vmbr0
iface vmbr0 inet static
address 192.168.1.229/24
gateway 192.168.1.1
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
Any help would be greatly appreciated.
Thanks,
FS