Hi there.
Currently, I have the following VLAN configuration in 2 PVE server:
auto eno1
iface eno1 inet manual
auto eno1.221
iface eno1.221 inet manual
auto eno1.223
iface eno1.223 inet manual
auto eno1.225
iface eno1.225 inet manual
auto eno1.226
iface eno1.226 inet manual
auto eno1.227
iface eno1.227 inet manual
auto eno1.229
iface eno1.229 inet manual
auto eno1.230
iface eno1.230 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vmbr0v221
iface vmbr0v221 inet manual
bridge-ports eno1.221
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v223
iface vmbr0v223 inet manual
bridge-ports eno1.223
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v225
iface vmbr0v225 inet manual
bridge-ports eno1.225
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v226
iface vmbr0v226 inet manual
bridge-ports eno1.226
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v227
iface vmbr0v227 inet manual
bridge-ports eno1.227
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v229
iface vmbr0v229 inet static
address 10.22.21.21/25
gateway 10.22.21.1
bridge-ports eno1.229
bridge-stp off
bridge-fd 0
auto vmbr0v230
iface vmbr0v230 inet manual
bridge-ports eno1.230
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
All this VLAN can communicate with a gateway and to other hosts inside the VLAN, 227 for instance.
I have to do that in every single host, which, for now, is just 2 but we have plans to add more node as we go!
So I'd like to that in a cluster level.
How can I achieve this?
Thanks a lot.
Currently, I have the following VLAN configuration in 2 PVE server:
auto eno1
iface eno1 inet manual
auto eno1.221
iface eno1.221 inet manual
auto eno1.223
iface eno1.223 inet manual
auto eno1.225
iface eno1.225 inet manual
auto eno1.226
iface eno1.226 inet manual
auto eno1.227
iface eno1.227 inet manual
auto eno1.229
iface eno1.229 inet manual
auto eno1.230
iface eno1.230 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vmbr0v221
iface vmbr0v221 inet manual
bridge-ports eno1.221
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v223
iface vmbr0v223 inet manual
bridge-ports eno1.223
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v225
iface vmbr0v225 inet manual
bridge-ports eno1.225
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v226
iface vmbr0v226 inet manual
bridge-ports eno1.226
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v227
iface vmbr0v227 inet manual
bridge-ports eno1.227
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0v229
iface vmbr0v229 inet static
address 10.22.21.21/25
gateway 10.22.21.1
bridge-ports eno1.229
bridge-stp off
bridge-fd 0
auto vmbr0v230
iface vmbr0v230 inet manual
bridge-ports eno1.230
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
All this VLAN can communicate with a gateway and to other hosts inside the VLAN, 227 for instance.
I have to do that in every single host, which, for now, is just 2 but we have plans to add more node as we go!
So I'd like to that in a cluster level.
How can I achieve this?
Thanks a lot.