Tinc & moving VMs accross network

Guus Sliepen guus at tinc-vpn.org
Tue Dec 8 00:12:15 CET 2015


On Mon, Dec 07, 2015 at 07:32:58PM +0000, Etienne Dechamps wrote:

> > When I move (hot move) a VM from a host to another, I have to restart
> > Tinc on node from where VM is coming to get access to that VM again.
> 
> I don't use tinc in Switch mode, but looking at the code (especially
> the learn_mac() function) it looks like tinc is not really able to
> migrate MAC addresses from one node to another in the way you'd
> expect. It will add the MAC address to the new node, but will not
> remove it from the other.

It actually does, search for the comment "Fast handoff" in
protocol_subnet.c. It should cause the old MAC entry to be removed in at
most PingTimeout (which defaults to 5) seconds.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20151208/8a3852a8/attachment.sig>


More information about the tinc mailing list