Re: Using OpenBSD guest as PF firewall

2020-11-06 Thread Thomas Laus
On 11/5/20 9:24 PM, Jason Tubnor wrote: > > You could create a clone (lo) with an IP address, add that as an > interface to a vm switch and then guest tap to that vm switch? >I ended up getting this all to function by removing bridge 'public' created by the vm-bhyve utility and manually making the

Re: Using OpenBSD guest as PF firewall

2020-11-05 Thread Thomas Laus
Jason Tubnor [ja...@tubnor.net] wrote: > On Thu, 5 Nov 2020 at 23:40, Thomas Laus wrote: > > Review the vm-bhyve man page. You just need to add an option to > {guest}.conf file that references the device you are passing through. The > section you are looking for is passthruX

Re: Using OpenBSD guest as PF firewall

2020-11-05 Thread Thomas Laus
On 11/4/20 4:40 PM, Mateusz Piotrowski wrote: > > Just for the record, the pf version currently available in FreeBSD is > not just an old OpenBSD pf. See the note in the PF chapter in the > handbook (https://www.freebsd.org/doc/handbook/firewalls-pf.html): > > "Warning: > > When reading the PF F

Re: Using OpenBSD guest as PF firewall

2020-11-05 Thread Thomas Laus
On 11/4/20 4:52 PM, Jason Tubnor wrote: > > I think you are getting a few things mixed up here.  If you pass through > the adaptor to OpenBSD, then you'll address it by the real device name > and not use the vio driver.  Once you pass it through, the host will not > be able to communicate with the

Re: Using OpenBSD guest as PF firewall

2020-11-04 Thread Thomas Laus
Paul Pathiakis [pathia...@yahoo.com] wrote: > Hi, > Is there a reason you would want to use OpenBSD versus FreeBSD? > FreeBSD has pf and I use it on my server at home. > > Are you exploring OpenBSD? Did you not know that pf is an > available firewall on FreeBSD? > The OpenBSD PF firewall is sever

Using OpenBSD guest as PF firewall

2020-11-04 Thread Thomas Laus
Is there a How-To or a Handbook article for using an OpenBSD guest as a firewall for a FreeBSD host? I have enabled pci-passthru and the OpenBSD guest can use the functional FreeBSD NIC hardware and has a hostname.vio0 configured with an IP address and netmask. I have created a public switch on t

The ena adapter seems a little 'chatty'

2020-08-24 Thread Thomas Laus
I recently moved my Amazon EC2 FreeBSD 12.1-P8 VM from a T2 to a T3 instance and I see that the daemon log is filled with the following: Aug 23 13:14:02 hostname dhclient[419]: XMT: Solicit on ena0, interval 119230ms. Aug 23 13:16:01 hostname dhclient[419]: XMT: Solicit on ena0, interval 113710ms.

Re: VM Switch broken after update on 20190507

2019-06-18 Thread Thomas Laus
On 2019-06-17 11:54, Matt Churchyard wrote: > > I haven't tested this myself but there's a recent PR that was provided to fix > this that hasn't made it into ports yet. > > https://github.com/churchers/vm-bhyve/pull/305/files > Matt: Patching this file fixed my issue. My bhyve networking is wo

VM Switch broken after update on 20190507

2019-06-17 Thread Thomas Laus
I just updated my bhyve server running CURRENT up to r349133 and can't start my network switch. I suspect that this problem has a root cause in the kernel configuration change made on 20190507 that created if_tuntap to replace the tunnel and tap devices. My vm switch has been in use for over a ye

Re: ena(4) is not in GENERIC, now default for some/all instances on AWS EC2

2018-01-13 Thread Thomas Laus
On 01/12/18 23:34, Rodney W. Grimes wrote: > > There is work going on in -current by Warner (imp@) called devmatch that > makes this issue go away and rips out all the other drivers from GENERIC > that can be automatically loaded by devmatch in the future. > That resolves the problem for Current,

Re: openbsd 6.0 or 6.1 guest on freebsd-12 (current) host

2017-09-11 Thread Thomas Laus
On 09/06/17 17:53, Jason Tubnor wrote: > As Thomas mentioned, there is/was a bug with certain CPUs, but this was due > to the strict checking of CPU features that OpenBSD introduced ( > https://marc.info/?l=openbsd-misc&m=149136173520510&w=2). Peter explained > the switch to get around that issue

Re: openbsd 6.0 or 6.1 guest on freebsd-12 (current) host

2017-09-05 Thread Thomas Laus
Jason Tubnor [ja...@tubnor.net] wrote: > On 6 September 2017 at 03:21, tech-lists wrote: > > > > > > > I'd like to run openbsd 6.0 or 6.1 guest under a 12-current bhyve > > system. I'd like it to run two cpus, so to use the openbsd smp kernel. I > > can see, from searching various mailing lists t

Bhyve Problem Installing OpenBSD 6.1

2017-06-06 Thread Thomas Laus
Group: I have a problem installing OpenBSD 6.1 as a guest operating system. I have read this group's archives that suggest using the '-w' switch to load bhyve. How do I add this switch to the 'vm install' command? My computer info: FreeBSD 12.0-CURRENT #2 r319609M: Mon Jun 5 17:58:55 EDT 2017

Re: Converting from VMDK to RAW

2016-08-08 Thread Thomas Laus
> Victor Sudakov wrote: > > > > I have downloaded the VM disk from VMware ESXi and the image consists > > of two files: myhost-flat.vmdk and myhost.vmdk. The latter is a small > > text file containing meta-information about the disk. The former looks > > like a RAW disk, at least I can mdconfig it