From nobody Sat May 06 21:27:17 2023 X-Original-To: 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 4QDLHD0Mgsz499Bc for ; Sat, 6 May 2023 21:27:20 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 4QDLHC5scgz4708 for ; Sat, 6 May 2023 21:27:19 +0000 (UTC) (envelope-from freebsdlouisville@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-3ef34e948b1so16154581cf.2 for ; Sat, 06 May 2023 14:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683408439; x=1686000439; h=content-transfer-encoding:in-reply-to:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=Nq9zMXnGIIIHpAOM4niUgkHC0ududeSv8hfyUjePmaw=; b=LN2ZIkv01mFXMK6AGoSEvCsa6UR0i+Ez6WDEL2FhJlOQrj0bOcJZawpRiCtuPdeETn OloICrk0A4aW9vTN0pzhI2dgIXDGUCD5GkZHQN1oxa19SXwq92LxiL44XFpZd/hWraCw h/A+XxgeN7JNik/+eTgiUh4/ld+2+BVyd095vZXX030TadQfbQKlx2WceBlLuxSII3Ln GoVxaKeXxDUV/Dr36ZmnMtCVn28QshaK8WPApQqVDkRajB1BSbFwIFOBZsiIb09RlvQq vkz0ObpdvGDGo7P5CWHtlDAD3zK9a+phBZuJu3+39MQBp/cq+P50jXu1kHQgkW0fJFeD wzZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683408439; x=1686000439; h=content-transfer-encoding:in-reply-to:references: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=Nq9zMXnGIIIHpAOM4niUgkHC0ududeSv8hfyUjePmaw=; b=k5Ht6BBhOVchdmzIHUtutXQi877WBJ89zlHu5yt1Z0JlNVKah36jqts2uk5onv6iGp n3rr4Njj8tC9rjnclIelfX6EQV8YWt+x0sLZNKUKDV8Zz2UO6jxVeE51qhSc2F+eOKKG w1eIZlDpq2CXe6ZJkweExMuh47JG5s4IUFJAQq2pY3Zz7RrfM733AbTC5kc6BtdbxS3y UK85Sye1672ZGWLzMncZkpWBDkAB5Hm8l8QaMBBnXJg6BwrkpI6LVo5wn6TdP+fQXyJa voWvbQECqSsF6nBhUjWwHgtROGONbOpvI4LdmHSlm5Mynp2hqUsYpQPC931WTV5ppF3S HXVw== X-Gm-Message-State: AC+VfDzP2rXprBS8pbez0ByAVr8DewvAqKEEwBEKZoW823KOZM9rIiyg p30l/5gCK9klBojs1SApf4oZZZSfR8eVJtx1 X-Google-Smtp-Source: ACHHUZ7B0JjJvHjBVh591W2+6oc6OtPaPlpw8NzkHJrTIndRUFAF95rYl+j+MPvuN1FRY5l7cTCujg== X-Received: by 2002:ac8:5b01:0:b0:3ef:413b:71be with SMTP id m1-20020ac85b01000000b003ef413b71bemr7017779qtw.68.1683408438839; Sat, 06 May 2023 14:27:18 -0700 (PDT) Received: from [192.168.1.15] ([162.154.243.45]) by smtp.gmail.com with ESMTPSA id cf26-20020a05622a401a00b003e390b48958sm1717227qtb.55.2023.05.06.14.27.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 May 2023 14:27:18 -0700 (PDT) From: Steven Friedrich X-Google-Original-From: Steven Friedrich Message-ID: Date: Sat, 6 May 2023 17:27:17 -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: Re: no traffic from guest to host. guest can't get a dhcp response. ping says no route to host. Content-Language: en-US To: freebsd@dreamchaser.org, questions@freebsd.org References: <85ca379a-830d-897a-c2ed-240c9aca687a@Gmail.com> <29781401-994b-a01e-bc83-63d10fcd5b45@dreamchaser.org> In-Reply-To: <29781401-994b-a01e-bc83-63d10fcd5b45@dreamchaser.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4QDLHC5scgz4708 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/6/23 4:42 PM, Gary Aitken wrote: > On 5/6/23 05:43, Steven Friedrich wrote: >> On my host: >> >> re0: flags=8943 >> metric 0 mtu 1500 >> options=8209b >> >> > ether 10:62:e5:02:ef:45 >> inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.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 bridge0: >> flags=8843 metric 0 mtu 1500 >> ether 58:9c:fc:00:1b:70 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: >> re0 flags=143 ifmaxaddr 0 port 1 >> priority 128 path cost 55 groups: bridge nd6 >> options=9 vm-public: >> flags=8843 metric 0 mtu 1500 >> ether 52:5a:45:37:95:e7 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 groups: >> bridge vm-switch viid-4c918@ nd6 options=9 >> >> >> on my guest: >> >> ifconfig vtnet0: flags=8822> metric 0 mtu 1500 options=80028 VLAN_MTU,JUMBO_MTU,LINKSTATE>X,MULTICAST >> metric 0 mtu 15 >> ether 58:9c:fc:0f:ef:34 media: Ethernet autoselect >> (10Gbase-T ) 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> >> no traffic from guest to host.  guest can't get a dhcp response. ping >> says no route to host. >> >> I tried dhclient bridge0 on the host and it assigned an ip adx to >> bridge0, but had no relief in the guest. >> >> i am not able to get guest access to the host.  what can i do? > > I don't know anything about the vtnet driver for virtual hosts, > nor whether or not what you're running should automatically assign > the vtnet0 device an IP address. > > Is there a dhcpd (dhcp server) running on the host system?  That's > where the client will get its IP address from.  See man 8 dhcpd > and man 5 dhcpd.conf > > There's no route (and ping doesn't work) because there is no address > assigned to the vtnet0 interface on the guest system. > > netstat -rn > should show your existing routes > > > > Gary > Thanks for taking the time to respond. My router (Netgear) acts as my dhcp server.  It's at 192.168.1.1 The problem is the bridge between the guest and the host. I used the info from the vm man page, the freebsd handbook, and various tutorials on the internet. I have tried to remove the bridge, and vm-public, and re-create them, to no avail.