I'm running two identical FreeBSD 12.1-RELEASE VMs on VirtualBox. Each VM has 2 network interfaces, em0
and em1
, set to Internal network
mode. em0
interfaces are set to intnet0
network and em1
are to intnet1
.
I have configured LAGG on both machines in the following way:
ifconfig_em0="up"
ifconfig_em1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport em0 laggport em1 192.168.33.x/24"
x
equals 1
for the first VM and 2
for the second one.
After booting, I get nice ifconfig
output on both machines:
lagg0: flags=8843<UP,BROADCAST,RUNNING...
inet ...
laggproto lacp lagghash l2,l3,l4
laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
status: active
However, pings simply do not pass.
Now if I go into VM's settings and enable promiscuous mode for both adapters and both machines, it starts to work.
Does LACP require setting adapters into promiscuous mode? Or maybe I'm facing a bug in VirtualBox/FreeBSD?