From nobody Thu May 11 00:20:48 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 4QGsxb4nLyz4BZyX for ; Thu, 11 May 2023 00:20:51 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 4QGsxZ5mHgz3pgx for ; Thu, 11 May 2023 00:20:50 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=kju1RuDQ; spf=pass (mx1.freebsd.org: domain of freebsdlouisville@gmail.com designates 2607:f8b0:4864:20::82e as permitted sender) smtp.mailfrom=freebsdlouisville@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-3f392680773so21086241cf.0 for ; Wed, 10 May 2023 17:20:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683764450; x=1686356450; h=content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=NzIKUVKhRjw3DrHC+uNJaJNVFyjl9lvxBHN9P5ashVs=; b=kju1RuDQvTDO64wo394VHsx7xTuy+4vUh6xIFooL1p0Snj1xZr38JhRciboXvV5nSF 3SoL3dmFCveerDm7gcihb+I5pwDLN310uRYIhdC9rvHzWgxaXHHEYWAEprBY+VtQiujj rpk8c48Ql+uHLKdaYQpkoI1aN9Qlu7ZZ4CvhnVcWXv/TJNcMuGD75Ha5ueDfy0T2wiO8 wSpxVWLHMINXpWBAU5n+zmWy3HYu+YNlHnI/xgBt0EnVo8fKSZPAsTTVwlUNKG4VKQW8 u74RMYsgLd7OJ3boYGMQX1FKrOfwuX5mO7UG3dlP6J5hJQSHhBTeyxHsMyZfV/mrpCYT B3HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683764450; x=1686356450; h=content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NzIKUVKhRjw3DrHC+uNJaJNVFyjl9lvxBHN9P5ashVs=; b=aVf/7CLXGM2y6/rw+3OQ+CR5ZhSdGUVIEkX47BckMyPIF+Bkcwr3wETivd7oexqRhI t2Sc1E9WdXFdgu/WkoXFNbjzpHWLZvff8rjPzbae9KJfF1aKcGn/nJFkcLH77rZK9fun grd+xL0X2cj0Kr7RV1uc/dqamc5txchRsK1IlPXB0R5rG8nvLc073YtIRUis+yPRR/+5 NYsqzXR5eGXMCL/xI6eqk1XHWsykOuhmRS4tokkP9k00Ph/j3xux/VfQ2cBystRONlkG xRBUnP8AMqVh9P7N6ptHaIm3K2NVXdP47Txbh3MMBzsisQr2p7sFFtKfW7MzmcBcKMuI 0SNg== X-Gm-Message-State: AC+VfDxnX7FPDS9JJPHwq7va0WGWWftW7NMusWUdeZyEAt9ERS5w8Epi 3DuJA+KxzBZA8MT3DSI3xRwOn/XSDRcalQ== X-Google-Smtp-Source: ACHHUZ4t2F57B4Lsruvbr534IPJEcsv16Z/tTtBf52VBN/xCArRuzD7gRKd3/ydY8Twy9TwA8O2+EA== X-Received: by 2002:ac8:5e50:0:b0:3ef:37d5:49e0 with SMTP id i16-20020ac85e50000000b003ef37d549e0mr27488240qtx.21.1683764449818; Wed, 10 May 2023 17:20:49 -0700 (PDT) Received: from [192.168.2.10] ([162.154.243.45]) by smtp.gmail.com with ESMTPSA id q3-20020ae9e403000000b0074df3f7e14esm4286835qkc.67.2023.05.10.17.20.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 May 2023 17:20:49 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Message-ID: <2dc3f36f-9ae0-282a-cdf6-a40d69e7de48@Gmail.com> Date: Wed, 10 May 2023 20:20:48 -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 Content-Language: en-US To: FreeBSD Questions Mailing List Subject: network config for host-guest Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.953]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82e:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org] X-Rspamd-Queue-Id: 4QGsxZ5mHgz3pgx X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N I am struggling to understand how to configure the host and guest. I keep reading the vm man page, but it's not clear to me.  It said I should add an ip adx to my switch (public).  So here is the output from ifconfig on my host: re0: flags=8943 metric 0 mtu 1500  options=82099     ether 10:62:e5:02:ef:45     inet 192.168.2.9 netmask 0xffffff00 broadcast 192.168.2.255     media: Ethernet autoselect (1000baseT )     status: active     nd6 options=29 lo0: flags=8049 metric 0 mtu 16384  options=680003     inet6 ::1 prefixlen 128     inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2     inet 127.0.0.1 netmask 0xff000000     groups: lo     nd6 options=21 vm-public: flags=8843 metric 0 mtu 1500     ether 56:5f:80:13:f3:f6     inet 192.168.2.250 netmask 0xffffff00 broadcast 192.168.2.255     id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15     maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200     root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0     member: tap0 flags=143             ifmaxaddr 0 port 4 priority 128 path cost 2000000     member: re0 flags=143             ifmaxaddr 0 port 1 priority 128 path cost 20000     groups: bridge vm-switch viid-4c918@     nd6 options=9 tap0: flags=8943 metric 0 mtu 1500     description: vmnet/freebsd13/0/public     options=80000     ether 58:9c:fc:10:ff:bb     groups: tap vm-port     media: Ethernet autoselect     status: active     nd6 options=29     Opened by PID 76386 So my vm-public has adx 192.168.2.250 then I connect to the vm with: vm connect freebsd13 the bsdinstall is running, asking me if I want to install, want a shell, or live I select shell, and invoke ifconfig. But vtnet0 doesn't have an ip adx.  What am I doing wrong? -- FreeBSD freebsd.friedrich.org 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64