Solved BHyve vm for Debian-10, missing network connectivity.

I installed a Debian guest bhyve vm on FreeBSD-12.1p5. I just need this thing to run a couple of file transfer tests relating to the problem I am really trying to solve. This is just a step on the way. Debian installed successfully but it has no network connectivity and I have zero experience with Debian.

The Debian vm has this to say:

Code:
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp0s5
iface enp0s5 inet static
    address 192.168.8.165/24
    gateway 192.168.8.1
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 216.185.71.33 216.185.71.34
    dns-search brockley.harte-lyne.c

Code:
discover
Red Hat, Inc Virtio network device
unknown unknown
Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]
Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]

How do I get enp0s5 to talk over the virtio network?
 
Never mind. It was a duhh moment. I neglected to run vm switch create public && vm switch add public igb0. Sigh.
 
Back
Top