Re: Tap device problem on FreeBSD 14.2-RELEASE

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Sat, 07 Dec 2024 22:45:07 UTC
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?