Hello,
I have five VMs managed by vm-bhyve (they are down normally): FreeBSD, NetBSD, OpenBSD, Ubuntu, and Ubuntu LTS.
I have a vm-public switch on host (192.168.226.1/24), connected to re0 (public network). On the host pf is running, which has the rules
Here ext_if is re0, which is connected to public internet, and the_vms_net is 192.168.226.0/24, where all VMs reside.
Something happened, and I lost network in BSD VMs; Ubuntu ones still have network, BSD ones lost the network. I still can ping from any VM 192.168.226.1 (Ubuntu VMs show it is a destination for default route, and BSDs are supposed to route things there too).
What is going on and how to debug it?
I have five VMs managed by vm-bhyve (they are down normally): FreeBSD, NetBSD, OpenBSD, Ubuntu, and Ubuntu LTS.
I have a vm-public switch on host (192.168.226.1/24), connected to re0 (public network). On the host pf is running, which has the rules
Code:
nat on $ext_if inet from $the_vms_net to any -> ($ext_if)
Here ext_if is re0, which is connected to public internet, and the_vms_net is 192.168.226.0/24, where all VMs reside.
Something happened, and I lost network in BSD VMs; Ubuntu ones still have network, BSD ones lost the network. I still can ping from any VM 192.168.226.1 (Ubuntu VMs show it is a destination for default route, and BSDs are supposed to route things there too).
What is going on and how to debug it?