Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 13:37:55 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        "C. L. Martinez" <carlopmart@gmail.com>, freebsd-virtualization@freebsd.org
Subject:   Re: tap interfaces disappears after bhyve guests shutdowns
Message-ID:  <58A1A8A3.3030603@quip.cz>
In-Reply-To: <20170213120938.hr3zu7flnm33v3zn@scotland.uxdom.org>
References:  <20170213120938.hr3zu7flnm33v3zn@scotland.uxdom.org>

next in thread | previous in thread | raw e-mail | index | archive | help
C. L. Martinez wrote on 2017/02/13 13:09:

>   Why when a bhyve guest shutdowns or reboot tap interfaces goes down and lost IP assigned address?. I need to use same tap interface for several guests and assign an IP to this tap interface to act as a router for these guests.
>
>   How can I do a "persistent tap" interface??

I think you need this sysctl:

# sysctl -d net.link.tap.up_on_open
net.link.tap.up_on_open: Bring interface up when /dev/tap is opened



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58A1A8A3.3030603>