[Users] Arp update / sendarp in case of machine movement ?

Christian ch at zeha.at
Tue Jul 14 17:53:38 EDT 2009



On 14.07.2009, at 11:33, "Robert Heinzmann"  
<Robert.Heinzmann at 1und1.de> wrote:

> Hello,
>
> I have a question regarding ARP updates.
>
> Network Setup: venet with proxy arp.
>
> When movin a VE from one host to another (via DRBD: node1:shutdown,
> switch drbd , node2:start) the IP/MAC combination needs to be
> re-advertised so that the ARP caches are flushed. This can be done  
> with
> "sendarp". Otherwise the host is not reachable.
>
> Is this integrated into the OpenVZ command utilities ? How can I
> integrate this command that it alsways is running on:
>
> 1) Every VE start
> 2) Every IP add
>
> My Idea:
>
> Custom add_net and vps.mount hook scripts, however because this such a
> general issue, I thing someone already found a elegang solution for  
> this

IIRC this is already implemented in the normal vz instance startup  
scripts. If you do a live migration with custom tools you may need to  
implement this yourself.

-ch



More information about the Users mailing list