Lines Matching full:ip

50 	ip netns del ${NS1} 2> /dev/null
51 ip netns del ${NS2} 2> /dev/null
52 ip netns del ${NS3} 2> /dev/null
53 ip netns del ${NS4} 2> /dev/null
54 ip netns del ${NS5} 2> /dev/null
55 ip netns del ${NS6} 2> /dev/null
61 ip netns add ${NS1}
62 ip netns add ${NS2}
63 ip netns add ${NS3}
64 ip netns add ${NS4}
65 ip netns add ${NS5}
66 ip netns add ${NS6}
70 ip link add veth1 type veth peer name veth2
71 ip link add veth3 type veth peer name veth4
72 ip link add veth5 type veth peer name veth6
73 ip link add veth7 type veth peer name veth8
74 ip link add veth9 type veth peer name veth10
76 ip link set veth1 netns ${NS1}
77 ip link set veth2 netns ${NS2}
78 ip link set veth3 netns ${NS2}
79 ip link set veth4 netns ${NS3}
80 ip link set veth5 netns ${NS3}
81 ip link set veth6 netns ${NS4}
82 ip link set veth7 netns ${NS4}
83 ip link set veth8 netns ${NS5}
84 ip link set veth9 netns ${NS5}
85 ip link set veth10 netns ${NS6}
87 ip netns exec ${NS1} ip link set dev veth1 up
88 ip netns exec ${NS2} ip link set dev veth2 up
89 ip netns exec ${NS2} ip link set dev veth3 up
90 ip netns exec ${NS3} ip link set dev veth4 up
91 ip netns exec ${NS3} ip link set dev veth5 up
92 ip netns exec ${NS4} ip link set dev veth6 up
93 ip netns exec ${NS4} ip link set dev veth7 up
94 ip netns exec ${NS5} ip link set dev veth8 up
95 ip netns exec ${NS5} ip link set dev veth9 up
96 ip netns exec ${NS6} ip link set dev veth10 up
97 ip netns exec ${NS6} ip link set dev lo up
100 ip netns exec ${NS1} ip -6 addr add fb00::12/16 dev veth1 scope link
101 ip netns exec ${NS1} ip -6 route add fb00::21 dev veth1 scope link
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
105 ip netns exec ${NS3} ip -6 route add fb00::65 dev veth5 scope link
106 ip netns exec ${NS3} ip -6 addr add fb00::43/16 dev veth4 scope link
107 ip netns exec ${NS3} ip -6 addr add fb00::56/16 dev veth5 scope link
108 ip netns exec ${NS4} ip -6 addr add fb00::65/16 dev veth6 scope link
109 ip netns exec ${NS4} ip -6 addr add fb00::78/16 dev veth7 scope link
110 ip netns exec ${NS4} ip -6 route add fb00::87 dev veth7 scope link
111 ip netns exec ${NS5} ip -6 addr add fb00::87/16 dev veth8 scope link
112 ip netns exec ${NS5} ip -6 addr add fb00::910/16 dev veth9 scope link
113 ip netns exec ${NS5} ip -6 route add fb00::109 dev veth9 scope link
114 ip netns exec ${NS5} ip -6 route add fb00::109 table 117 dev veth9 scope link
115 ip netns exec ${NS6} ip -6 addr add fb00::109/16 dev veth10 scope link
117 ip netns exec ${NS1} ip -6 addr add fb00::1/16 dev lo
118 ip netns exec ${NS1} ip -6 route add fb00::6 dev veth1 via fb00::21
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
123 ip netns exec ${NS3} ip -6 route add fc42::1 dev veth5 via fb00::65
124 ip netns exec ${NS3} ip -6 route add fd00::1 encap seg6local action End.BPF endpoint obj test_lwt_s…
126 ip netns exec ${NS4} ip -6 route add fd00::2 encap seg6local action End.BPF endpoint obj test_lwt_s…
127 ip netns exec ${NS4} ip -6 addr add fc42::1 dev lo
128 ip netns exec ${NS4} ip -6 route add fd00::3 dev veth7 via fb00::87
130 ip netns exec ${NS5} ip -6 route add fd00::4 table 117 dev veth9 via fb00::109
131 ip netns exec ${NS5} ip -6 route add fd00::3 encap seg6local action End.BPF endpoint obj test_lwt_s…
133 ip netns exec ${NS6} ip -6 addr add fb00::6/16 dev lo
134 ip netns exec ${NS6} ip -6 addr add fd00::4/16 dev lo
136 ip netns exec ${NS1} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
137 ip netns exec ${NS2} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
138 ip netns exec ${NS3} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
139 ip netns exec ${NS4} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
140 ip netns exec ${NS5} sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
142 ip netns exec ${NS6} sysctl net.ipv6.conf.all.seg6_enabled=1 > /dev/null
143 ip netns exec ${NS6} sysctl net.ipv6.conf.lo.seg6_enabled=1 > /dev/null
144 ip netns exec ${NS6} sysctl net.ipv6.conf.veth10.seg6_enabled=1 > /dev/null
146 ip netns exec ${NS6} nc -l -6 -u -d 7330 > $TMP_FILE &
147 ip netns exec ${NS1} bash -c "echo 'foobar' | nc -w0 -6 -u -p 2121 -s fb00::1 fb00::6 7330"