Lines Matching refs:ns1
115 ns1="ns1-$rndh"
129 for netns in "$ns1" "$ns2" "$ns3" "$ns4";do
147 for i in "$ns1" "$ns2" "$ns3" "$ns4";do
157 ip link add ns1eth2 netns "$ns1" type veth peer name ns2eth1 netns "$ns2"
161 ip -net "$ns1" addr add 10.0.1.1/24 dev ns1eth2
162 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth2 nodad
164 ip -net "$ns1" link set ns1eth2 up
165 ip -net "$ns1" route add default via 10.0.1.2
166 ip -net "$ns1" route add default via dead:beef:1::2
612 for sender in "$ns1" "$ns2" "$ns3" "$ns4";do
613 do_ping "$ns1" $sender 10.0.1.1
614 do_ping "$ns1" $sender dead:beef:1::1
657 for sender in $ns1 $ns2 $ns3 $ns4;do
658 run_tests_lo "$ns1" "$sender" 10.0.1.1 1
663 run_tests_lo "$ns1" $sender dead:beef:1::1 1