Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2023 08:18:52 +0700
From:      Olivier <Olivier.Nicole@cs.ait.ac.th>
To:        Steven Friedrich <freebsdlouisville@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can my bhyve virtual machine get a dhcp request out of the local host?
Message-ID:  <wu7y1lvk6mb.fsf@banyan.cs.ait.ac.th>
In-Reply-To: <3878ea2b-4de5-fd92-75a4-de0df4b32578@Gmail.com> (message from Steven Friedrich on Wed, 10 May 2023 12:53:43 -0400)

next in thread | previous in thread | raw e-mail | index | archive | help
Steven Friedrich <freebsdlouisville@gmail.com> writes:

> Or do I have to enable a dhcp server on the local host?=C2=A0 Can I just=
=20
> manually set an ip adx?=C2=A0 My Netgear router runs a dhcp server for my=
=20
> network.=C2=A0 Perhaps the host machine is not passing the dhcp broadcast=
s to=20
> the network?

If your host is passing the dhcp requests correctly, you should see them
exiting the host via the interface re0

A
        tcpdump -i re0 port 67 or port 68
should show such requests.

Eventually, you can run a similar requests on the virtual machine and on
any machine on your LAN. dhcp requests are broadcasted so any device
connected on your LAN would receive them.

You should see the dhcp request packet on the VM and on the host
interfcae re0 at the same time.

Best regards,

Olivier



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