Hello
I run a small home lab with a cluster consisting of two nodes. They are all running on the native vlan 1. already use vlans for my VMs and CTs but I am a bit unsure as to how I can move both cluster nodes to another vlan.
My aim is to move the entire cluster to a vlan 5 from which I will access the GUI and that all migration traffic etc. is handled here.
Below is my current network configuration. I have all four available ethernet ports configured in one single LACP.
https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_vlan_802_1q states that "It is possible to apply VLAN tags to any network device (NIC, Bond, Bridge). In general, you should configure the VLAN on the interface with the least abstraction layers between itself and the physical NIC."
I am unsure how to proceed next. Is it just to add iface bond0.5 inet manual below the bond in my configuration on both nodes or do I need to do more? In the article mentioned above it seems they have to bridges vmbr0v5 and vmbr0 -- what is the difference here?
I am aware that I also need to update the hosts and corosync file as specified in https://forum.proxmox.com/threads/change-cluster-nodes-ip-addresses.33406/
I run a small home lab with a cluster consisting of two nodes. They are all running on the native vlan 1. already use vlans for my VMs and CTs but I am a bit unsure as to how I can move both cluster nodes to another vlan.
My aim is to move the entire cluster to a vlan 5 from which I will access the GUI and that all migration traffic etc. is handled here.
Below is my current network configuration. I have all four available ethernet ports configured in one single LACP.
Code:
auto lo
iface lo inet loopback
auto eno3
iface eno3 inet manual
#10G
auto eno1
iface eno1 inet manual
#1G
auto eno2
iface eno2 inet manual
#1G
auto eno4
iface eno4 inet manual
#10G
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2 eno3 eno4
bond-miimon 100
bond-mode 802.3ad
auto vmbr0
iface vmbr0 inet static
address 172.16.1.10
gateway 172.16.1.1
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#Trunk (LACP)
https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_vlan_802_1q states that "It is possible to apply VLAN tags to any network device (NIC, Bond, Bridge). In general, you should configure the VLAN on the interface with the least abstraction layers between itself and the physical NIC."
I am unsure how to proceed next. Is it just to add iface bond0.5 inet manual below the bond in my configuration on both nodes or do I need to do more? In the article mentioned above it seems they have to bridges vmbr0v5 and vmbr0 -- what is the difference here?
Code:
auto vmbr0v5
iface vmbr0v5 inet static
address 10.10.10.2/24
gateway 10.10.10.1
bridge-ports bond0.5
bridge-stp off
bridge-fd 0
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
I am aware that I also need to update the hosts and corosync file as specified in https://forum.proxmox.com/threads/change-cluster-nodes-ip-addresses.33406/