Code:
auto lo
iface lo inet loopback
iface eno3 inet manual
iface eno4 inet manual
iface eno1 inet manual
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.34/24
gateway 192.168.1.1
bridge-ports eno3
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.2.34/24
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
I want to use vmbr0 as the management network and vmbr1 as the ceph network,eno1 connects to the trunk port of vlan 2 on the switch with other ceph servers.
I tried to set the gateway for vmbr1, but pve did not allow it. How can ceph servers communicate with each other?