Use netgraph networking in bhyve.

This commit is contained in:
Tom Alexander 2022-11-01 23:43:48 -04:00
parent 9bf0875ad9
commit 9406b8337e
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 4 additions and 9 deletions

View File

@ -23,7 +23,7 @@
# - firefox
# - devfs
# - ssh_client
# - jail
- jail
# - fuse
# - autofs
# - exfat

View File

@ -13,15 +13,10 @@ console="tmux"
cpu=1
memory=1024M
# Automatic switch ifconfig networking
# network0_type="virtio-net"
# network0_switch="customswitch"
# Manually specify network device
# network0_type="virtio-net"
# network0_device="host_link3"
disk0_type="virtio-blk"
disk0_name="disk0"
disk0_dev="sparse-zvol"
virt_random="yes" # virtio-rnd
# Creates a link to host_bridge1's link3 hook to the vmlink hook on a type socket
bhyve_options="-s 2:0,virtio-net,netgraph,path=host_bridge1:,peerhook=link3"