• Home
  • Raw
  • Download

Lines Matching +full:6 +full:ns

13 #   6. VRF and non-VRF permutations
16 # ns-A | ns-B
23 # ns-A:
30 # ns-B:
35 # ns-A to ns-C connection - only for VRF and same config
36 # as ns-A to ns-B
38 # server / client nomenclature relative to ns-A
74 NSA=ns-A
75 NSB=ns-B
76 NSC=ns-C
281 # set sysctl values in NS-A
298 ${NSA_IP}) echo "ns-A IP";;
299 ${NSA_IP6}) echo "ns-A IPv6";;
300 ${NSA_LO_IP}) echo "ns-A loopback IP";;
301 ${NSA_LO_IP6}) echo "ns-A loopback IPv6";;
302 ${NSA_LINKIP6}|${NSA_LINKIP6}%*) echo "ns-A IPv6 LLA";;
304 ${NSB_IP}) echo "ns-B IP";;
305 ${NSB_IP6}) echo "ns-B IPv6";;
306 ${NSB_LO_IP}) echo "ns-B loopback IP";;
307 ${NSB_LO_IP6}) echo "ns-B loopback IPv6";;
308 ${NSB_LINKIP6}|${NSB_LINKIP6}%*) echo "ns-B IPv6 LLA";;
321 local ns=$1
325 addr=$(ip -netns ${ns} -6 -br addr show dev ${dev} | \
347 local ns=$1
353 ip -netns ${ns} link add ${vrf} type vrf table ${table}
354 ip -netns ${ns} link set ${vrf} up
355 ip -netns ${ns} route add vrf ${vrf} unreachable default metric 8192
356 ip -netns ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
358 ip -netns ${ns} addr add 127.0.0.1/8 dev ${vrf}
359 ip -netns ${ns} -6 addr add ::1 dev ${vrf} nodad
361 ip -netns ${ns} addr add dev ${vrf} ${addr}
364 ip -netns ${ns} -6 addr add dev ${vrf} ${addr6}
367 ip -netns ${ns} ru del pref 0
368 ip -netns ${ns} ru add pref 32765 from all lookup local
369 ip -netns ${ns} -6 ru del pref 0
370 ip -netns ${ns} -6 ru add pref 32765 from all lookup local
375 local ns=$1
379 ip netns add ${ns}
381 ip -netns ${ns} link set lo up
383 ip -netns ${ns} addr add dev lo ${addr}
386 ip -netns ${ns} -6 addr add dev lo ${addr6}
389 ip -netns ${ns} ro add unreachable default metric 8192
390 ip -netns ${ns} -6 ro add unreachable default metric 8192
392 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1
393 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
394 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1
395 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.forwarding=1
406 local ns2_dev=$6
435 ip -netns ${NSA} -6 addr flush dev ${NSA_DEV}
458 # some VRF tests use ns-C which has the same config as
459 # ns-B but for a device NOT in the VRF
484 # tell ns-A how to get to remote addresses of ns-B
490 ip -netns ${NSA} -6 ro add vrf ${VRF} ${NSB_LO_IP6}/128 via ${NSB_IP6} dev ${NSA_DEV}
493 ip -netns ${NSB} -6 ro add ${VRF_IP6}/128 via ${NSA_IP6} dev ${NSB_DEV}
500 # tell ns-B how to get to remote addresses of ns-A
2065 setup_cmd ip -6 rule add pref 32765 from all lookup local
2066 setup_cmd ip -6 rule del pref 0 from all lookup local
2067 setup_cmd ip -6 rule add pref 50 to ${NSB_LO_IP6} prohibit
2068 setup_cmd ip -6 rule add pref 51 from ${NSB_IP6} prohibit
2084 setup_cmd ip -6 rule add pref 0 from all lookup local
2085 setup_cmd ip -6 rule del pref 32765 from all lookup local
2086 setup_cmd ip -6 rule del pref 50 to ${NSB_LO_IP6} prohibit
2087 setup_cmd ip -6 rule del pref 51 from ${NSB_IP6} prohibit
2093 setup_cmd ip -6 route del ${NSB_LO_IP6}
2094 setup_cmd ip -6 route add unreachable ${NSB_LO_IP6} metric 10
2095 setup_cmd ip -6 route add unreachable ${NSB_IP6} metric 10
2116 setup_cmd ip -6 ro del unreachable ${NSB_LO_IP6}
2117 setup_cmd ip -6 ro del unreachable ${NSB_IP6}
2201 # LLA to GUA - remove ipv6 global addresses from ns-B
2202 setup_cmd_nsb ip -6 addr del ${NSB_IP6}/64 dev ${NSB_DEV}
2203 setup_cmd_nsb ip -6 addr del ${NSB_LO_IP6}/128 dev lo
2204 setup_cmd_nsb ip -6 ro add ${NSA_IP6}/128 via ${NSA_LINKIP6} dev ${NSB_DEV}
2213 setup_cmd_nsb ip -6 ro del ${NSA_IP6}/128 via ${NSA_LINKIP6} dev ${NSB_DEV}
2214 setup_cmd_nsb ip -6 addr add ${NSB_IP6}/64 dev ${NSB_DEV}
2215 setup_cmd_nsb ip -6 addr add ${NSB_LO_IP6}/128 dev lo
2221 setup_cmd ip -6 rule add pref 50 to ${NSB_LO_IP6} prohibit
2222 setup_cmd ip -6 rule add pref 51 from ${NSB_IP6} prohibit
2239 setup_cmd ip -6 rule del pref 50 to ${NSB_LO_IP6} prohibit
2240 setup_cmd ip -6 rule del pref 51 from ${NSB_IP6} prohibit
2246 setup_cmd ip -6 ro del ${NSB_LO_IP6} vrf ${VRF}
2256 ip -netns ${NSB} -6 ro del ${NSA_LO_IP6}
2296 run_cmd nettest -6 -s -M ${MD5_PW} -r ${NSB_IP6} &
2298 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2304 run_cmd nettest -6 -s &
2306 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2312 run_cmd nettest -6 -s -M ${MD5_PW} -r ${NSB_IP6} &
2314 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_WRONG_PW}
2320 run_cmd nettest -6 -s -M ${MD5_PW} -r ${NSB_LO_IP6} &
2322 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2331 run_cmd nettest -6 -s -M ${MD5_PW} -m ${NS_NET6} &
2333 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2339 run_cmd nettest -6 -s -M ${MD5_PW} -m ${NS_NET6} &
2341 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_WRONG_PW}
2347 run_cmd nettest -6 -s -M ${MD5_PW} -m ${NS_NET6} &
2349 run_cmd_nsb nettest -6 -l ${NSB_LO_IP6} -r ${NSA_IP6} -M ${MD5_PW}
2364 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2366 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2372 run_cmd nettest -6 -s -d ${VRF} &
2374 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2380 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2382 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_WRONG_PW}
2388 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_LO_IP6} &
2390 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2399 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2401 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2407 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2409 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_WRONG_PW}
2415 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2417 run_cmd_nsb nettest -6 -l ${NSB_LO_IP6} -r ${NSA_IP6} -M ${MD5_PW}
2425 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2426 run_cmd nettest -6 -s -M ${MD5_WRONG_PW} -r ${NSB_IP6} &
2428 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2432 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2433 run_cmd nettest -6 -s -M ${MD5_WRONG_PW} -r ${NSB_IP6} &
2435 run_cmd_nsc nettest -6 -r ${NSA_IP6} -M ${MD5_WRONG_PW}
2440 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2441 run_cmd nettest -6 -s -M ${MD5_WRONG_PW} -r ${NSB_IP6} &
2443 run_cmd_nsc nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2448 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -r ${NSB_IP6} &
2449 run_cmd nettest -6 -s -M ${MD5_WRONG_PW} -r ${NSB_IP6} &
2451 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_WRONG_PW}
2455 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2456 run_cmd nettest -6 -s -M ${MD5_WRONG_PW} -m ${NS_NET6} &
2458 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2462 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2463 run_cmd nettest -6 -s -M ${MD5_WRONG_PW} -m ${NS_NET6} &
2465 run_cmd_nsc nettest -6 -r ${NSA_IP6} -M ${MD5_WRONG_PW}
2470 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2471 run_cmd nettest -6 -s -M ${MD5_WRONG_PW} -m ${NS_NET6} &
2473 run_cmd_nsc nettest -6 -r ${NSA_IP6} -M ${MD5_PW}
2478 run_cmd nettest -6 -s -d ${VRF} -M ${MD5_PW} -m ${NS_NET6} &
2479 run_cmd nettest -6 -s -M ${MD5_WRONG_PW} -m ${NS_NET6} &
2481 run_cmd_nsb nettest -6 -r ${NSA_IP6} -M ${MD5_WRONG_PW}
2488 run_cmd nettest -6 -s -d ${NSA_DEV} -M ${MD5_PW} -r ${NSB_IP6}
2492 run_cmd nettest -6 -s -d ${NSA_DEV} -M ${MD5_PW} -m ${NS_NET6}
2507 run_cmd nettest -6 -s &
2509 run_cmd_nsb nettest -6 -r ${a}
2518 run_cmd_nsb nettest -6 -r ${a}
2528 run_cmd_nsb nettest -6 -s &
2530 run_cmd nettest -6 -r ${a}
2537 run_cmd_nsb nettest -6 -s &
2539 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2547 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2557 run_cmd nettest -6 -s &
2559 run_cmd nettest -6 -r ${a}
2565 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2567 run_cmd nettest -6 -r ${a} -0 ${a}
2574 run_cmd nettest -6 -s -d ${NSA_DEV} &
2576 run_cmd nettest -6 -r ${a}
2582 run_cmd nettest -6 -s &
2584 run_cmd nettest -6 -r ${a} -d ${NSA_DEV} -0 ${a}
2591 run_cmd nettest -6 -s &
2593 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2600 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2602 run_cmd nettest -6 -d ${NSA_DEV} -r ${a}
2610 run_cmd nettest -6 -d ${NSA_DEV} -r ${a}
2633 run_cmd nettest -6 -s &
2635 run_cmd_nsb nettest -6 -r ${a}
2642 run_cmd nettest -6 -s -d ${VRF} -2 ${VRF} &
2644 run_cmd_nsb nettest -6 -r ${a}
2651 run_cmd nettest -6 -s -d ${VRF} -2 ${NSA_DEV} &
2653 run_cmd_nsb nettest -6 -r ${a}
2659 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2661 run_cmd_nsb nettest -6 -r ${a}
2670 run_cmd_nsb nettest -6 -r ${a}
2678 run_cmd nettest -6 -s &
2680 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2697 run_cmd nettest -6 -s -2 ${VRF} &
2699 run_cmd_nsb nettest -6 -r ${a}
2706 run_cmd nettest -6 -s -d ${VRF} -2 ${VRF} &
2708 run_cmd_nsb nettest -6 -r ${a}
2715 run_cmd nettest -6 -s -2 ${NSA_DEV} &
2717 run_cmd_nsb nettest -6 -r ${a}
2721 run_cmd nettest -6 -s -d ${VRF} -2 ${NSA_DEV} &
2723 run_cmd_nsb nettest -6 -r ${a}
2729 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2731 run_cmd_nsb nettest -6 -r ${a}
2740 run_cmd_nsb nettest -6 -r ${a}
2749 run_cmd nettest -6 -s -d ${VRF} &
2751 run_cmd nettest -6 -r ${a}
2762 run_cmd_nsb nettest -6 -s &
2764 run_cmd nettest -6 -r ${a} -d ${VRF}
2771 run_cmd_nsb nettest -6 -s &
2773 run_cmd nettest -6 -r ${a} -d ${VRF}
2779 run_cmd_nsb nettest -6 -s &
2781 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2789 run_cmd nettest -6 -r ${a} -d ${VRF}
2797 run_cmd nettest -6 -r ${a} -d ${NSA_DEV}
2804 run_cmd nettest -6 -s -d ${VRF} -2 ${VRF} &
2806 run_cmd nettest -6 -r ${a} -d ${VRF} -0 ${a}
2812 run_cmd nettest -6 -s -d ${VRF} -2 ${VRF} &
2814 run_cmd nettest -6 -r ${a} -d ${NSA_DEV} -0 ${a}
2820 run_cmd nettest -6 -s -d ${VRF} &
2822 run_cmd nettest -6 -r ${a}
2826 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2828 run_cmd nettest -6 -r ${a} -d ${VRF} -0 ${a}
2834 run_cmd nettest -6 -s -d ${NSA_DEV} -2 ${NSA_DEV} &
2836 run_cmd nettest -6 -r ${a} -d ${NSA_DEV} -0 ${a}
2874 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
2876 run_cmd_nsb nettest -6 -D -r ${a}
2880 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
2882 run_cmd_nsb nettest -6 -D -r ${a}
2888 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
2890 run_cmd_nsb nettest -6 -D -r ${a}
2898 #run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
2900 #run_cmd_nsb nettest -6 -D -r ${a}
2908 run_cmd_nsb nettest -6 -D -r ${a}
2918 run_cmd_nsb nettest -6 -D -s &
2920 run_cmd nettest -6 -D -r ${a} -0 ${NSA_IP6}
2924 run_cmd_nsb nettest -6 -D -s &
2926 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -0 ${NSA_IP6}
2930 run_cmd_nsb nettest -6 -D -s &
2932 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -C -0 ${NSA_IP6}
2936 run_cmd_nsb nettest -6 -D -s &
2938 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -S -0 ${NSA_IP6}
2943 run_cmd nettest -6 -D -r ${a}
2948 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV}
2958 run_cmd nettest -6 -D -s &
2960 run_cmd nettest -6 -D -r ${a} -0 ${a} -1 ${a}
2966 run_cmd nettest -6 -s -D -d ${NSA_DEV} -2 ${NSA_DEV} &
2968 run_cmd nettest -6 -D -r ${a}
2975 run_cmd nettest -6 -s -D -d ${NSA_DEV} &
2977 run_cmd nettest -6 -D -r ${a}
2983 run_cmd nettest -6 -s -D &
2985 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
2989 run_cmd nettest -6 -s -D &
2991 run_cmd nettest -6 -D -d ${NSA_DEV} -C -r ${a}
2995 run_cmd nettest -6 -s -D &
2997 run_cmd nettest -6 -D -d ${NSA_DEV} -S -r ${a}
3004 run_cmd nettest -6 -D -s &
3006 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV}
3011 run_cmd nettest -6 -D -s &
3013 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -C
3018 run_cmd nettest -6 -D -s &
3020 run_cmd nettest -6 -D -r ${a} -d ${NSA_DEV} -S
3026 run_cmd nettest -6 -D -s -d ${NSA_DEV} -2 ${NSA_DEV} &
3028 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a} -0 ${a}
3033 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3037 run_cmd_nsb ip -6 addr del ${NSB_IP6}/64 dev ${NSB_DEV}
3038 run_cmd_nsb ip -6 ro add ${NSA_IP6}/128 dev ${NSB_DEV}
3040 run_cmd nettest -6 -s -D &
3042 run_cmd_nsb nettest -6 -D -r ${NSA_IP6}
3045 run_cmd_nsb ip -6 ro del ${NSA_IP6}/128 dev ${NSB_DEV}
3046 run_cmd_nsb ip -6 addr add ${NSB_IP6}/64 dev ${NSB_DEV} nodad
3064 run_cmd nettest -6 -D -s &
3066 run_cmd_nsb nettest -6 -D -r ${a}
3073 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3075 run_cmd_nsb nettest -6 -D -r ${a}
3082 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3084 run_cmd_nsb nettest -6 -D -r ${a}
3093 run_cmd_nsb nettest -6 -D -r ${a}
3104 run_cmd nettest -6 -D -s &
3106 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3113 run_cmd nettest -6 -D -d ${VRF} -s &
3115 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3122 run_cmd nettest -6 -D -s &
3124 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3128 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3130 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3134 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3136 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3140 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3142 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3155 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
3157 run_cmd_nsb nettest -6 -D -r ${a}
3164 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3166 run_cmd_nsb nettest -6 -D -r ${a}
3173 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3175 run_cmd_nsb nettest -6 -D -r ${a}
3183 run_cmd_nsb nettest -6 -D -r ${a}
3191 run_cmd_nsb nettest -6 -D -s &
3193 run_cmd nettest -6 -D -d ${VRF} -r ${NSB_IP6}
3198 run_cmd nettest -6 -D -d ${VRF} -r ${NSB_IP6}
3202 run_cmd_nsb nettest -6 -D -s &
3204 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSB_IP6}
3209 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSB_IP6}
3217 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
3219 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3223 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3225 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3231 run_cmd nettest -6 -D -s -2 ${VRF} &
3233 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3237 run_cmd nettest -6 -D -d ${VRF} -s -2 ${VRF} &
3239 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3246 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3253 run_cmd nettest -6 -D -s -2 ${NSA_DEV} &
3255 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3259 run_cmd nettest -6 -D -d ${VRF} -s -2 ${NSA_DEV} &
3261 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3265 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3267 run_cmd nettest -6 -D -d ${VRF} -r ${a}
3271 run_cmd nettest -6 -D -d ${NSA_DEV} -s -2 ${NSA_DEV} &
3273 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3277 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${a}
3283 run_cmd nettest -6 -D -s &
3285 run_cmd_nsb nettest -6 -D -d ${NSB_DEV} -r ${NSA_LINKIP6}
3289 run_cmd_nsb nettest -6 -D -d ${NSB_DEV} -r ${NSA_LINKIP6}
3294 run_cmd_nsb nettest -6 -D -s &
3296 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSB_LINKIP6}
3300 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSB_LINKIP6}
3305 run_cmd nettest -6 -D -s &
3307 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSA_LINKIP6}
3311 run_cmd nettest -6 -D -d ${NSA_DEV} -r ${NSA_LINKIP6}
3315 run_cmd_nsb ip -6 addr del ${NSB_IP6}/64 dev ${NSB_DEV}
3316 run_cmd_nsb ip -6 ro add ${NSA_IP6}/128 dev ${NSB_DEV}
3318 run_cmd nettest -6 -s -D &
3320 run_cmd_nsb nettest -6 -D -r ${NSA_IP6}
3323 run_cmd_nsb ip -6 ro del ${NSA_IP6}/128 dev ${NSB_DEV}
3324 run_cmd_nsb ip -6 addr add ${NSB_IP6}/64 dev ${NSB_DEV} nodad
3361 run_cmd nettest -6 -s -R -P ipv6-icmp -l ${a} -b
3365 run_cmd nettest -6 -s -R -P ipv6-icmp -l ${a} -d ${NSA_DEV} -b
3374 run_cmd nettest -6 -s -l ${a} -t1 -b
3378 run_cmd nettest -6 -s -l ${a} -d ${NSA_DEV} -t1 -b
3387 run_cmd nettest -6 -s -l ${a} -I ${NSA_DEV} -t1 -b
3399 run_cmd nettest -6 -s -R -P ipv6-icmp -l ${a} -d ${VRF} -b
3403 run_cmd nettest -6 -s -R -P ipv6-icmp -l ${a} -d ${NSA_DEV} -b
3410 run_cmd nettest -6 -s -R -P ipv6-icmp -l ${a} -d ${VRF} -b
3420 run_cmd nettest -6 -s -l ${a} -d ${VRF} -t1 -b
3426 run_cmd nettest -6 -s -l ${a} -d ${NSA_DEV} -t1 -b
3436 run_cmd nettest -6 -s -l ${a} -I ${NSA_DEV} -t1 -b
3442 run_cmd nettest -6 -s -l ${a} -d ${VRF} -t1 -b
3447 run_cmd nettest -6 -s -l ${a} -d ${NSA_DEV} -t1 -b
3471 local varg="-6 $2"
3717 run_cmd nettest -6 -s &
3719 run_cmd_nsb nettest -6 -r ${a}
3735 run_cmd nettest -6 -s ${arg} &
3737 run_cmd_nsb nettest -6 ${arg} -r ${a}
3770 # ns-A device enslaved to bridge. Verify traffic with and without
3778 setup_cmd ip -6 addr del dev ${NSA_DEV} ${NSA_IP6}/64
3782 setup_cmd ip -6 addr add dev br0 ${NSA_IP6}/64 nodad
3831 setup_cmd ip -6 addr add dev br0.100 2001:db8:101::1/64 nodad
3835 setup_cmd_nsb ip -6 addr add dev vlan100 2001:db8:101::2/64 nodad
3881 # ns-A device is connected to both ns-B and ns-C on a single VRF but only has
3886 # only want reply from ns-A
3892 log_test_addr ${MCAST}%${NSB_DEV} $? 0 "Pre cycle, ping out ns-B"
3895 log_test_addr ${MCAST}%${NSC_DEV} $? 0 "Pre cycle, ping out ns-C"
3897 # cycle/flap the first ns-A interface
3904 log_test_addr ${MCAST}%${NSB_DEV} $? 0 "Post cycle ${NSA} ${NSA_DEV}, ping out ns-B"
3906 log_test_addr ${MCAST}%${NSC_DEV} $? 0 "Post cycle ${NSA} ${NSA_DEV}, ping out ns-C"
3908 # cycle/flap the second ns-A interface
3915 log_test_addr ${MCAST}%${NSB_DEV} $? 0 "Post cycle ${NSA} ${NSA_DEV2}, ping out ns-B"
3917 log_test_addr ${MCAST}%${NSC_DEV} $? 0 "Post cycle ${NSA} ${NSA_DEV2}, ping out ns-C"
3938 -6 IPv6 tests only
3960 6) TESTS=ipv6;;