refresh the arp cache after a online migration ?

seba

New Member
Oct 29, 2012
5
0
1
french
Hello,
I have a cluster with 3 nodes and shared storage via NFS under Proxmox 2.2
After making an online migration of a VM, it takes about 3 minutes to make it visible again on the local network

On node N1 I have the VM 100
I migrated to N2 via the web interface
since N2
ping vm100_ip => it's ok
tcpdump -i vmbr0 icmp => no ICMP from or for vm100_ip

since N1
ping vm100_ip => No answer
tcpdump -i vmbr0 icmp => always get the "ICMP echo request"

How to empty the ARP cache?
the switch are cisco

I do not come in with arcping
http://www.ducea.com/2009/03/06/how...-refresh-their-arp-cache-entry-for-a-machine/

Thanks,Seba.
 
hi dietmar,

thank you for your return
Seba

root@n1:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback


auto vmbr0
iface vmbr0 inet static
address 192.168.86.91
netmask 255.255.255.0
gateway 192.168.86.2
bridge_ports eth0
bridge_stp off
bridge_fd 0


auto vmbr1
iface vmbr1 inet static
address 10.10.11.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.11.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.11.0/24' -o vmbr0 -j MASQUERADE

root@n1:~# pveversion
pve-manager/2.2/7f9cfa4c
 
hi dietmar,
thank you for your return, the problem was solved;)

The network engineer at my work had configured the switches with dynamic assignment of VLANs based on the MAC address.
The problem is solved since the switch ports have been manually assigned to VLAN good.
Seba.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!