Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2024 23:45:07 +0100
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        virtualization@freebsd.org
Subject:   Re: Tap device problem on FreeBSD 14.2-RELEASE
Message-ID:  <Z1TP8-V3yceP-Xit@mail.bsd4all.net>
In-Reply-To: <0fc1d487-b254-4c64-9db1-a982169924e4@acm.org>
References:  <0fc1d487-b254-4c64-9db1-a982169924e4@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 07, 2024 at 04:37:31PM -0500, Thomas Laus wrote:
> I used FreeBSD-update to go from 14.1-RELEASE to 14.2-RELEASE and there is
> an issue with creating and using the tap device.  The device doesn't get
> created during the boot process and can't be created or used after the
> system is up.  The UPDATING file has just one entry concerning the tap
> device and that is change the 'tap' name in all configuration files with
> 'tuntap'. I did that and get an invalid device reply.  I installed the
> latest package for vm-bhyve which did not make any difference.  I also
> deleted /usr/obj/* and checked out a fresh /usr/src and rebuilt
> FreeBSD-14.2-RELEASE from source without anything working differently.

I guess you are misreading UPDATING (20190507?).

"device tuntap" is included in GENERIC since 251a32b5b2bab (2019!). 

So this entry is not relevant for the 14.1-RELEASE to 14.2-RELEASE
update.

What files have you modified?

> If anyone has a working tap device using FreeBSD 14.2-RELEASE, I would
> appreciate you sharing your bhyve portions of /etc/rc.conf, /etc/sysctl.conf
> and /boot/loader.conf files.

You should be able to create tun/tap interfaces with "ifconfig tun0
create" or "ifconfig tap0 create". What error do you get?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z1TP8-V3yceP-Xit>