Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Drouter_multipath.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-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
38 ip link set dev $h2 master vrf-h2
40 ip link set dev vrf-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
[all …]
Drouter_broadcast.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
18 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
36 ip link set dev $h2 master vrf-h2
38 ip link set dev vrf-h2 up
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
[all …]
Drouter.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-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
38 ip link set dev $h2 master vrf-h2
40 ip link set dev vrf-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
[all …]
Dmirror_gre_lag_lacp.sh82 vlan_host_create $h1 333 vrf-h1 192.0.2.1/28
83 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
94 vlan_host_create $h1 555 vrf-h2 192.0.2.18/28
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
101 vlan_host_destroy $h1 555 vrf-h2
107 __simple_if_init lag2 vrf-h3 192.0.2.130/32
108 ip -4 route add vrf vrf-h3 192.0.2.129/32 dev lag2
[all …]
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
87 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
91 ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146
93 ip route add vrf v$ol1 192.0.2.16/28 \
108 ip route del vrf v$ol1 192.0.2.16/28
110 ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146
114 ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130
133 ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129
137 ip route add vrf v$ol2 192.0.2.81/32 via 192.0.2.145
[all …]
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
232 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $host_dev 1 10
237 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h3 1 0
[all …]
Drouter_bridge.sh14 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
15 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
20 ip -6 route del 2001:db8:2::/64 vrf v$h1
21 ip -4 route del 192.0.2.128/28 vrf v$h1
28 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129
29 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
34 ip -6 route del 2001:db8:1::/64 vrf v$h2
35 ip -4 route del 192.0.2.0/28 vrf v$h2
Drouter_bridge_vlan.sh16 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2
17 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2
22 ip -6 route del 2001:db8:2::/64 vrf v$h1
23 ip -4 route del 192.0.2.128/28 vrf v$h1
31 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129
32 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
37 ip -6 route del 2001:db8:1::/64 vrf v$h2
38 ip -4 route del 192.0.2.0/28 vrf v$h2
Dmirror_gre_bound.sh80 ip link set h3-gt4 vrf v$h3
84 ip link set h3-gt6 vrf v$h3
121 vrf_create vrf-ol
122 ip link set dev vrf-ol up
126 ip link set dev gt4 master vrf-ol
131 ip link set dev gt6 master vrf-ol
137 vrf_destroy vrf-ol
Dmirror_gre_topo_lib.sh43 ip link set h3-gt4 vrf v$h3
47 ip link set h3-gt6 vrf v$h3
Dlib.sh322 ip link add dev $vrf_name type vrf table $tb_id
430 local vrf=$1; shift
435 if [ "$vrf" != "" ]; then
436 ip link set dev $name master $vrf
796 ip vrf exec $vrf_name $PING $dip -c 10 -i 0.1 -w 2 &> /dev/null
815 ip vrf exec $vrf_name $PING6 $dip -c 10 -i 0.1 -w 2 &> /dev/null
DREADME17 vrf-h1 | vrf-h2
Dmirror_lib.sh33 ip vrf exec $vrf_name \
/external/iproute2/ip/
Dipvrf.c55 char *vrf, *end; in vrf_identify() local
70 vrf = strstr(buf, "/vrf/"); in vrf_identify()
71 if (vrf) { in vrf_identify()
72 vrf += 5; /* skip past "/vrf/" */ in vrf_identify()
73 end = strchr(vrf, '\n'); in vrf_identify()
77 strlcpy(name, vrf, len); in vrf_identify()
89 char vrf[32]; in ipvrf_identify() local
100 rc = vrf_identify(pid, vrf, sizeof(vrf)); in ipvrf_identify()
102 if (vrf[0] != '\0') in ipvrf_identify()
103 printf("%s\n", vrf); in ipvrf_identify()
[all …]
/external/bcc/src/cc/frontends/p4/test/testprograms/
Dbasic_routing.p4109 vrf : VRF_BIT_WIDTH; /* VRF */
134 action set_vrf(vrf) {
135 modify_field(ingress_metadata.vrf, vrf);
155 ingress_metadata.vrf : exact;
167 ingress_metadata.vrf : exact;
197 /* derive ingress_metadata.vrf */
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dqos_dscp_router.sh60 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
65 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
76 ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17
81 ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17
172 ip vrf exec $vrf_name \
Dmirror_gre.sh26 ip link set h3-gt6-key vrf v$h3
51 ip link set h3-gt6-soft vrf v$h3
58 ip link set dev v2 vrf v$h3
Dqos_dscp_bridge.sh151 ip vrf exec $vrf_name \
Dmirror_gre_scale.sh76 ip link set $htun vrf v$h3
/external/linux-kselftest/tools/testing/selftests/net/
Dfib_tests.sh441 local vrf=$3
447 [ "$vrf" = "-" ] && vrf="default"
451 cmd="$IP route add vrf $vrf $pfx $gw $dev"
550 $IP link add red type vrf table 1
552 $IP -4 route add vrf red unreachable default metric 4278198272
553 $IP -6 route add vrf red unreachable default metric 4278198272
560 $IP link set dev veth1 vrf red up
565 $IP link set dev dummy1 vrf red up
Dip6_gre_headroom.sh15 ip link add dev vh3 type vrf table 20
Dfib-onlink-tests.sh168 ip li add ${VRF} type vrf table ${VRF_TABLE}
181 ip li set ${NETIFS[p${n}]} vrf ${VRF}
Drtnetlink.sh336 ip link show type vrf 2>/dev/null
342 ip link add "$vrfname" type vrf table 10
349 ip -br link show type vrf | grep -q "$vrfname"
/external/syzkaller/sys/linux/
Dsocket_netlink_route.txt190 # nlmon, vlan, vrf, vxlan, macsec