I've got a Proxmox 8.2-2 cluster using OvS for networking:
So the Proxmox Host is reachable via 172.18.0.13 with vlan1 interface that's connected to vmbr0. Works as expected, gateway 172.18.0.1 is reachable. Same with the other 2 Proxmox Hosts using IPs 172.18.0.11 and 172.18.0.12.
Now I created a VM and attached the VM network to vmbr0 and tagged it with ID 1.
The VM network interface is configured with IP 172.18.0.51/24. It can't reach the gateway 172.18.0.1 but the Proxmox' Host IPs 172.18.0.11-172.18.0.13.
Can someone tell me what I'm missing here?
Code:
auto lo
iface lo inet loopback
auto enp2s0f0np0
iface enp2s0f0np0 inet manual
mtu 9000
auto enp2s0f1np1
iface enp2s0f1np1 inet manual
mtu 9000
auto vlan1
iface vlan1 inet static
address 172.18.0.13/24
gateway 172.18.0.1
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_mtu 1500
ovs_options tag=1
auto vlan10
iface vlan10 inet static
address 172.18.10.13/24
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_mtu 1500
ovs_options tag=10
auto vlan13
iface vlan13 inet static
address 172.18.13.13/24
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=13
auto bond0
iface bond0 inet manual
ovs_bonds enp2s0f0np0 enp2s0f1np1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_mtu 9000
ovs_options other_config:lacp-time=fast lacp=active bond_mode=balance-tcp
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan1 vlan10 vlan13
ovs_mtu 9000
So the Proxmox Host is reachable via 172.18.0.13 with vlan1 interface that's connected to vmbr0. Works as expected, gateway 172.18.0.1 is reachable. Same with the other 2 Proxmox Hosts using IPs 172.18.0.11 and 172.18.0.12.
Now I created a VM and attached the VM network to vmbr0 and tagged it with ID 1.
Code:
# cat 101.conf
affinity: 6-13
agent: 1
balloon: 0
bios: ovmf
boot: order=scsi0;net0
cores: 2
cpu: host
efidisk0: T1:vm-101-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
machine: q35
memory: 4096
meta: creation-qemu=8.1.5,ctime=1714031434
name: test-1
net0: virtio=BC:24:11:D7:D9:DC,bridge=vmbr0,tag=1
numa: 1
ostype: l26
scsi0: T1:vm-101-disk-1,iothread=1,size=32G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=3949937a-ecd1-4810-b9c7-6e7fc8fb1f6c
sockets: 1
vmgenid: f27fd578-014e-4571-82a8-6cb8c9bfb183
The VM network interface is configured with IP 172.18.0.51/24. It can't reach the gateway 172.18.0.1 but the Proxmox' Host IPs 172.18.0.11-172.18.0.13.
Can someone tell me what I'm missing here?
Last edited: