Lines Matching full:ns2
4 # NS1 ---- NS2 ---- NS3 ---- NS4 ---- NS5 ---- NS6
8 # All IPv6 packets going to fb00::/16 through NS2 will be encapsulated in a
27 readonly NS2="ns2-$(mktemp -u XXXXXX)"
51 ip netns del ${NS2} 2> /dev/null
62 ip netns add ${NS2}
77 ip link set veth2 netns ${NS2}
78 ip link set veth3 netns ${NS2}
88 ip netns exec ${NS2} ip link set dev veth2 up
89 ip netns exec ${NS2} ip link set dev veth3 up
102 ip netns exec ${NS2} ip -6 addr add fb00::21/16 dev veth2 scope link
103 ip netns exec ${NS2} ip -6 addr add fb00::34/16 dev veth3 scope link
104 ip netns exec ${NS2} ip -6 route add fb00::43 dev veth3 scope link
120 ip netns exec ${NS2} ip -6 route add fb00::6 encap bpf in obj test_lwt_seg6local.o sec encap_srh de…
121 ip netns exec ${NS2} ip -6 route add fd00::1 dev veth3 via fb00::43 scope link
137 ip netns exec ${NS2} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null