From owner-freebsd-virtualization@freebsd.org Mon Apr 2 15:39:27 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9FB56F7269C for ; Mon, 2 Apr 2018 15:39:27 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 149C883D85 for ; Mon, 2 Apr 2018 15:39:26 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id w32FdJRF047374; Mon, 2 Apr 2018 17:39:19 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id EEBFE3EA; Mon, 2 Apr 2018 17:39:18 +0200 (CEST) Message-ID: <5AC24EA6.9010207@omnilan.de> Date: Mon, 02 Apr 2018 17:39:18 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Daniel Braniss CC: "Rodney W. Grimes" , freebsd-virtualization@freebsd.org Subject: Re: bhyve and arp problem References: <201804021351.w32DptK9082637@pdx.rh.CN85.dnsmgr.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Mon, 02 Apr 2018 17:39:19 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2018 15:39:27 -0000 Bezüglich Daniel Braniss's Nachricht vom 02.04.2018 16:58 (localtime): … >> >> Are you trying to use the HOSTS ip address in the GUEST? > > the client is using the server’s /usr/local, which is mounted via nfs. I guess you have reasons to prefer nfs over nullfs. > so I guess the answer is yes. I don't see how /usr/local is related to IP address assigning... … > the guest has only vtnet0 and lo0 > the ip of the client is obtained via dhcp > on the server, there is a bridge, bridge0 and it bridges between the taps and the mxlen0 Hmm, do you assing an IP address to your if_tap(4) interfaces at your bhyve-host? if_tap(4) is used for interconnecting bhyve(8)'s virtio-net "backend" with the host's host-IP stack via the character device /dev/tapX. The if_tap(4) interfaces on the host mustn't get the guest's (clients) IP address! The address must be assigned to the if_vtnet(4) interface _inside_ the guest (I call it the front-end of bhyve's virtio-net) – done usually in /etc/rc.conf – no relation to /usr/local… But chances are good I misunderstood something, either your setup or your results... Else I can't explain what you see other than the above scenario. -harry