From owner-freebsd-net@freebsd.org Fri Feb 15 18:26:55 2019 Return-Path: Delivered-To: freebsd-net@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 55E4214E4239 for ; Fri, 15 Feb 2019 18:26:55 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (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 EDF39764AA; Fri, 15 Feb 2019 18:26:53 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x1FIQjJv092247; Fri, 15 Feb 2019 10:26:45 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x1FIQjCU092246; Fri, 15 Feb 2019 10:26:45 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201902151826.x1FIQjCU092246@pdx.rh.CN85.dnsmgr.net> Subject: Re: bhyve, nat, lagg failover problems In-Reply-To: To: Johannes Lundberg Date: Fri, 15 Feb 2019 10:26:45 -0800 (PST) CC: freebsd-net@freebsd.org, dexter@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: EDF39764AA X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.03 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.20)[-0.202,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.82)[0.820,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.54)[0.538,0]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.01)[ip: (0.02), ipnet: 69.59.192.0/19(0.01), asn: 13868(-0.01), country: US(-0.07)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 18:26:55 -0000 > On 2/15/19 5:28 PM, Johannes Lundberg wrote: > > Hey! > > > > I have a setup like described here: > > https://github.com/churchers/vm-bhyve/wiki/NAT-Configuration > > Bhyve guests use static IP addresses and everything works fine (i.e. > > guest can access host and internet). > > > > However, if I use lagg with failover for em0 and wlan0, and replace em0 > > with lagg0 in pf.conf the guests can not communicate with the host, or > > internet. The failover works fine for the host. I'm sure there has to be > > a way to get this to work... > > > > Is there anyone that can help? > > Found the problem! The command > > |# vm switch address public 192.168.8.1/24| > > |fixed it. vm-bhyve's command 'vm's help did not list this option as > available and therefor the confusion. It turns out the "vm" command's > help was outdated, not the wiki. Now my bhyve guests also work properly > during failover from ethernet to wifi :D I only setup the lagg in > rc.conf and let vm-bhyve handle all settings regarding the bridge, as > described in their wiki. > | Would you be willing to either put up a wiki article on this, or work with Michael Dexter who would love to have this well documented in the wiki as it is a frequently asked for feature/setup. I have added him to the cc, dexter@freebsd.org. Thanks, -- Rod Grimes rgrimes@freebsd.org