Lines Matching +full:2 +full:p5

19 NETIFS[p5]=veth5
30 V4ADDRS[p5]=169.254.5.1
38 V6ADDRS[p2]=2001:db8:101::2
40 V6ADDRS[p4]=2001:db8:301::2
41 V6ADDRS[p5]=2001:db8:501::1
42 V6ADDRS[p6]=2001:db8:501::2
44 V6ADDRS[p8]=2001:db8:701::2
48 # [2] = VRF
53 TEST_NET4[2]=169.254.102
57 TEST_NET6[2]=2001:db8:102
61 CONGW[2]=169.254.3.254
66 RECGW4[2]=169.254.12.254
68 RECGW6[2]=2001:db8:12::64
73 TEST_NET4IN6[2]=10.2.1.254
88 local expected=$2
131 out=$(eval $cmd 2>&1)
188 ip li add ${NETIFS[p5]} type veth peer name ${NETIFS[p6]}
204 for n in 2 4 6 8; do
219 cleanup_ns ${PEER_NS} 2>/dev/null
221 ip link del ${NETIFS[p${n}]} 2>/dev/null
223 ip link del ${VRF} 2>/dev/null
235 local prefix="$2"
251 local prefix="$2"
272 run_ip 254 ${TEST_NET4[1]}.2 ${RECGW4[1]} ${NETIFS[p1]} 0 "unicast recursive"
276 run_ip ${VRF_TABLE} ${TEST_NET4[2]}.1 ${CONGW[3]} ${NETIFS[p5]} 0 "unicast connected"
277 run_ip ${VRF_TABLE} ${TEST_NET4[2]}.2 ${RECGW4[2]} ${NETIFS[p5]} 0 "unicast recursive"
281 run_ip ${PBR_TABLE} ${TEST_NET4[2]}.3 ${CONGW[3]} ${NETIFS[p5]} 0 "unicast connected"
282 run_ip ${PBR_TABLE} ${TEST_NET4[2]}.4 ${RECGW4[2]} ${NETIFS[p5]} 0 "unicast recursive"
290 "${CONGW[2]} dev ${NETIFS[p3]} onlink" \
295 "${RECGW4[2]} dev ${NETIFS[p3]} onlink" \
300 "${CONGW[2]} dev ${NETIFS[p3]} onlink" \
305 "${CONGW[2]} dev ${NETIFS[p3]}" \
311 run_ip 254 ${TEST_NET4[1]}.11 ${V4ADDRS[p1]} ${NETIFS[p1]} 2 \
314 run_ip ${VRF_TABLE} ${TEST_NET4[2]}.11 ${V4ADDRS[p5]} ${NETIFS[p5]} 2 \
317 run_ip 254 ${TEST_NET4[1]}.101 ${V4ADDRS[p1]} "" 2 "No nexthop device given"
319 run_ip 254 ${TEST_NET4[1]}.102 ${V4ADDRS[p3]} ${NETIFS[p1]} 2 \
322 run_ip ${VRF_TABLE} ${TEST_NET4[2]}.103 ${V4ADDRS[p7]} ${NETIFS[p5]} 2 \
333 local prefix="$2"
349 local prefix="$2"
368 run_ip6 254 ${TEST_NET6[1]}::2 ${RECGW6[1]} ${NETIFS[p1]} 0 "unicast recursive"
373 run_ip6 ${VRF_TABLE} ${TEST_NET6[2]}::1 ${V6ADDRS[p5]/::*}::64 ${NETIFS[p5]} 0 "unicast connected"
374 run_ip6 ${VRF_TABLE} ${TEST_NET6[2]}::2 ${RECGW6[2]} ${NETIFS[p5]} 0 "unicast recursive"
375 run_ip6 ${VRF_TABLE} ${TEST_NET6[2]}::3 ::ffff:${TEST_NET4IN6[2]} ${NETIFS[p5]} 0 "v4-mapped"
379 run_ip6 ${PBR_TABLE} ${TEST_NET6[2]}::4 ${V6ADDRS[p5]/::*}::64 ${NETIFS[p5]} 0 "unicast connected"
380 run_ip6 ${PBR_TABLE} ${TEST_NET6[2]}::5 ${RECGW6[2]} ${NETIFS[p5]} 0 "unicast recursive"
381 run_ip6 ${PBR_TABLE} ${TEST_NET6[2]}::6 ::ffff:${TEST_NET4IN6[2]} ${NETIFS[p5]} 0 "v4-mapped"
394 "${RECGW6[2]} dev ${NETIFS[p3]}" \
399 "::ffff:${TEST_NET4IN6[2]} dev ${NETIFS[p3]}" \
424 run_ip6 254 ${TEST_NET6[1]}::11 ${V6ADDRS[p1]} ${NETIFS[p1]} 2 \
426 run_ip6 254 ${TEST_NET6[1]}::12 ${lladdr} ${NETIFS[p1]} 2 \
428 run_ip6 254 ${TEST_NET6[1]}::12 ${MCAST6} ${NETIFS[p1]} 2 \
431 lladdr=$(get_linklocal ${NETIFS[p5]}) || return 1
432 run_ip6 ${VRF_TABLE} ${TEST_NET6[2]}::11 ${V6ADDRS[p5]} ${NETIFS[p5]} 2 \
434 run_ip6 ${VRF_TABLE} ${TEST_NET6[2]}::12 ${lladdr} ${NETIFS[p5]} 2 \
436 run_ip6 ${VRF_TABLE} ${TEST_NET6[2]}::12 ${MCAST6} ${NETIFS[p5]} 2 \
439 run_ip6 254 ${TEST_NET6[1]}::101 ${V6ADDRS[p1]} "" 2 \
443 # run_ip6 254 ${TEST_NET6[1]}::102 ${V6ADDRS[p3]/::[0-9]/::64} ${NETIFS[p1]} 2 \
446 run_ip6 ${VRF_TABLE} ${TEST_NET6[2]}::103 ${V6ADDRS[p7]/::[0-9]/::64} ${NETIFS[p5]} 2 \