Can't figure out getting network into bhyve instance.

From: Steven Friedrich <freebsdlouisville_at_gmail.com>
Date: Fri, 05 May 2023 15:54:54 UTC
I had found a bhyve tutorial on the Internet: 
https://klarasystems.com/articles/from-0-to-bhyve-on-freebsd-13-1/

I performed the steps to create vm_public, but I don't get internet 
inside the vm.  Here's my ifconfig from the host side:

re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 
mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether 10:62:e5:02:ef:45
        inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
vm-public: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 
mtu 1500
        ether 16:58:c1:2e:24:bc
        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<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000
        groups: bridge vm-switch viid-4c918@
        nd6 options=9<PERFORMNUD,IFDISABLED>

I tried to follow the man page vm:

root@freebsd:/zroot/bhyve/.templates # vm switch add public re0
/usr/local/sbin/vm: ERROR: failed to add member re0 to the virtual 
switch public
root@freebsd:/zroot/bhyve/.templates # vm switch create public
/usr/local/sbin/vm: ERROR: switch public already exists

So I tried ifconfig vm-public destroy so I could start fresh.

vm-public no longer appears in ifconfig

then I tried, from the vm man page:

vm switch create public
/usr/local/sbin/vm: ERROR: switch public already exists
root@freebsd:/usr/local/share/examples/vm-bhyve # vm switch add public re0
/usr/local/sbin/vm: ERROR: unable to locate switch id

vm switch list
NAME    TYPE      IFACE  ADDRESS  PRIVATE  MTU  VLAN  PORTS
public  standard  -      -        no       -    -     re0
root@freebsd:/usr/local/share/examples/vm-bhyve # vm switch info
local: _netgraph,: bad variable name
------------------------
Virtual Switch: public
------------------------
  type: standard
  ident: -
  vlan: -
  physical-ports: re0


I'm uneducated in this area.  Any suggestion?

-- 
uname -a
FreeBSD freebsd.friedrich.org 13.2-RELEASE FreeBSD 13.2-RELEASE FREEBSD amd64