Lines Matching +full:route +full:- +full:up
2 # SPDX-License-Identifier: GPL-2.0
10 vrf_create "vrf-h1"
11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
32 vrf_destroy "vrf-h1"
37 vrf_create "vrf-h2"
38 ip link set dev $h2 master vrf-h2
40 ip link set dev vrf-h2 up
41 ip link set dev $h2 up
46 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
47 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
52 ip route del 2001:db8:1::/64 vrf vrf-h2
53 ip route del 192.0.2.0/24 vrf vrf-h2
59 vrf_destroy "vrf-h2"
64 vrf_create "vrf-r1"
65 ip link set dev $rp11 master vrf-r1
66 ip link set dev $rp12 master vrf-r1
67 ip link set dev $rp13 master vrf-r1
69 ip link set dev vrf-r1 up
70 ip link set dev $rp11 up
71 ip link set dev $rp12 up
72 ip link set dev $rp13 up
83 ip route add 198.51.100.0/24 vrf vrf-r1 \
86 ip route add 2001:db8:2::/64 vrf vrf-r1 \
93 ip route del 2001:db8:2::/64 vrf vrf-r1
94 ip route del 198.51.100.0/24 vrf vrf-r1
109 vrf_destroy "vrf-r1"
114 vrf_create "vrf-r2"
115 ip link set dev $rp21 master vrf-r2
116 ip link set dev $rp22 master vrf-r2
117 ip link set dev $rp23 master vrf-r2
119 ip link set dev vrf-r2 up
120 ip link set dev $rp21 up
121 ip link set dev $rp22 up
122 ip link set dev $rp23 up
133 ip route add 192.0.2.0/24 vrf vrf-r2 \
136 ip route add 2001:db8:1::/64 vrf vrf-r2 \
143 ip route del 2001:db8:1::/64 vrf vrf-r2
144 ip route del 192.0.2.0/24 vrf vrf-r2
159 vrf_destroy "vrf-r2"
174 ip route replace 198.51.100.0/24 vrf vrf-r1 \
181 ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \
182 -d $MZ_DELAY -t udp "sp=1024,dp=0-32768"
188 let "packets_rp12 = $t1_rp12 - $t0_rp12"
189 let "packets_rp13 = $t1_rp13 - $t0_rp13"
193 ip route replace 198.51.100.0/24 vrf vrf-r1 \
212 ip route replace 2001:db8:2::/64 vrf vrf-r1 \
219 $MZ $h1 -6 -q -p 64 -A 2001:db8:1::2 -B 2001:db8:2::2 \
220 -d $MZ_DELAY -t udp "sp=1024,dp=0-32768"
226 let "packets_rp12 = $t1_rp12 - $t0_rp12"
227 let "packets_rp13 = $t1_rp13 - $t0_rp13"
230 ip route replace 2001:db8:2::/64 vrf vrf-r1 \