From nobody Wed May 10 17:02:30 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QGhCv4SC0z4B8ch for ; Wed, 10 May 2023 17:02:35 +0000 (UTC) (envelope-from nc@FreeBSD.org) Received: from alfie.neelc.org (alfie.neelc.org [IPv6:2001:19f0:8001:12b6:5400:4ff:fe5b:aa65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QGhCv2RtGz4DT5 for ; Wed, 10 May 2023 17:02:35 +0000 (UTC) (envelope-from nc@FreeBSD.org) Authentication-Results: mx1.freebsd.org; none Received: from mail.neelc.org (alfie.neelc.org [IPv6:2001:19f0:8001:12b6:5400:4ff:fe5b:aa65]) by alfie.neelc.org (Postfix) with ESMTPSA id CF3134B241; Wed, 10 May 2023 10:02:30 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Date: Wed, 10 May 2023 10:02:30 -0700 From: Neel Chauhan To: Steven Friedrich Cc: FreeBSD Questions Mailing List Subject: Re: Can my bhyve virtual machine get a dhcp request out of the local host? In-Reply-To: <3878ea2b-4de5-fd92-75a4-de0df4b32578@Gmail.com> References: <3878ea2b-4de5-fd92-75a4-de0df4b32578@Gmail.com> Message-ID: <7ac19693a577585d904d57ac56634030@FreeBSD.org> X-Sender: nc@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4QGhCv2RtGz4DT5 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:8000::/38, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N 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