Incorrect network interfaces

volga629

Member
May 11, 2022
27
0
6
Hello Everyone,
Proxmxox 8.3 experience issue with network interface are set incorrectly when VM is migrated from one node to another.
Instead insert tap interface into the bridge it creates sub interfaces which is not corresponding to any config,

There are no such sub interfaces on bond0
Or creates another bridges vmbr2v8 vmbr2v990

brctl show

Code:
vmbr2        8000.98f2b3d2c850    no        bond0
vmbr2v8        8000.98f2b3d2c850    no        bond0.8
                            tap118i2
vmbr2v990        8000.98f2b3d2c850    no        bond0.990
                            tap118i0

Here are DMESG example


Code:
[19390.602463] tap118i0: entered promiscuous mode
[19390.662642] vmbr2v990: port 1(bond0.990) entered blocking state
[19390.662652] vmbr2v990: port 1(bond0.990) entered disabled state
[19390.662688] bond0.990: entered allmulticast mode
[19390.662749] bond0.990: entered promiscuous mode
[19390.669167] vmbr2v990: port 1(bond0.990) entered blocking state
[19390.669172] vmbr2v990: port 1(bond0.990) entered forwarding state
[19390.678719] vmbr2v990: port 2(tap118i0) entered blocking state
[19390.678730] vmbr2v990: port 2(tap118i0) entered disabled state
[19390.678747] tap118i0: entered allmulticast mode
[19390.678840] vmbr2v990: port 2(tap118i0) entered blocking state
[19390.678844] vmbr2v990: port 2(tap118i0) entered forwarding state



Any help thank you.
 
How does the network configuration look like on both the source and target host?
Code:
cat /etc/network/interfaces

How does the VM config look like?
Code:
qm config <vmid>

How does the resulting configuration on the target host look like after migrating?
Code:
ip a
 
Thank you for you reply,
Issue is been resolved

That might feature request to Proxmox


Bridge vmbr2 configuration was missing


Code:
    bridge-vlan-aware yes
    bridge-vids 2-4094


The whole config

Code:
auto vmbr2
iface vmbr2 inet manual
    bridge-ports bond0
    bridge-stp off
    bridge-vlan-aware yes
    bridge-vids 2-4094
    bridge-fd 0
    mtu 9000

where attached tap interfaces is tagged with specific VLAN id.

But here are the catch

Linux bridge without any VLAN filtering is acting as trunk, no any filtering is required, that mean and sub interfaces marked with VID x should be inserted without issues.


I tried to migrate vm few time back and fourth and everything is good with settings above ( might good recipe to reproduce it ).