Lines Matching refs:NS2
28 readonly NS2="ns2-$(mktemp -u XXXXXX)"
52 ip netns del ${NS2} 2> /dev/null
63 ip netns add ${NS2}
78 ip link set veth2 netns ${NS2}
79 ip link set veth3 netns ${NS2}
89 ip netns exec ${NS2} ip link set dev veth2 up
90 ip netns exec ${NS2} ip link set dev veth3 up
103 ip netns exec ${NS2} ip -6 addr add fb00::21/16 dev veth2 scope link
104 ip netns exec ${NS2} ip -6 addr add fb00::34/16 dev veth3 scope link
105 ip netns exec ${NS2} ip -6 route add fb00::43 dev veth3 scope link
121 ip netns exec ${NS2} ip -6 route add fb00::6 encap bpf in obj ${BPF_FILE} sec encap_srh dev veth2
122 ip netns exec ${NS2} ip -6 route add fd00::1 dev veth3 via fb00::43 scope link
138 ip netns exec ${NS2} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null