From nobody Thu May 11 07:22:52 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 4QH3JZ52psz49r9w for ; Thu, 11 May 2023 07:22:54 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QH3JZ2k6Bz3JgL for ; Thu, 11 May 2023 07:22:54 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf2e.google.com with SMTP id 6a1803df08f44-61a9bb1b3a0so39327506d6.1 for ; Thu, 11 May 2023 00:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683789773; x=1686381773; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=05URPGQ7OlFQCHaEZZWJhDRl9wgdEFgWYgaNctG4TT4=; b=K+9I7ulwS782DIERiMZ3DQpkGUWrk92ZZg8qXKm2rzigNC6b4/+/jGndLPPq/jcImg sGVit+eUpJQGkvYDftKOZl+jmTDTsSrDcLgeoAm8m4R+X1GUjDY4IB4tVcywkACvkqAJ UUuuQzYlKECFEHjDmED6E5jOYIfY9//WXOK+KIjW688WOGnO4QCHsZgM6MlqAj/PF+mu K6UHa24vrI/2XbQYl85cmtKqdBKvgtFENXFlvJhE18Jqj1WaS5tBCxvufsZPa+RhgurY 3jJ0h6LJpqfGPf5Fvk5vBiIZmbEnAdPbbnjwNo/cMI0aDL05uBzh+QyHs6fBPdImisdv RAwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683789773; x=1686381773; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=05URPGQ7OlFQCHaEZZWJhDRl9wgdEFgWYgaNctG4TT4=; b=XBO7QEQGI5jjTQQ3anNJHAJDquXipi0NC0uv4kc3ooKwBV1RnMMqrldpa2rjvt+ZbO c7SQCt8CuHue0aVz0V8kdRX6zc1RRtmNyU750Y7BtoegQ8achL2HYq+3BzYDUbtf9jKa /dyduD18w0dRggP0iMuDG7V8mjbTG77RIZ0sFB80ULsbzQIs02tJDzbIbbcfw8Qa0VbW 7verFKigi+eRJyriydaJ2HLpKpgiaGS1BJTOPlcFpyHFw1QJd2GVFU4QvRasprj9TYFA /RzlThIc2J2VuDDYAHnNzTc4GtkWFgSSQE9xj7lI0NPNMlRMSrBlybisE5McU6jRE9hZ mhhg== X-Gm-Message-State: AC+VfDxpcLwSVS5qA4QyxD/fRqft/87TyjUjYJM5LdaTO24Ir3Z5Nz2X f/WESbRXHNQhE5rr1xg7+d4DWOBmp2WJyg== X-Google-Smtp-Source: ACHHUZ7VVFpeXGpX+jDQsuJr0h+FU/7ZFfYimziwkQgP54M7rtbvc3n9gcK4d8S54uL+uDs/NRaosg== X-Received: by 2002:a05:6214:2aa5:b0:5ee:b788:2f48 with SMTP id js5-20020a0562142aa500b005eeb7882f48mr28792898qvb.31.1683789773582; Thu, 11 May 2023 00:22:53 -0700 (PDT) Received: from [192.168.2.10] ([162.154.243.45]) by smtp.gmail.com with ESMTPSA id e5-20020a05620a12c500b0074e389245e6sm2226767qkl.41.2023.05.11.00.22.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 00:22:53 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Message-ID: <4c354198-d4f2-b052-2826-57967c44b1fe@Gmail.com> Date: Thu, 11 May 2023 03:22:52 -0400 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: [SOLVED] Re: Can my bhyve virtual machine get a dhcp request out of the local host? Content-Language: en-US To: Olivier Cc: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4QH3JZ2k6Bz3JgL X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 5/10/23 9:18 PM, Olivier wrote: > Steven Friedrich 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