issue with tinc and libvirt / Network is already in use by interface tun0

Guus Sliepen guus at tinc-vpn.org
Fri Mar 4 09:47:08 CET 2016


On Thu, Mar 03, 2016 at 11:19:10PM +0100, SHAD0WRUNNER at gmx.de wrote:

> I have tinc up and running on a kvm/libvirt host. libvirt creates a bridge and
> assigns ip to this bridge, for instance 192.168.1.1. All guests have an
> ip within 192.168.1.0/24. I want to access the guests in this
> libvirt network with tinc from the internet via the host.
[...]
> and tinc.conf like this
[...]
> Interface = tun0
> 
> Every thing works fine until I reboot the host.
> 
> Then I get the following error from libvirt "Network is already in use
> by interface tun0" and libvirt does not start the network.

If libvirt wants to use "tun0" as an interface, then just have tinc use
a different name for its interface. Change "Interface = tun0" to
something else, or you can leave it out entirely, in which case tinc
names its interface the same as the netname you specify with the -n
option.

-- 
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/20160304/b39ea789/attachment.sig>


More information about the tinc mailing list