Host machine running VMM to ping VM router and vice versa

Job ID: 36267018

Budget: $10 – $30 AUD

The challenge is to make the host machine with the VMM, ping the VM router and vice versa.
The only difference to a previously working network build exactly like this, is the hypervisor/VMM was not KVM/Qemu/Virt manager.

My network has:
1 pyhsical router bridged.
2 physical wired NICs for WAN and LAN.
1 host machine Debian based OS, running hypervisor/VMM KVM/Qemu/Virt manager.
1 VM router OPNsense (FreeBSD based).

Please see the attachment for the network topology (note the VM router's install default IP address is 192.168.1.1, I will change this to 192.168.1.170 when I have GUI access to the VM router's settings).

The VM router is pinging the Internet and LAN devices.

Here's 5 different /etc/network/interfaces configurations I've tried on the host machine, in attempt to connect the host's interface to the vm router:


1. ----------------------------------------------------------------------------------
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:

auto lo
iface lo inet loopback

auto enp3s0
iface enp3s0 inet static
address 192.168.1.120/24
gateway 192.168.1.1


2. --------------------------------------------------------------------------
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:

auto lo
iface lo inet loopback

auto enp2s0
iface enp2s0 inet static
address 192.168.1.120/24
gateway 192.168.1.1


3. --------------------------------------------------------------------------
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:

auto lo
iface lo inet loopback

auto macvtap1@enp2s0
iface macvtap1@enp2s0 inet static
address 192.168.1.120/24
gateway 192.168.1.1


4. -------------------------------------------------------------------------
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:

auto lo
iface lo inet loopback

auto macvtap1
iface macvtap1 inet static
address 192.168.1.120/24
gateway 192.168.1.1


5. -------------------------------------------------------------------------
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:

auto lo
iface lo inet loopback

auto vtnet1
iface vtnet1 inet static
address 192.168.1.120/24
gateway 192.168.1.1