Lines Matching refs:ns1
10 readonly ns1="${ns_prefix}1"
28 ip netns add "${ns1}"
31 ip link add dev veth1 mtu 1500 netns "${ns1}" type veth \
34 ip netns exec "${ns1}" ethtool -K veth1 tso off
36 ip -netns "${ns1}" link set veth1 up
39 ip -netns "${ns1}" -4 addr add "${ns1_v4}/24" dev veth1
41 ip -netns "${ns1}" -6 addr add "${ns1_v6}/64" dev veth1 nodad
45 ip -netns "${ns1}" -4 route flush table main
46 ip -netns "${ns1}" -6 route flush table main
47 ip -netns "${ns1}" -4 route add "${ns2_v4}" mtu 1450 dev veth1
48 ip -netns "${ns1}" -6 route add "${ns2_v6}" mtu 1430 dev veth1
57 ip netns del "${ns1}"
78 ip netns exec "${ns1}" timeout 2 nc "${netcat_opt}" -w 1 "${addr2}" "${port}" < "${infile}"
197 ip netns exec "${ns1}" tc qdisc add dev veth1 clsact
198 ip netns exec "${ns1}" tc filter add dev veth1 egress \