Hello,
I'm trying to migrate an old router from a physical machine to a KVM on a proxmox. There will be two proxmox machines in a cluster-based for high availability.
For the moment I have strange behaviour and I think it's something from the logic that I'm missing from.
I have lots of VLAN that there were added to the proxmox machine on an LACP port, the VLAN's are working great and the virtual machine can route the traffic. The only problem is that the traffic cannot be routed back to the host machine (proxmox) that is hosting the VM and I cannot access it anymore.
Setup:
LACP for Proxmox1 - VLAN 502 for management and others (trunk mode)
LACP for Proxmox2 - VLAN 502 for management and others (trunk mode)
The virtual machine is on Proxmox 2 and the network configuration on the host machine is:
The interface assigned to the router VM is vmbr1.
On the switch, I can see all the 3 mac addresses for vlan502 (proxmox1, proxmox2, router machine).
Nothing is reachable on vlan502, I cannot reach proxmox1, proxmox2. Everything else works fine.
Tcpdump on vmbr0 shows nothing except the arp requests and I can see the arp's from proxmox1-proxmox2, nothing from the VM is visible.
Disabling the VM network interface and activating the old router with vlan502 restores the issue.
Definitely, it's something that the VM from vmbr1 is not communicating back with the network on vlan502 but I cannot understand the logic as also proxmox1 is not responding back.
Is there something that I need to add to vmbr1? Should I add to vmbr0 bridge_ports vmbr1 (not sure if bridge in bridge will work ).
Thanks!
I'm trying to migrate an old router from a physical machine to a KVM on a proxmox. There will be two proxmox machines in a cluster-based for high availability.
For the moment I have strange behaviour and I think it's something from the logic that I'm missing from.
I have lots of VLAN that there were added to the proxmox machine on an LACP port, the VLAN's are working great and the virtual machine can route the traffic. The only problem is that the traffic cannot be routed back to the host machine (proxmox) that is hosting the VM and I cannot access it anymore.
Setup:
LACP for Proxmox1 - VLAN 502 for management and others (trunk mode)
LACP for Proxmox2 - VLAN 502 for management and others (trunk mode)
The virtual machine is on Proxmox 2 and the network configuration on the host machine is:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto bond0
iface bond0 inet manual
slaves eno1 eno2
bond_miimon 100
bond_mode 802.3ad
mtu 9000
auto bond0.502
iface bond0.502 inet manual
vlan_raw_device bond0
mtu 9000
auto vmbr0
iface vmbr0 inet static
address proxmox2_ip/27
gateway the_gateway
bridge_ports bond0.502
bridge_stp off
bridge-vlan-aware yes
bridge_fd 0
mtu 9000
auto vmbr1
iface vmbr1 inet manual
bridge_ports bond0
bridge_stp off
bridge_fd 0
mtu 9000
The interface assigned to the router VM is vmbr1.
On the switch, I can see all the 3 mac addresses for vlan502 (proxmox1, proxmox2, router machine).
Nothing is reachable on vlan502, I cannot reach proxmox1, proxmox2. Everything else works fine.
Tcpdump on vmbr0 shows nothing except the arp requests and I can see the arp's from proxmox1-proxmox2, nothing from the VM is visible.
Disabling the VM network interface and activating the old router with vlan502 restores the issue.
Definitely, it's something that the VM from vmbr1 is not communicating back with the network on vlan502 but I cannot understand the logic as also proxmox1 is not responding back.
Is there something that I need to add to vmbr1? Should I add to vmbr0 bridge_ports vmbr1 (not sure if bridge in bridge will work ).
Thanks!