Lines Matching refs:ip
17 ip link set dev $h1 master vrf-h1
19 ip link set dev vrf-h1 up
20 ip link set dev $h1 up
22 ip address add 192.0.2.2/24 dev $h1
23 ip address add 2001:db8:1::2/64 dev $h1
25 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
26 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
31 ip route del 2001:db8:2::/64 vrf vrf-h1
32 ip route del 198.51.100.0/24 vrf vrf-h1
34 ip address del 2001:db8:1::2/64 dev $h1
35 ip address del 192.0.2.2/24 dev $h1
37 ip link set dev $h1 down
44 ip link set dev $h2 master vrf-h2
46 ip link set dev vrf-h2 up
47 ip link set dev $h2 up
49 ip address add 198.51.100.2/24 dev $h2
50 ip address add 2001:db8:2::2/64 dev $h2
52 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
53 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
58 ip route del 2001:db8:1::/64 vrf vrf-h2
59 ip route del 192.0.2.0/24 vrf vrf-h2
61 ip address del 2001:db8:2::2/64 dev $h2
62 ip address del 198.51.100.2/24 dev $h2
64 ip link set dev $h2 down
71 ip link set dev $rp11 master vrf-r1
72 ip link set dev $rp12 master vrf-r1
73 ip link set dev $rp13 master vrf-r1
75 ip link set dev vrf-r1 up
76 ip link set dev $rp11 up
77 ip link set dev $rp12 up
78 ip link set dev $rp13 up
80 ip address add 192.0.2.1/24 dev $rp11
81 ip address add 2001:db8:1::1/64 dev $rp11
83 ip address add 169.254.2.12/24 dev $rp12
84 ip address add fe80:2::12/64 dev $rp12
86 ip address add 169.254.3.13/24 dev $rp13
87 ip address add fe80:3::13/64 dev $rp13
92 ip route del 2001:db8:2::/64 vrf vrf-r1
93 ip route del 198.51.100.0/24 vrf vrf-r1
95 ip address del fe80:3::13/64 dev $rp13
96 ip address del 169.254.3.13/24 dev $rp13
98 ip address del fe80:2::12/64 dev $rp12
99 ip address del 169.254.2.12/24 dev $rp12
101 ip address del 2001:db8:1::1/64 dev $rp11
102 ip address del 192.0.2.1/24 dev $rp11
104 ip nexthop del id 103
105 ip nexthop del id 101
106 ip nexthop del id 102
107 ip nexthop del id 106
108 ip nexthop del id 104
109 ip nexthop del id 105
111 ip link set dev $rp13 down
112 ip link set dev $rp12 down
113 ip link set dev $rp11 down
121 ip link set dev $rp21 master vrf-r2
122 ip link set dev $rp22 master vrf-r2
123 ip link set dev $rp23 master vrf-r2
125 ip link set dev vrf-r2 up
126 ip link set dev $rp21 up
127 ip link set dev $rp22 up
128 ip link set dev $rp23 up
130 ip address add 198.51.100.1/24 dev $rp21
131 ip address add 2001:db8:2::1/64 dev $rp21
133 ip address add 169.254.2.22/24 dev $rp22
134 ip address add fe80:2::22/64 dev $rp22
136 ip address add 169.254.3.23/24 dev $rp23
137 ip address add fe80:3::23/64 dev $rp23
142 ip route del 2001:db8:1::/64 vrf vrf-r2
143 ip route del 192.0.2.0/24 vrf vrf-r2
145 ip address del fe80:3::23/64 dev $rp23
146 ip address del 169.254.3.23/24 dev $rp23
148 ip address del fe80:2::22/64 dev $rp22
149 ip address del 169.254.2.22/24 dev $rp22
151 ip address del 2001:db8:2::1/64 dev $rp21
152 ip address del 198.51.100.1/24 dev $rp21
154 ip nexthop del id 201
155 ip nexthop del id 202
156 ip nexthop del id 204
157 ip nexthop del id 205
159 ip link set dev $rp23 down
160 ip link set dev $rp22 down
161 ip link set dev $rp21 down
168 ip nexthop add id 101 via 169.254.2.22 dev $rp12
169 ip nexthop add id 102 via 169.254.3.23 dev $rp13
170 ip nexthop add id 103 group 101/102
171 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
173 ip nexthop add id 104 via fe80:2::22 dev $rp12
174 ip nexthop add id 105 via fe80:3::23 dev $rp13
175 ip nexthop add id 106 group 104/105
176 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
178 ip nexthop add id 201 via 169.254.2.12 dev $rp22
179 ip nexthop add id 202 via 169.254.3.13 dev $rp23
180 ip nexthop add id 203 group 201/202
181 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203
183 ip nexthop add id 204 via fe80:2::12 dev $rp22
184 ip nexthop add id 205 via fe80:3::13 dev $rp23
185 ip nexthop add id 206 group 204/205
186 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
201 ip nexthop replace id 103 group 101,$weight_rp12/102,$weight_rp13
206 ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \
217 ip nexthop replace id 103 group 101/102
234 ip nexthop replace id 106 group 104,$weight_rp12/105,$weight_rp13
249 ip nexthop replace id 106 group 104/105
262 ip nexthop replace id 106 group 104,$weight_rp12/105,$weight_rp13
269 ip vrf exec vrf-h1 $PING6 2001:db8:2::2 -F 0 -c 1 -q >/dev/null 2>&1
279 ip nexthop replace id 106 group 104/105
290 ip nexthop replace id 101 via fe80:2::22 dev $rp12
291 ip nexthop replace id 102 via fe80:3::23 dev $rp13
297 ip nexthop replace id 102 via 169.254.3.23 dev $rp13
298 ip nexthop replace id 101 via 169.254.2.22 dev $rp12
315 ip nexthop add id 1001 blackhole
316 ip nexthop add id 1002 group 1001
318 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1001
322 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1002
326 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 103
332 ip nexthop del id 1002
333 ip nexthop del id 1001
340 ip -6 nexthop add id 1001 blackhole
341 ip nexthop add id 1002 group 1001
343 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1001
347 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1002
351 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 106
357 ip nexthop del id 1002
358 ip -6 nexthop del id 1001
411 ip nexthop ls >/dev/null 2>&1