Lines Matching +full:6 +full:ns
48 local ns
53 ns="$1"
61 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
77 local ns=$1
85 ip -netns ${ns} addr add dev lo ${addr}
88 ip -netns ${ns} -6 addr add dev lo ${addr6}
91 ip -netns ${ns} ro add unreachable default metric 8192
92 ip -netns ${ns} -6 ro add unreachable default metric 8192
94 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1
95 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
96 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1
97 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.forwarding=1
98 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.accept_dad=0
109 local ns2_dev=$6
191 ip -netns $host_1 -6 ro add fc00:101::2/128 via fc00:1::2
192 ip -netns $host_2 -6 ro add fc00:101::1/128 via fc00:1::1
213 ip -netns $host_1 -6 ro add 2001:db8:2::/64 via 2001:db8:1::2
216 ip -netns $host_2 -6 ro add 2001:db8:1::/64 via 2001:db8:2::2
267 run_cmd $host_1 ip -6 xfrm policy add \
271 run_cmd $host_1 ip -6 xfrm policy add \
275 run_cmd $host_2 ip -6 xfrm policy add \
279 run_cmd $host_2 ip -6 xfrm policy add \
283 ip -netns $host_1 -6 xfrm state add \
288 ip -netns $host_1 -6 xfrm state add \
293 ip -netns $host_2 -6 xfrm state add \
298 ip -netns $host_2 -6 xfrm state add \