Lines Matching full:ns2
37 ns2="ns2-$rndh"
40 for netns in "$ns1" "$ns2" "$ns_sbox";do
49 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"
54 ip -net "$ns2" addr add 10.0.$i.2/24 dev ns2eth$i
55 ip -net "$ns2" addr add dead:beef:$i::2/64 dev ns2eth$i nodad
56 ip -net "$ns2" link set ns2eth$i up
58 # let $ns2 reach any $ns1 address from any interface
59 ip -net "$ns2" route add default via 10.0.$i.1 dev ns2eth$i metric 10$i
64 ip netns exec $ns2 ./pm_nl_ctl add 10.0.$i.2 flags signal
65 ip netns exec $ns2 ./pm_nl_ctl add dead:beef:$i::2 flags signal
69 ip netns exec $ns2 ./pm_nl_ctl limits 8 8
72 add_mark_rules $ns2 2
77 for netns in "$ns1" "$ns2" "$ns_sbox"; do
331 run_tests $ns1 $ns2 10.0.1.1
332 run_tests $ns1 $ns2 dead:beef:1::1