Lines Matching refs:ns2
14 cleanup_ns $ns1 $ns2 $ns3
21 setup_ns ns1 ns2 ns3
29 ip link set veth21 netns $ns2
30 ip link set veth23 netns $ns2
35 ip -n $ns2 addr add 2001:db8:1::2/64 dev veth21 nodad
36 ip -n $ns2 addr add 2001:db8:2::1/64 dev veth23 nodad
41 ip -n $ns2 link set veth21 up
42 ip -n $ns2 link set veth23 up
50 ip netns exec $ns2 sysctl -qw net.ipv6.conf.all.forwarding=0
59 if ! ip netns exec $ns2 test -f /proc/sys/net/ipv6/conf/veth21/force_forwarding; then
65 ip netns exec $ns2 sysctl -qw net.ipv6.conf.veth21.force_forwarding=0
66 ip netns exec $ns2 sysctl -qw net.ipv6.conf.veth23.force_forwarding=0
76 ip netns exec $ns2 sysctl -qw net.ipv6.conf.veth21.force_forwarding=1
77 ip netns exec $ns2 sysctl -qw net.ipv6.conf.veth23.force_forwarding=1