HALF ECHO LEARN / REFERENCE COLLECTION
v262.2test/test-network/conf/25-routing-policy-rule-test1.network
Git blob: 4c83fd5fb78ff7eb70e1858050e13bcce8afdad8
Lines 1–86 of 86
# 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]
Type=table
IncomingInterface=test1
From=0.0.0.0/8
Table=10
Priority=102
[RoutingPolicyRule]
Type=goto
IncomingInterface=test1
From=10.0.0.0/16
Priority=103
GoTo=111
Table=11
[RoutingPolicyRule]
Type=nop
IncomingInterface=test1
From=10.1.0.0/16
Priority=104
Table=12
[RoutingPolicyRule]
IncomingInterface=test1
FirewallMark=0/1
Priority=200
Table=20
[RoutingPolicyRule]
IncomingInterface=test1
FirewallMark=7/255
Priority=201
Table=21
[RoutingPolicyRule]
IncomingInterface=test1
FirewallMark=9999
Priority=202
Table=22
# The four routing policy rules below intentionally have the same config
# except for their To= addresses. See issue #35874.
[RoutingPolicyRule]
To=192.0.2.0/26
Table=1001
[RoutingPolicyRule]
To=192.0.2.64/26
Table=1001
[RoutingPolicyRule]
To=192.0.2.128/26
Table=1001
[RoutingPolicyRule]
To=192.0.2.192/26
Table=1001