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
75 ip netns exec at_ns0 \
76 ip link add dev $DEV_NS type $TYPE seq $tun_key \
78 ip netns exec at_ns0 ip link set dev $DEV_NS up
79 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
82 ip link add dev $DEV type $TYPE $tun_key external
83 ip link set dev $DEV up
84 ip addr add dev $DEV 10.1.1.200/24
91 ip netns exec at_ns0 ip addr add ::11/96 dev veth0
92 ip netns exec at_ns0 ip link set dev veth0 up
93 ip addr add dev veth1 ::22/96
94 ip link set dev veth1 up
97 ip netns exec at_ns0 \
98 ip link add dev $DEV_NS type $TYPE seq flowlabel 0xbcdef key 2 \
101 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
102 ip netns exec at_ns0 ip addr add dev $DEV_NS fc80::100/96
103 ip netns exec at_ns0 ip link set dev $DEV_NS up
106 ip link add dev $DEV type $TYPE external
107 ip addr add dev $DEV 10.1.1.200/24
108 ip addr add dev $DEV fc80::200/24
109 ip link set dev $DEV up
116 ip netns exec at_ns0 \
117 ip link add dev $DEV_NS type $TYPE seq key 2 \
121 ip netns exec at_ns0 \
122 ip link add dev $DEV_NS type $TYPE seq key 2 \
126 ip netns exec at_ns0 ip link set dev $DEV_NS up
127 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
130 ip link add dev $DEV type $TYPE external
131 ip link set dev $DEV up
132 ip addr add dev $DEV 10.1.1.200/24
139 ip netns exec at_ns0 ip addr add ::11/96 dev veth0
140 ip netns exec at_ns0 ip link set dev veth0 up
141 ip addr add dev veth1 ::22/96
142 ip link set dev veth1 up
146 ip netns exec at_ns0 \
147 ip link add dev $DEV_NS type $TYPE seq key 2 \
151 ip netns exec at_ns0 \
152 ip link add dev $DEV_NS type $TYPE seq key 2 \
156 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
157 ip netns exec at_ns0 ip link set dev $DEV_NS up
160 ip link add dev $DEV type $TYPE external
161 ip addr add dev $DEV 10.1.1.200/24
162 ip link set dev $DEV up
168 ip netns exec at_ns0 \
169 ip link add dev $DEV_NS type $TYPE \
171 ip netns exec at_ns0 ip link set dev $DEV_NS up
172 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
175 ip link add dev $DEV type $TYPE dstport 6081 external
176 ip link set dev $DEV up
177 ip addr add dev $DEV 10.1.1.200/24
182 ip netns exec at_ns0 ip addr add ::11/96 dev veth0
183 ip netns exec at_ns0 ip link set dev veth0 up
184 ip addr add dev veth1 ::22/96
185 ip link set dev veth1 up
188 ip netns exec at_ns0 \
189 ip link add dev $DEV_NS type $TYPE id 22 \
191 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
192 ip netns exec at_ns0 ip link set dev $DEV_NS up
195 ip link add dev $DEV type $TYPE external
196 ip addr add dev $DEV 10.1.1.200/24
197 ip link set dev $DEV up
203 ip netns exec at_ns0 \
204 ip link add dev $DEV_NS type $TYPE \
206 ip netns exec at_ns0 ip link set dev $DEV_NS up
207 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
210 ip link add dev $DEV type $TYPE external
211 ip link set dev $DEV up
212 ip addr add dev $DEV 10.1.1.200/24
217 ip netns exec at_ns0 ip addr add ::11/96 dev veth0
218 ip netns exec at_ns0 ip link set dev veth0 up
219 ip addr add dev veth1 ::22/96
220 ip link set dev veth1 up
223 ip netns exec at_ns0 \
224 ip link add dev $DEV_NS type $TYPE \
226 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
227 ip netns exec at_ns0 ip addr add dev $DEV_NS 1::11/96
228 ip netns exec at_ns0 ip link set dev $DEV_NS up
231 ip link add dev $DEV type $TYPE external
232 ip addr add dev $DEV 10.1.1.200/24
233 ip addr add dev $DEV 1::22/96
234 ip link set dev $DEV up
250 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
274 ip netns exec at_ns0 ping $PING_ARG 10.1.1.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
329 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
333 ip netns exec at_ns0 ping6 $PING_ARG fc80::200
357 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
380 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
404 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
428 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
449 ip link set dev veth1 mtu 1500
453 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
474 ip link set dev veth1 mtu 1500
481 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
502 ip link set dev veth1 mtu 1500
509 ip netns exec at_ns0 ping6 $PING_ARG 1::22
528 ip netns exec at_ns0 \
529 ip xfrm state add src 172.16.1.100 dst 172.16.1.200 proto esp \
532 ip netns exec at_ns0 \
533 ip xfrm policy add src 10.1.1.100/32 dst 10.1.1.200/32 dir out \
537 ip netns exec at_ns0 \
538 ip xfrm state add src 172.16.1.200 dst 172.16.1.100 proto esp \
541 ip netns exec at_ns0 \
542 ip xfrm policy add src 10.1.1.200/32 dst 10.1.1.100/32 dir in \
546 ip netns exec at_ns0 \
547 ip addr add dev veth0 10.1.1.100/32
548 ip netns exec at_ns0 \
549 ip route add 10.1.1.200 dev veth0 via 172.16.1.200 \
554 ip xfrm state add src 172.16.1.100 dst 172.16.1.200 proto esp \
557 ip xfrm policy add src 10.1.1.100/32 dst 10.1.1.200/32 dir in \
561 ip xfrm state add src 172.16.1.200 dst 172.16.1.100 proto esp \
564 ip xfrm policy add src 10.1.1.200/32 dst 10.1.1.100/32 dir out \
568 ip addr add dev veth1 10.1.1.200/32
569 ip route add 10.1.1.100 dev veth1 via 172.16.1.100 src 10.1.1.200
585 tc filter add dev veth1 proto ip ingress bpf da object-pinned \
587 ip netns exec at_ns0 ping $PING_ARG 10.1.1.200
620 ip netns delete at_ns0 2> /dev/null
621 ip link del veth1 2> /dev/null
622 ip link del ipip11 2> /dev/null
623 ip link del ipip6tnl11 2> /dev/null
624 ip link del ip6ip6tnl11 2> /dev/null
625 ip link del gretap11 2> /dev/null
626 ip link del gre11 2> /dev/null
627 ip link del ip6gre11 2> /dev/null
628 ip link del ip6gretap11 2> /dev/null
629 ip link del geneve11 2> /dev/null
630 ip link del ip6geneve11 2> /dev/null
631 ip link del erspan11 2> /dev/null
632 ip link del ip6erspan11 2> /dev/null
633 ip xfrm policy delete dir out src 10.1.1.200/32 dst 10.1.1.100/32 2> /dev/null
634 ip xfrm policy delete dir in src 10.1.1.100/32 dst 10.1.1.200/32 2> /dev/null
635 ip xfrm state delete src 172.16.1.100 dst 172.16.1.200 proto esp spi 0x1 2> /dev/null
636 ip xfrm state delete src 172.16.1.200 dst 172.16.1.100 proto esp spi 0x2 2> /dev/null
648 ip link help 2>&1 | grep -q "\s$1\s"