Lines Matching refs:ns2
21 ns2="ns2-$rndh"
45 for netns in "$ns1" "$ns2" "$ns_sbox";do
55 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"
60 ip -net "$ns2" addr add 10.0.$i.2/24 dev ns2eth$i
61 ip -net "$ns2" addr add dead:beef:$i::2/64 dev ns2eth$i nodad
62 ip -net "$ns2" link set ns2eth$i up
65 ip -net "$ns2" route add default via 10.0.$i.1 dev ns2eth$i metric 10$i
70 ip netns exec $ns2 ./pm_nl_ctl add 10.0.$i.2 flags signal
71 ip netns exec $ns2 ./pm_nl_ctl add dead:beef:$i::2 flags signal
75 ip netns exec $ns2 ./pm_nl_ctl limits 8 8
78 add_mark_rules $ns2 2
84 for netns in "$ns1" "$ns2" "$ns_sbox"; do
365 run_tests $ns1 $ns2 10.0.1.1
366 run_tests $ns1 $ns2 dead:beef:1::1