Re: bhyve, nat, lagg failover problems

2019-02-15 Thread Rodney W. Grimes
> 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, dex...@freebsd.org.

Thanks,
-- 
Rod Grimes rgri...@freebsd.org
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: bhyve, nat, lagg failover problems

2019-02-15 Thread Johannes Lundberg


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.
|

>
> Cheers!
> /Johannes
>
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"