mirror of
https://github.com/systemd/systemd.git
synced 2025-01-07 21:18:41 +03:00
3976c43092
This deprecates IPForward= setting, which unconditionally controled the global setting, even though it is a setting in .network file. Instead, this introduces new IPv4Forwarding= and IPv6Forwarding= settings both in .network and networkd.conf. If these settings are specified in a .network file, then the per-interface forwarding setting will be configured. If specified in networkd.conf, then the global IP forwarding setting will be configured. Closes #30648.
30 lines
346 B
SYSTEMD
30 lines
346 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Match]
|
|
Name=test1
|
|
|
|
[Network]
|
|
IPv6AcceptRA=no
|
|
Bridge=bridge99
|
|
LinkLocalAddressing=no
|
|
EmitLLDP=nearest-bridge
|
|
LLDP=yes
|
|
|
|
[Link]
|
|
RequiredForOnline=no
|
|
|
|
[Bridge]
|
|
Learning=yes
|
|
MulticastRouter=query
|
|
UseBPDU=yes
|
|
|
|
[BridgeVLAN]
|
|
VLAN=100
|
|
EgressUntagged=100
|
|
PVID=100
|
|
|
|
[BridgeVLAN]
|
|
VLAN=560
|
|
|
|
[BridgeVLAN]
|
|
VLAN=600
|