Lines Matching refs:NS3
50 readonly NS3="ns3-$(mktemp -u XXXXXX)"
114 ip netns add "${NS3}"
119 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.all.rp_filter=0
122 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.default.rp_filter=0
127 ip netns exec ${NS3} sysctl -wq net.ipv6.conf.all.accept_dad=0
130 ip netns exec ${NS3} sysctl -wq net.ipv6.conf.default.accept_dad=0
143 ip link set veth4 netns ${NS3}
147 ip link set veth8 netns ${NS3}
171 ip -netns ${NS3} addr add ${IPv4_4}/24 dev veth4
175 ip -netns ${NS3} -6 addr add ${IPv6_4}/128 nodad dev veth4
181 ip -netns ${NS3} addr add ${IPv4_8}/24 dev veth8
185 ip -netns ${NS3} -6 addr add ${IPv6_8}/128 nodad dev veth8
190 ip -netns ${NS3} link set dev veth4 up
194 ip -netns ${NS3} link set dev veth8 up
227 ip -netns ${NS3} route add ${IPv4_3}/32 dev veth4
228 ip -netns ${NS3} route add ${IPv4_1}/32 dev veth4 via ${IPv4_3}
229 ip -netns ${NS3} route add ${IPv4_2}/32 dev veth4 via ${IPv4_3}
230 ip -netns ${NS3} -6 route add ${IPv6_3}/128 dev veth4
231 ip -netns ${NS3} -6 route add ${IPv6_1}/128 dev veth4 via ${IPv6_3}
232 ip -netns ${NS3} -6 route add ${IPv6_2}/128 dev veth4 via ${IPv6_3}
234 ip -netns ${NS3} route add ${IPv4_7}/32 dev veth8
235 ip -netns ${NS3} route add ${IPv4_5}/32 dev veth8 via ${IPv4_7}
236 ip -netns ${NS3} route add ${IPv4_6}/32 dev veth8 via ${IPv4_7}
237 ip -netns ${NS3} -6 route add ${IPv6_7}/128 dev veth8
238 ip -netns ${NS3} -6 route add ${IPv6_5}/128 dev veth8 via ${IPv6_7}
239 ip -netns ${NS3} -6 route add ${IPv6_6}/128 dev veth8 via ${IPv6_7}
242 ip -netns ${NS3} tunnel add gre_dev mode gre remote ${IPv4_1} local ${IPv4_GRE} ttl 255
243 ip -netns ${NS3} link set gre_dev up
244 ip -netns ${NS3} addr add ${IPv4_GRE} dev gre_dev
250 ip -netns ${NS3} -6 tunnel add name gre6_dev mode ip6gre remote ${IPv6_1} local ${IPv6_GRE} ttl 255
251 ip -netns ${NS3} link set gre6_dev up
252 ip -netns ${NS3} -6 addr add ${IPv6_GRE} nodad dev gre6_dev
270 ip netns del ${NS3} 2> /dev/null
332 ip netns exec ${NS3} bash -c \
336 ip netns exec ${NS3} bash -c \