1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00
systemd/test/test-network/conf/routing-policy-rule-test1.network
Hristo Venev 2e8a32afbc networkd: Permit all-zero RoutingPolicyRule prefixes
For example this `From` address range is no longer ignored:

    [RoutingPolicyRule]
    From=0.0.0.0/8
2021-06-22 20:19:12 +09:00

33 lines
424 B
SYSTEMD

[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