Hello all!
I've got issue of configuring bhyve-vm networking: the installed guest (Debian 9) do not see the neighbours (other IPs in the same network) but very perfectly see the internet. How to make guest to see the neighbours?
What I've done:
I've got issue of configuring bhyve-vm networking: the installed guest (Debian 9) do not see the neighbours (other IPs in the same network) but very perfectly see the internet. How to make guest to see the neighbours?
What I've done:
Code:
$ mkdir /[custom_dir]/vms
$ pkg install vm-bhyve grub2-bhyve
$ nano /boot/loader.conf
# --------------------
# Bhyve virtual machine sttings
if_bridge_load="YES"
if_tap_load="YES"
nmdm_load="YES"
vmm_load="YES"
$ nano /etc/rc.conf
# --------------------
# Bhyve settings
vm_enable="YES"
vm_dir="/custom/vms"
vm_list=""
vm_delay="5"
ifconfig_igb0_aliases="inet 172.16.20.151-200/24"
$ vm switch create public
$ vm switch add public igb1
$ cp /usr/local/share/examples/vm-bhyve/* /custom/vms/.templates/
$ vm iso http://ftp.uni-kl.de/pub/linux/ubuntu.iso/bionic/ubuntu-18.04.1.0-live-server-amd64.iso
$ vm create -t ubuntu -s 100G myubuntu
$ vm configure myubuntu
$ vm install myubuntu ubuntu-18.04.1.0-live-server-amd64.iso
$ vm console myubuntu
$ sysrc vm_list="myubuntu"
$ vm start myubuntu