Running pfSense as a VM on Proxmox 5.1, a dedicated system just for being a router/firewall.
In the system I'm using the onboard Intel NIC for management of the hypervisor and a have a quad port Intel server NIC for the pfSense VM. Was running PCI passthrough but moved to OVS bridging so I can easily spin up testing VM's and such.
What I'm looking to do is propagate the link state from the physical NIC to the virtual NIC attached to the VM, so if I unplug the ethernet cable from eth5, the vmbr0 NIC for the pfSense VM will be link state down, etc.
Relevant part of /etc/network/interfaces
Thanks
In the system I'm using the onboard Intel NIC for management of the hypervisor and a have a quad port Intel server NIC for the pfSense VM. Was running PCI passthrough but moved to OVS bridging so I can easily spin up testing VM's and such.
What I'm looking to do is propagate the link state from the physical NIC to the virtual NIC attached to the VM, so if I unplug the ethernet cable from eth5, the vmbr0 NIC for the pfSense VM will be link state down, etc.
Relevant part of /etc/network/interfaces
Code:
# WAN
auto vmbr0
allow-ovs vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports eth5
auto eth5
iface eth5 inet manual
ovs_bridge vmbr0
ovs_type OVSPort
ovs_options vlan_mode=native-untagged
# LAN
auto vmbr1
allow-ovs vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports eth4
auto eth4
iface eth4 inet manual
ovs_bridge vmbr1
ovs_type OVSPort
ovs_options vlan_mode=trunk
Thanks