Settings in host
Config VM
In VM (ubuntu 24.04)
From the virtual machine, ping to the gateway (10.12.2.1 and 10.12.4.1) goes without losses
from the host to the gateway there are no responses
there is no connection between the virtual machine and the host either
Code:
auto vmbr1
iface vmbr1 inet manual
bridge-ports enp4s0f1
bridge-stp off
bridge-fd 0
auto vmbr10
iface vmbr10 inet static
address 10.12.12.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr1.20
iface vmbr1.20 inet static
address 10.12.2.10/23
auto vmbr1.40
iface vmbr1.40 inet static
address 10.12.4.10/23
Config VM
Code:
# cat /etc/pve/qemu-server/100.conf|grep net
boot: order=scsi0;ide2;net0
net0: virtio=BC:24:11:37:0A:B5,bridge=vmbr0
net1: virtio=BC:24:11:28:E7:4E,bridge=vmbr1,tag=20
net2: virtio=BC:24:11:1A:59:B3,bridge=vmbr1,tag=40
In VM (ubuntu 24.04)
Code:
# cat /etc/netplan/50-cloud-init.yaml |grep -v "^#\|^$"
network:
ethernets:
ens19:
dhcp4: false
dhcp6: false
addresses: [10.12.2.9/23]
ens20:
dhcp4: false
dhcp6: false
addresses: [10.12.4.9/23]
version: 2
From the virtual machine, ping to the gateway (10.12.2.1 and 10.12.4.1) goes without losses
from the host to the gateway there are no responses
there is no connection between the virtual machine and the host either