Home
last modified time | relevance | path

Searched refs:vrf (Results 1 – 25 of 75) sorted by relevance

123

/linux/tools/testing/selftests/net/forwarding/
A Drouter_multipath.sh25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
52 ip route del 2001:db8:1::/64 vrf vrf-h2
53 ip route del 192.0.2.0/24 vrf vrf-h2
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
133 ip route add 192.0.2.0/24 vrf vrf-r2 \
143 ip route del 2001:db8:1::/64 vrf vrf-r2
[all …]
A Drouter_mpath_nh.sh31 ip route del 2001:db8:2::/64 vrf vrf-h1
32 ip route del 198.51.100.0/24 vrf vrf-h1
58 ip route del 2001:db8:1::/64 vrf vrf-h2
59 ip route del 192.0.2.0/24 vrf vrf-h2
92 ip route del 2001:db8:2::/64 vrf vrf-r1
93 ip route del 198.51.100.0/24 vrf vrf-r1
142 ip route del 2001:db8:1::/64 vrf vrf-r2
143 ip route del 192.0.2.0/24 vrf vrf-r2
171 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
176 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
[all …]
A Drouter_broadcast.sh18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
19 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.1
24 ip route del 198.51.200.0/24 vrf vrf-h1
25 ip route del 198.51.100.0/24 vrf vrf-h1
43 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
44 ip route add 198.51.200.0/24 vrf vrf-h2 nexthop via 198.51.100.1
49 ip route del 198.51.200.0/24 vrf vrf-h2
50 ip route del 192.0.2.0/24 vrf vrf-h2
68 ip route add 192.0.2.0/24 vrf vrf-h3 nexthop via 198.51.200.1
74 ip route del 198.51.100.0/24 vrf vrf-h3
[all …]
A Drouter_vid_1.sh11 ip link set dev vrf-h1 up
16 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
17 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
22 ip route del 2001:db8:2::/64 vrf vrf-h1
23 ip route del 198.51.100.0/24 vrf vrf-h1
28 ip link set dev vrf-h1 down
35 ip link set dev vrf-h2 up
40 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
41 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
46 ip route del 2001:db8:1::/64 vrf vrf-h2
[all …]
A Drouter_mpath_nh_res.sh29 ip route del 2001:db8:2::/64 vrf vrf-h1
30 ip route del 198.51.100.0/24 vrf vrf-h1
56 ip route del 2001:db8:1::/64 vrf vrf-h2
57 ip route del 192.0.2.0/24 vrf vrf-h2
90 ip route del 2001:db8:2::/64 vrf vrf-r1
91 ip route del 198.51.100.0/24 vrf vrf-r1
140 ip route del 2001:db8:1::/64 vrf vrf-r2
141 ip route del 192.0.2.0/24 vrf vrf-r2
170 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
176 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
[all …]
A Dmirror_gre_lag_lacp.sh83 ip -4 route add 192.0.2.16/28 vrf vrf-h1 nexthop via 192.0.2.2
88 ip -4 route del 192.0.2.16/28 vrf vrf-h1
89 vlan_host_destroy $h1 333 vrf-h1
95 ip -4 route add 192.0.2.0/28 vrf vrf-h2 nexthop via 192.0.2.17
100 ip -4 route del 192.0.2.0/28 vrf vrf-h2
108 ip -4 route add vrf vrf-h3 192.0.2.129/32 dev lag2
113 ip -4 route del vrf vrf-h3 192.0.2.129/32 dev lag2
123 vrf_create vrf-h3
124 ip link set dev vrf-h3 up
135 ip link set dev vrf-h3 down
[all …]
A Drouter_nh.sh16 ip link set dev $h1 master vrf-h1
18 ip link set dev vrf-h1 up
24 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
25 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
30 ip route del 2001:db8:2::/64 vrf vrf-h1
31 ip route del 198.51.100.0/24 vrf vrf-h1
45 ip link set dev vrf-h2 up
51 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
52 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
57 ip route del 2001:db8:1::/64 vrf vrf-h2
[all …]
A Dgre_inner_v4_multipath.sh108 ip route del vrf v$ol1 192.0.4.0/24
110 ip route del vrf v$ol1 192.0.2.66/32
126 ip route add vrf v$ul21 192.0.2.66/32 \
133 ip route del vrf v$ul21 192.0.2.66/32
134 ip route del vrf v$ul21 192.0.2.65/32
150 ip route add vrf v$ul31 192.0.2.65/32 \
165 ip route del vrf v$ul31 192.0.2.65/32
166 ip route del vrf v$ul31 192.0.2.66/32
188 ip route del vrf v$ol4 192.0.3.0/24
190 ip route del vrf v$ol4 192.0.2.65/32
[all …]
A Dgre_inner_v6_multipath.sh108 ip -6 route del vrf v$ol1 2001:db8:2::/64
110 ip route del vrf v$ol1 192.0.2.66/32
126 ip route add vrf v$ul21 192.0.2.66/32 \
133 ip route del vrf v$ul21 192.0.2.66/32
134 ip route del vrf v$ul21 192.0.2.65/32
150 ip route add vrf v$ul31 192.0.2.65/32 \
165 ip route del vrf v$ul31 192.0.2.65/32
166 ip route del vrf v$ul31 192.0.2.66/32
188 ip -6 route del vrf v$ol4 2001:db8:1::/64
190 ip route del vrf v$ol4 192.0.2.65/32
[all …]
A Dgre_custom_multipath_hash.sh96 ip -6 route del vrf v$h1 default
97 ip route del vrf v$h1 default
119 ip route del vrf v$ol1 192.0.2.2/32
142 ip route del vrf v$ul21 192.0.2.2/32
143 ip route del vrf v$ul21 192.0.2.1/32
174 ip route del vrf v$ul31 192.0.2.1/32
175 ip route del vrf v$ul31 192.0.2.2/32
201 ip route del vrf v$ol4 192.0.2.1/32
218 ip -6 route del vrf v$h2 default
219 ip route del vrf v$h2 default
[all …]
A Dgre_multipath_nh.sh76 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
106 ip route add vrf v$ol1 192.0.2.16/28 nhid 103
107 ip route add vrf v$ol1 2001:db8:2::/64 nhid 103
112 ip route del vrf v$ol1 2001:db8:2::/64
113 ip route del vrf v$ol1 192.0.2.16/28
152 ip route add vrf v$ol2 192.0.2.0/28 nhid 203
153 ip route add vrf v$ol2 2001:db8:1::/64 nhid 203
166 ip route del vrf v$ol2 2001:db8:1::/64
167 ip route del vrf v$ol2 192.0.2.0/28
246 ip vrf exec v$h1 \
[all …]
A Dip6gre_inner_v4_multipath.sh107 ip route del vrf v$ol1 192.0.4.0/24
109 ip -6 route del vrf v$ol1 2001:db8:40::2/128
125 ip -6 route add vrf v$ul21 2001:db8:40::2/128 \
132 ip -6 route del vrf v$ul21 2001:db8:40::2/128
133 ip -6 route del vrf v$ul21 2001:db8:40::1/128
149 ip -6 route add vrf v$ul31 2001:db8:40::1/128 \
164 ip -6 route del vrf v$ul31 2001:db8:40::1/128
165 ip -6 route del vrf v$ul31 2001:db8:40::2/128
187 ip route del vrf v$ol4 192.0.3.0/24
189 ip -6 route del vrf v$ol4 2001:db8:40::1/128
[all …]
A Dip6gre_inner_v6_multipath.sh107 ip -6 route del vrf v$ol1 2001:db8:2::/64
109 ip -6 route del vrf v$ol1 2001:db8:40::2/128
125 ip -6 route add vrf v$ul21 2001:db8:40::2/128 \
132 ip -6 route del vrf v$ul21 2001:db8:40::2/128
133 ip -6 route del vrf v$ul21 2001:db8:40::1/128
149 ip -6 route add vrf v$ul31 2001:db8:40::1/128 \
164 ip -6 route del vrf v$ul31 2001:db8:40::1/128
165 ip -6 route del vrf v$ul31 2001:db8:40::2/128
187 ip -6 route del vrf v$ol4 2001:db8:1::/64
189 ip -6 route del vrf v$ol4 2001:db8:40::1/128
[all …]
A Dip6gre_custom_multipath_hash.sh96 ip -6 route del vrf v$h1 default
97 ip route del vrf v$h1 default
117 ip -6 route del vrf v$ol1 2001:db8:2::/64
118 ip route del vrf v$ol1 203.0.113.0/24
120 ip route del vrf v$ol1 2001:db8:3::2/128
200 ip -6 route del vrf v$ol4 2001:db8:1::/64
201 ip route del vrf v$ol4 198.51.100.0/24
203 ip -6 route del vrf v$ol4 2001:db8:3::1/128
220 ip -6 route del vrf v$h2 default
221 ip route del vrf v$h2 default
[all …]
A Dgre_multipath_nh_res.sh76 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
107 ip route add vrf v$ol1 192.0.2.16/28 nhid 103
108 ip route add vrf v$ol1 2001:db8:2::/64 nhid 103
113 ip route del vrf v$ol1 2001:db8:2::/64
114 ip route del vrf v$ol1 192.0.2.16/28
154 ip route add vrf v$ol2 192.0.2.0/28 nhid 203
155 ip route add vrf v$ol2 2001:db8:1::/64 nhid 203
168 ip route del vrf v$ol2 2001:db8:1::/64
169 ip route del vrf v$ol2 192.0.2.0/28
249 ip vrf exec v$h1 \
[all …]
A Dgre_multipath.sh69 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
74 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
93 ip route add vrf v$ol1 192.0.2.16/28 \
100 ip route del vrf v$ol1 192.0.2.16/28
131 ip route add vrf v$ol2 192.0.2.0/28 \
146 ip route del vrf v$ol2 192.0.2.0/28
165 ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17
170 ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17
214 ip route replace vrf v$ol1 192.0.2.16/28 \
221 ip vrf exec v$h1 \
[all …]
A Dip6gre_lib.sh239 ip route add vrf v$ol2 198.51.100.0/24 dev g2a
248 ip -6 route del vrf v$ol2 2001:db8:2::/64
249 ip route del vrf v$ol2 198.51.100.0/24
276 ip route add vrf v$ol1 203.0.113.0/24 dev g1a
285 ip -6 route del vrf v$ol1 2001:db8:2::/64
286 ip route del vrf v$ol1 203.0.113.0/24
287 ip -6 route del vrf v$ul1 2001:db8:3::2/128
320 ip route add vrf v$ol2 198.51.100.0/24 dev g2a
329 ip -6 route del vrf v$ol2 2001:db8:2::/64
330 ip route del vrf v$ol2 198.51.100.0/24
[all …]
A Dipip_lib.sh149 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
154 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
161 ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17
166 ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17
222 ip route add vrf v$ol2 192.0.2.0/28 nexthop dev g2a
230 ip route del vrf v$ol2 192.0.2.0/28
266 ip route del vrf v$ol1 192.0.2.16/28
267 ip route del vrf v$ul1 192.0.2.66/32
297 ip route add vrf v$ol2 192.0.2.0/28 nexthop dev g2a
305 ip route del vrf v$ol2 192.0.2.0/28
[all …]
A Drouter.sh25 ip link set dev $h1 master vrf-h1
27 ip link set dev vrf-h1 up
33 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
34 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
39 ip route del 2001:db8:2::/64 vrf vrf-h1
40 ip route del 198.51.100.0/24 vrf vrf-h1
54 ip link set dev vrf-h2 up
60 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
61 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
66 ip route del 2001:db8:1::/64 vrf vrf-h2
[all …]
A Dmirror_gre_bridge_1q_lag.sh84 vlan_host_create $h1 333 vrf-h1 192.0.2.1/28
85 ip -4 route add 192.0.2.16/28 vrf vrf-h1 nexthop via 192.0.2.2
90 ip -4 route del 192.0.2.16/28 vrf vrf-h1
91 vlan_host_destroy $h1 333 vrf-h1
96 vlan_host_create $h1 555 vrf-h2 192.0.2.18/28
97 ip -4 route add 192.0.2.0/28 vrf vrf-h2 nexthop via 192.0.2.17
102 ip -4 route del 192.0.2.0/28 vrf vrf-h2
103 vlan_host_destroy $h1 555 vrf-h2
240 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $host_dev 1 10
245 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h3 1 0
[all …]
A Dcustom_multipath_hash.sh63 ip -6 route del vrf v$h1 default
64 ip route del vrf v$h1 default
74 ip route add vrf v$rp1 203.0.113.0/24 \
85 ip -6 route del vrf v$rp1 2001:db8:4::/64
87 ip route del vrf v$rp1 203.0.113.0/24
100 ip route add vrf v$rp2 198.51.100.0/24 \
111 ip -6 route del vrf v$rp2 2001:db8:1::/64
113 ip route del vrf v$rp2 198.51.100.0/24
129 ip -6 route del vrf v$h2 default
130 ip route del vrf v$h2 default
[all …]
A Dtc_flower_router.sh13 ip route add 192.0.2.0/24 vrf v$h1 nexthop via 192.0.1.2
14 ip route add 192.0.3.0/24 vrf v$h1 nexthop via 192.0.1.2
19 ip route del 192.0.3.0/24 vrf v$h1
20 ip route del 192.0.2.0/24 vrf v$h1
29 ip route add 192.0.1.0/24 vrf v$h2 nexthop via 192.0.2.2
30 ip route add 192.0.3.0/24 vrf v$h2 nexthop via 192.0.2.2
35 ip route del 192.0.3.0/24 vrf v$h2
36 ip route del 192.0.1.0/24 vrf v$h2
45 ip route add 192.0.1.0/24 vrf v$h3 nexthop via 192.0.3.2
51 ip route del 192.0.2.0/24 vrf v$h3
[all …]
A Drouter_multicast.sh57 ip route del 2001:db8:3::/64 vrf v$h1
58 ip route del 2001:db8:2::/64 vrf v$h1
60 ip route del 198.51.100.32/28 vrf v$h1
61 ip route del 198.51.100.16/28 vrf v$h1
83 ip route del 2001:db8:3::/64 vrf v$h2
84 ip route del 2001:db8:1::/64 vrf v$h2
86 ip route del 198.51.100.32/28 vrf v$h2
87 ip route del 198.51.100.0/28 vrf v$h2
109 ip route del 2001:db8:2::/64 vrf v$h3
110 ip route del 2001:db8:1::/64 vrf v$h3
[all …]
A Dvxlan_symmetric.sh217 ip link set dev vrf-green up
304 ip link set dev $rp2 master vrf-spine
305 ip link set dev v1 master vrf-spine
306 ip link set dev vrf-spine up
313 ip route add 10.0.0.1/32 vrf vrf-spine nexthop via 192.0.2.1
314 ip route add 10.0.0.2/32 vrf vrf-spine nexthop via 192.0.3.1
319 ip route del 10.0.0.2/32 vrf vrf-spine nexthop via 192.0.3.1
320 ip route del 10.0.0.1/32 vrf vrf-spine nexthop via 192.0.2.1
388 ip link set dev vrf-green up
487 ip route add $host1_ip/32 vrf vrf-green nexthop via $vtep_ip \
[all …]
/linux/tools/testing/selftests/net/
A Dsrv6_end_dt46_l3vpn_test.sh304 ip -netns ${rtname} link add vrf-${tid} type vrf table ${tid}
305 ip -netns ${rtname} link set vrf-${tid} up
311 ip -netns ${rtname} link set ${rtveth} master vrf-${tid}
346 ip -netns ${rtsrc_name} -6 route add ${IPv6_HS_NETWORK}::${hsdst}/128 vrf vrf-${tid} \
348 ip -netns ${rtsrc_name} -4 route add ${IPv4_HS_NETWORK}.${hsdst}/32 vrf vrf-${tid} \
350 ip -netns ${rtsrc_name} -6 route add ${vpn_sid}/128 vrf vrf-${tid} \
356 encap seg6local action End.DT46 vrftable ${tid} dev vrf-${tid}
372 vrf vrf-${tid}
375 vrf vrf-${tid}
557 modprobe vrf &>/dev/null
[all …]

Completed in 23 milliseconds

123