From: Zbigniew Jędrzejewski-Szmek Date: Sat, 25 Jul 2015 03:04:57 +0000 (-0400) Subject: networkd: turn UnicastFlood on by default X-Git-Tag: v223~33^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=072f9e4af4cf465aca6e263f4dfd6e07786786d2;p=thirdparty%2Fsystemd.git networkd: turn UnicastFlood on by default Looking at the kernel commit, "on" seems to be the default value: commit 867a59436fc35593ae0e0efcd56cc6d2f8506586 Author: Vlad Yasevich Date: Wed Jun 5 10:08:01 2013 -0400 bridge: Add a flag to control unicast packet flood. Add a flag to control flood of unicast traffic. By default, flood is on and the bridge will flood unicast traffic if it doesn't know the destination. When the flag is turned off, unicast traffic without an FDB will not be forwarded to the specified port. ... and it seems to be the reasonable thing to do by default. --- diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 0dab96d127e..196e57dd57a 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -672,8 +672,9 @@ UnicastFlood= - A boolean. UnicastFlood configures whether a given port will flood - unicast traffic for which there is no FDB entry. Defaults to off. + A boolean. Controls whether the bridge should flood + traffic for which an FDB entry is missing and the destination + is unknown through this port. Defaults to on. diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index ff0f72cfe59..e757219ec5b 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -108,6 +108,7 @@ static int network_load_one(Manager *manager, const char *filename) { network->dhcp_client_identifier = DHCP_CLIENT_ID_DUID; network->use_bpdu = true; + network->unicast_flood = true; network->llmnr = LLMNR_SUPPORT_YES;