live migration on a vlan bridge

lordhanuman

Renowned Member
Jan 2, 2010
60
0
71
hi all
i have succesfulli configurated proxmox in ha with dbdb and cluster,
i have 2 bridge one on the eth0 and the other in the eth0.2150 ( vlan 2150), it's all ok but after live migration is not possibile to ping the guest os, and the guest os not ping the network

this is the configuration of the 2 nodes
thanks

node 1
# network interface settings
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual

auto eth0.2150


auto vmbr0
iface vmbr0 inet static
address 188.165.220.135
netmask 255.255.255.0
gateway 188.165.220.254
broadcast 188.165.220.255
bridge_ports eth0
bridge_stp off
bridge_fd 0
network 188.165.220.0

auto vmbr1
iface vmbr1 inet manual
bridge_ports dummy0
bridge_stp off
bridge_fd 0
post-up /etc/pve/kvm-networking.sh

auto vmbr2
iface vmbr2 inet static
address 10.0.0.1
netmask 255.255.255.248
bridge_ports eth0.2150
bridge_stp off
bridge_fd 0


node 2
# network interface settings
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual

auto eth0.2150
iface eth0.2150 inet manual


auto vmbr0
iface vmbr0 inet static
address 188.165.220.133
netmask 255.255.255.0
gateway 188.165.220.254
broadcast 188.165.220.255
bridge_ports eth0
bridge_stp off
bridge_fd 0
network 188.165.220.0

auto vmbr1
iface vmbr1 inet manual
bridge_ports dummy0
bridge_stp off
bridge_fd 0
post-up /etc/pve/kvm-networking.sh

auto vmbr2
iface vmbr2 inet static
address 10.0.0.2
netmask 255.255.255.248
bridge_ports eth0.2150
bridge_stp off
bridge_fd 0
 
thak you
but i have tried with tcpdump un the interface vmbr2 but i view only the ack request for drbd, and this debug in the live migration

oui Unknown) > Broadcast, ethertype Unknown (0x0835), length 60:
0x0000: 0001 0800 0604 0003 f2b5 4175 d447 0000 ..........Au.G..
0x0010: 0000 f2b5 4175 d447 0000 0000 0000 0000 ....Au.G........
0x0020: 0000 0000 0000 0000 0000 0000 0000 ..............
09:26:20.728709 f2:b5:41:75:d4:47 (oui Unknown) > Broadcast, ethertype Unknown (0x0835), length 60:
0x0000: 0001 0800 0604 0003 f2b5 4175 d447 0000 ..........Au.G..
0x0010: 0000 f2b5 4175 d447 0000 0000 0000 0000 ....Au.G........
0x0020: 0000 0000 0000 0000 0000 0000 0000 ..

i have tried to change setting of bridge in the second node, but the vmachines, later the migration, if i reboot the second node run!!
but later the other migration do not run...
thank
 
Hi,
can the guest reach the network if you start the vm on node2 (no life-migration)?
Has the client more than one NIC? Or only eth0 (-> vmbr2 -> eth0.2150)?

node2 can ping 10.0.0.1?

Which ip-adress use the guest?

Udo
 
node 1 have eth0-->vmbr0 ( public ip) 188.x.x.x/24 eth0--> eth0.2150--> vmbr2 10.0.0.1/28
node 2 have etho-->vmbr0 ( public ip ) 188.x.x.x/24 etho--> eth0.2150--> vmbr2 10.0.0.2/28
in this vlan 2150 ther is one block ripe/28 (guests ip block)
the 10.0.0.1 ping 10.0.0.2
but for example i create a kvm machine in the node 2 run but if i migrate in the node 1, not ping the network
for the node 1 it's the same, if i create one vmachine in the node 1 and i migrate in the node 2 not ping the network
there machines in hosted in ovh, i have tried to shutdown on vmachine and migrate but is the same
sorry for my orrible english
thank
Daniele
 
And OVH has special config at switches to avoid mac spoofing - not sure if that can be a problem.
 
i have tried to migrate and demove and add new ethernet adapter with an other mac address.. and run..!! is layer 2 protection on vlan....
if i can solve i post here the solution....