You are not logged in.
Hi:
I run a Arch Linux VM in VirtualBox
I use systemd-networkd to config a br0 bridge interface
The /etc/systemd/network directory's config files as below
MyEth.network:
[Match]
Name=enp0s3
[Network]
Bridge=br0
MyBridge.netdev:
[NetDev]
Name=br0
Kind=bridge
MyBridge.network:
[Match]
Name=br0
[Network]
DHCP=v4
interface enp0s3 is bridged to my local network via VirtualBox
br0 is bring up and get the ip address from DHCP sucessfully.
But I can't get any reply when I ping the gateway or other local network's host.
The network is ok when I just set up enp0s3 only without bridge.
Kernel version is 3.18.2-2 and systemd's version is 218-1
Can anyone give me some hint to solve the problem ?
Thanks.
Last edited by regis2261 (2015-01-24 20:38:03)
Offline
I had the same problem. Enabling promiscuous mode on the associated VirtualBox adapter resolved it for me.
I believe the explanation is that VirtualBox controls some settings on guest interfaces in addition to what you see from the guest. In this case, systemd puts all devices in the bridge into promiscuous mode, enabling them to pass packets that are destined for other devices on the bridge. But as VirtualBox has the additional control on the interface (which the guest never even sees) then that's why you need to enable the setting manually.
Offline