mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
1e86c83308
Let's make sure these take preference over any generic network config files shipped by the OS (in this case specifically, mkosi).
34 lines
469 B
SYSTEMD
34 lines
469 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Match]
|
|
Name=test1
|
|
|
|
[Network]
|
|
IPv6AcceptRA=no
|
|
|
|
[RoutingPolicyRule]
|
|
TypeOfService=0x08
|
|
Table=7
|
|
From= 192.168.100.18
|
|
Priority=111
|
|
IncomingInterface=test1
|
|
OutgoingInterface=test1
|
|
|
|
[RoutingPolicyRule]
|
|
IncomingInterface=test1
|
|
From=::/0
|
|
Table=8
|
|
Priority=100
|
|
Family=ipv6
|
|
|
|
[RoutingPolicyRule]
|
|
IncomingInterface=test1
|
|
Table=9
|
|
Priority=101
|
|
Family=both
|
|
|
|
[RoutingPolicyRule]
|
|
IncomingInterface=test1
|
|
From=0.0.0.0/8
|
|
Table=10
|
|
Priority=102
|