Lines Matching refs:ns1
123 ns1="ns1-$rndh"
137 for netns in "$ns1" "$ns2" "$ns3" "$ns4";do
158 for i in "$ns1" "$ns2" "$ns3" "$ns4";do
168 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
172 ip -net "$ns1" addr add 10.0.1.1/24 dev ns1eth2
173 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth2 nodad
175 ip -net "$ns1" link set ns1eth2 up
176 ip -net "$ns1" route add default via 10.0.1.2
177 ip -net "$ns1" route add default via dead:beef:1::2
210 for i in "$ns1" "$ns2" "$ns3" "$ns4";do
702 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1 "-P ${peekmode}"
703 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1 "-P ${peekmode}"
735 for sender in "$ns1" "$ns2" "$ns3" "$ns4";do
736 do_ping "$ns1" $sender 10.0.1.1
737 do_ping "$ns1" $sender dead:beef:1::1
782 run_tests_lo "$ns1" "$ns1" 10.0.1.1 1
785 run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1
788 for sender in $ns1 $ns2 $ns3 $ns4;do
791 if [ $sender = $ns1 ]; then
797 run_tests "$ns1" $sender 10.0.1.1
798 run_tests "$ns1" $sender dead:beef:1::1