Re: Can my bhyve virtual machine get a dhcp request out of the local host?

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Wed, 10 May 2023 17:02:30 UTC
On 2023-05-10 09:53, Steven Friedrich wrote:
> Or do I have to enable a dhcp server on the local host?  Can I just 
> manually set an ip adx?  My Netgear router runs a dhcp server for my 
> network.  Perhaps the host machine is not passing the dhcp broadcasts 
> to the network?

I have been able to get DHCP in bhyve working fine. Perhaps your Netgear 
router is filtering bridged requests.

Can you look into say a pfSense/OPNsense box as your border router, and 
turn your Netgear into an AP?

> Inside my vm, my vtnet0 can't get an ip adx.  Will the host pass a dhcp 
> request to it's gateway?

Can you try a static IP in the same subnet as your DHCP?

-Neel