Lines Matching refs:ip
58 ip netns add at_ns0
59 ip link add veth0 type veth peer name veth1
60 ip link set veth0 netns at_ns0
61 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
62 ip netns exec at_ns0 ip link set dev veth0 up
63 ip link set dev veth1 up mtu 1500
64 ip addr add dev veth1 172.16.1.200/24
70 ip netns exec at_ns0 \
71 ip link add dev $DEV_NS type $TYPE seq key 2 \
73 ip netns exec at_ns0 ip link set dev $DEV_NS up
74 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
77 ip link add dev $DEV type $TYPE key 2 external
78 ip link set dev $DEV up
79 ip addr add dev $DEV 10.1.1.200/24
86 ip netns exec at_ns0 ip addr add ::11/96 dev veth0
87 ip netns exec at_ns0 ip link set dev veth0 up
88 ip addr add dev veth1 ::22/96
89 ip link set dev veth1 up
92 ip netns exec at_ns0 \
93 ip link add dev $DEV_NS type $TYPE seq flowlabel 0xbcdef key 2 \
96 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
97 ip netns exec at_ns0 ip addr add dev $DEV_NS fc80::100/96
98 ip netns exec at_ns0 ip link set dev $DEV_NS up
101 ip link add dev $DEV type $TYPE external
102 ip addr add dev $DEV 10.1.1.200/24
103 ip addr add dev $DEV fc80::200/24
104 ip link set dev $DEV up
111 ip netns exec at_ns0 \
112 ip link add dev $DEV_NS type $TYPE seq key 2 \
116 ip netns exec at_ns0 \
117 ip link add dev $DEV_NS type $TYPE seq key 2 \
121 ip netns exec at_ns0 ip link set dev $DEV_NS up
122 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
125 ip link add dev $DEV type $TYPE external
126 ip link set dev $DEV up
127 ip addr add dev $DEV 10.1.1.200/24
134 ip netns exec at_ns0 ip addr add ::11/96 dev veth0
135 ip netns exec at_ns0 ip link set dev veth0 up
136 ip addr add dev veth1 ::22/96
137 ip link set dev veth1 up
141 ip netns exec at_ns0 \
142 ip link add dev $DEV_NS type $TYPE seq key 2 \
146 ip netns exec at_ns0 \
147 ip link add dev $DEV_NS type $TYPE seq key 2 \
151 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
152 ip netns exec at_ns0 ip link set dev $DEV_NS up
155 ip link add dev $DEV type $TYPE external
156 ip addr add dev $DEV 10.1.1.200/24
157 ip link set dev $DEV up
163 ip netns exec at_ns0 \
164 ip link add dev $DEV_NS type $TYPE \
166 ip netns exec at_ns0 ip link set dev $DEV_NS up
167 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
170 ip link add dev $DEV type $TYPE dstport 6081 external
171 ip link set dev $DEV up
172 ip addr add dev $DEV 10.1.1.200/24
177 ip netns exec at_ns0 ip addr add ::11/96 dev veth0
178 ip netns exec at_ns0 ip link set dev veth0 up
179 ip addr add dev veth1 ::22/96
180 ip link set dev veth1 up
183 ip netns exec at_ns0 \
184 ip link add dev $DEV_NS type $TYPE id 22 \
186 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
187 ip netns exec at_ns0 ip link set dev $DEV_NS up
190 ip link add dev $DEV type $TYPE external
191 ip addr add dev $DEV 10.1.1.200/24
192 ip link set dev $DEV up
198 ip netns exec at_ns0 \
199 ip link add dev $DEV_NS type $TYPE \
201 ip netns exec at_ns0 ip link set dev $DEV_NS up
202 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
205 ip link add dev $DEV type $TYPE external
206 ip link set dev $DEV up
207 ip addr add dev $DEV 10.1.1.200/24
212 ip netns exec at_ns0 ip addr add ::11/96 dev veth0
213 ip netns exec at_ns0 ip link set dev veth0 up
214 ip addr add dev veth1 ::22/96
215 ip link set dev veth1 up
218 ip netns exec at_ns0 \
219 ip link add dev $DEV_NS type $TYPE \
221 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
222 ip netns exec at_ns0 ip addr add dev $DEV_NS 1::11/96
223 ip netns exec at_ns0 ip link set dev $DEV_NS up
226 ip link add dev $DEV type $TYPE external
227 ip addr add dev $DEV 10.1.1.200/24
228 ip addr add dev $DEV 1::22/96
229 ip link set dev $DEV up
245 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
271 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
275 ip netns exec at_ns0 ping6 $PING_ARG fc80::200
300 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
304 ip netns exec at_ns0 ping6 $PING_ARG fc80::200
328 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
351 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
375 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
399 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
420 ip link set dev veth1 mtu 1500
424 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
445 ip link set dev veth1 mtu 1500
452 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
473 ip link set dev veth1 mtu 1500
480 ip netns exec at_ns0 ping6 $PING_ARG 1::22
499 ip netns exec at_ns0 \
500 ip xfrm state add src 172.16.1.100 dst 172.16.1.200 proto esp \
503 ip netns exec at_ns0 \
504 ip xfrm policy add src 10.1.1.100/32 dst 10.1.1.200/32 dir out \
508 ip netns exec at_ns0 \
509 ip xfrm state add src 172.16.1.200 dst 172.16.1.100 proto esp \
512 ip netns exec at_ns0 \
513 ip xfrm policy add src 10.1.1.200/32 dst 10.1.1.100/32 dir in \
517 ip netns exec at_ns0 \
518 ip addr add dev veth0 10.1.1.100/32
519 ip netns exec at_ns0 \
520 ip route add 10.1.1.200 dev veth0 via 172.16.1.200 \
525 ip xfrm state add src 172.16.1.100 dst 172.16.1.200 proto esp \
528 ip xfrm policy add src 10.1.1.100/32 dst 10.1.1.200/32 dir in \
532 ip xfrm state add src 172.16.1.200 dst 172.16.1.100 proto esp \
535 ip xfrm policy add src 10.1.1.200/32 dst 10.1.1.100/32 dir out \
539 ip addr add dev veth1 10.1.1.200/32
540 ip route add 10.1.1.100 dev veth1 via 172.16.1.100 src 10.1.1.200
551 tc filter add dev veth1 proto ip ingress bpf da object-pinned \
553 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
586 ip netns delete at_ns0 2> /dev/null
587 ip link del veth1 2> /dev/null
588 ip link del ipip11 2> /dev/null
589 ip link del ipip6tnl11 2> /dev/null
590 ip link del ip6ip6tnl11 2> /dev/null
591 ip link del gretap11 2> /dev/null
592 ip link del ip6gre11 2> /dev/null
593 ip link del ip6gretap11 2> /dev/null
594 ip link del geneve11 2> /dev/null
595 ip link del ip6geneve11 2> /dev/null
596 ip link del erspan11 2> /dev/null
597 ip link del ip6erspan11 2> /dev/null
598 ip xfrm policy delete dir out src 10.1.1.200/32 dst 10.1.1.100/32 2> /dev/null
599 ip xfrm policy delete dir in src 10.1.1.100/32 dst 10.1.1.200/32 2> /dev/null
600 ip xfrm state delete src 172.16.1.100 dst 172.16.1.200 proto esp spi 0x1 2> /dev/null
601 ip xfrm state delete src 172.16.1.200 dst 172.16.1.100 proto esp spi 0x2 2> /dev/null
613 ip link help 2>&1 | grep -q "\s$1\s"