Add support for isolated parameter
Add the "Isolated" parameter in the *.network file, e.g., [Bridge] Isolated=true|false When the Isolated parameter is true, traffic coming out of this port will only be forward to other ports whose Isolated parameter is false. When Isolated is not specified, the port uses the kernel default setting (false). The "Isolated" parameter was introduced in Linux 4.19. See man bridge(8) for more details. But even though the kernel and bridge/iproute2 recognize the "Isolated" parameter, systemd-networkd did not have a way to set it.
This commit is contained in:
committed by
Yu Watanabe
parent
10139b4e3c
commit
97f27f8a16
@@ -7,6 +7,7 @@ Bridge=bridge99
|
||||
[Bridge]
|
||||
Cost=400
|
||||
HairPin = true
|
||||
Isolated = true
|
||||
FastLeave = true
|
||||
UnicastFlood = true
|
||||
MulticastToUnicast = true
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
Cost=
|
||||
UseBPDU=
|
||||
HairPin=
|
||||
Isolated=
|
||||
UnicastFlood=
|
||||
FastLeave=
|
||||
Priority=
|
||||
|
||||
Reference in New Issue
Block a user