[SOLVED] Re: Can my bhyve virtual machine get a dhcp request out of the local host?
- In reply to: Olivier : "Re: Can my bhyve virtual machine get a dhcp request out of the local host?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 May 2023 07:22:52 UTC
On 5/10/23 9:18 PM, Olivier wrote: > Steven Friedrich <freebsdlouisville@gmail.com> writes: > >> 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? > 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 Thank you so much, Oliver. You added to my knowledge of TCP/IP. I saw the dhcp requests and realized my Netgear router has Access Control, and I configure it to block unknown devices, until I enable them specifically. I enabled the new device and bada-bing, My guest got a address from my router. Mystery solved. Again, thank you so much. -- FreeBSD freebsd.friedrich.org 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64