Hello,
I am a bit lost in the virtual networking stuff.
I have a linux machine (NixOs) which is a host and runs pfsense within Qemu-kvm.
The machine has 2 network interfaces. The first NIC is isolated, by putting it in passthrough mode, and solely accessible by pfsense and meant to be the WAN port.
The second NIC is meant to serve the home network.
In the end pfsense should be the dhcp server.
I started of by creating a bridge, nm-bridge, with nmtui and bind eth1 to that.
nm-bridge was getting an IP address from the home-router.
Pfsense was able to connect to nm-bridge and I saw a vnet0 appearing when executing brctl show.
Both from the host and pfsense-vm I was able to ping the network.
Here is where I miserably fail in knowledge.
Next step was to enable the dhcp server on pfsense and connect the virtual switch, openvswitch, to pfsense and eth1.
Somehow, due to the fact that vnet0 is a tun/tap device I was not allowed to connect the 2.
How should I approach this ?
best regards
Simon