Lines Matching full:ip
45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
53 ip link set dev $swp2 down
54 ip link set dev $swp1 down
59 ip link set dev $swp1 master br0
61 ip link set dev vxlan0 master br0
64 ip link set dev $swp1 nomaster
66 ip link set dev $swp1 master br0
72 ip link set dev $swp1 master br0
74 ip link set dev vxlan0 master br0 &> /dev/null
77 ip link set dev $swp1 nomaster
79 ip link set dev vxlan0 master br0
81 ip link set dev $swp1 master br0 &> /dev/null
89 ip link add dev br0 type bridge mcast_snooping 0
91 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
96 ip link del dev vxlan0
97 ip link del dev br0
106 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1
108 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
113 ip link del dev vxlan0
114 ip link del dev br0
123 ip link add dev br0 type bridge
125 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
130 ip link del dev vxlan0
131 ip link del dev br0
140 ip link add dev br0 type bridge mcast_snooping 0
141 ip link add name dummy1 up type dummy
143 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
149 ip link del dev vxlan0
150 ip link del dev dummy1
151 ip link del dev br0
160 ip link add dev br0 type bridge mcast_snooping 0
162 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
167 ip link del dev vxlan0
168 ip link del dev br0
170 log_test "vxlan device with no local ip"
177 ip link add dev br0 type bridge mcast_snooping 0
179 ip link add name vxlan0 up type vxlan id 10 learning $UDPCSUM_FLAFS \
184 ip link del dev vxlan0
185 ip link del dev br0
194 ip link add dev br0 type bridge mcast_snooping 0
195 ip link add name dummy1 up type dummy
197 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
202 ip link del dev vxlan0
203 ip link del dev dummy1
204 ip link del dev br0
213 ip link add dev br0 type bridge mcast_snooping 0
215 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
221 ip link del dev vxlan0
222 ip link del dev br0
231 ip link add dev br0 type bridge mcast_snooping 0
233 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
238 ip link del dev vxlan0
239 ip link del dev br0
248 ip link add dev br0 type bridge mcast_snooping 0
250 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
255 ip link del dev vxlan0
256 ip link del dev br0
265 ip link add dev br0 type bridge mcast_snooping 0
267 ip link add name vxlan0 up type vxlan id 10 nolearning udpcsum \
272 ip link del dev vxlan0
273 ip link del dev br0
297 ip link set dev $swp1 master br0
299 ip link set dev vxlan0 master br0
301 ip link set dev $swp2 master br1
303 ip link set dev vxlan1 master br1
306 ip link set dev $swp2 nomaster
307 ip link set dev $swp1 nomaster
309 ip link set dev $swp1 master br0
311 ip link set dev $swp2 master br1
317 ip link set dev $swp1 master br0
319 ip link set dev vxlan0 master br0
321 ip link set dev $swp2 master br1
323 ip link set dev vxlan1 master br1 &> /dev/null
326 ip link set dev $swp2 nomaster
327 ip link set dev $swp1 nomaster
329 ip link set dev vxlan1 master br1
331 ip link set dev $swp1 master br0
333 ip link set dev $swp2 master br1 &> /dev/null
341 ip link add dev br0 type bridge mcast_snooping 0
342 ip link add dev br1 type bridge mcast_snooping 0
344 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
346 ip link add name vxlan1 up type vxlan id 20 nolearning $UDPCSUM_FLAFS \
351 ip link del dev vxlan1
352 ip link del dev vxlan0
353 ip link del dev br1
354 ip link del dev br0
363 ip link add dev br0 type bridge mcast_snooping 0
364 ip link add dev br1 type bridge mcast_snooping 0
366 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
368 ip link add name vxlan1 up type vxlan id 20 nolearning $UDPCSUM_FLAFS \
373 ip link del dev vxlan1
374 ip link del dev vxlan0
375 ip link del dev br1
376 ip link del dev br0
385 ip link add dev br0 type bridge mcast_snooping 0
386 ip link add dev br1 type bridge mcast_snooping 0
388 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
390 ip link add name vxlan1 up type vxlan id 20 nolearning $UDPCSUM_FLAFS \
395 ip link del dev vxlan1
396 ip link del dev vxlan0
397 ip link del dev br1
398 ip link del dev br0
407 ip link add dev br0 type bridge mcast_snooping 0
408 ip link add dev br1 type bridge mcast_snooping 0
410 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
412 ip link add name vxlan1 up type vxlan id 20 nolearning $UDPCSUM_FLAFS \
417 ip link del dev vxlan1
418 ip link del dev vxlan0
419 ip link del dev br1
420 ip link del dev br0
422 log_test "multiple vxlan devices with different local ip"
428 # we offload must share certain properties such as source IP and
447 ip link add name br0 up type bridge mcast_snooping 0
448 ip link add name br1 up type bridge mcast_snooping 0
450 ip link set dev $swp1 master br0
451 ip link set dev $swp2 master br1
453 ip address add $LOCAL_IP_1/$PREFIX_LEN dev lo
455 ip link add name vxlan0 up master br0 type vxlan id 10 nolearning \
457 ip link add name vxlan1 up master br1 type vxlan id 20 nolearning \
463 ip link del dev vxlan1
464 ip link del dev vxlan0
466 ip address del $LOCAL_IP_1/$PREFIX_LEN dev lo
468 ip link set dev $swp2 nomaster
469 ip link set dev $swp1 nomaster
471 ip link del dev br1
472 ip link del dev br0
570 ip $IP_FLAG route show table local $LOCAL_IP_1
573 ip link set dev vxlan0 down
575 ip $IP_FLAG route show table local $LOCAL_IP_1
578 ip link set dev vxlan1 down
580 ip $IP_FLAG route show table local $LOCAL_IP_1
587 ip link set dev vxlan1 up
589 ip $IP_FLAG route show table local $LOCAL_IP_1
592 ip link set dev vxlan0 up
594 ip $IP_FLAG route show table local $LOCAL_IP_1
601 ip address delete $LOCAL_IP_1/$PREFIX_LEN dev lo
603 ip $IP_FLAG route show table local $LOCAL_IP_1
606 ip address add $LOCAL_IP_1/$PREFIX_LEN dev lo
608 ip $IP_FLAG route show table local $LOCAL_IP_1
615 ip link set dev $swp1 nomaster
617 ip $IP_FLAG route show table local $LOCAL_IP_1
620 ip link set dev $swp2 nomaster
622 ip $IP_FLAG route show table local $LOCAL_IP_1
625 ip link set dev $swp1 master br0
626 ip link set dev $swp2 master br1
628 ip $IP_FLAG route show table local $LOCAL_IP_1
635 ip link del dev br0
637 ip $IP_FLAG route show table local $LOCAL_IP_1
640 ip link del dev br1
642 ip $IP_FLAG route show table local $LOCAL_IP_1
649 ip link add name br0 up type bridge mcast_snooping 0
650 ip link add name br1 up type bridge mcast_snooping 0
651 ip link set dev $swp1 master br0
652 ip link set dev $swp2 master br1
653 ip link set dev vxlan0 master br0
654 ip link set dev vxlan1 master br1
656 ip $IP_FLAG route show table local $LOCAL_IP_1
659 ip link del dev vxlan0
661 ip $IP_FLAG route show table local $LOCAL_IP_1
664 ip link del dev vxlan1
666 ip $IP_FLAG route show table local $LOCAL_IP_1
671 ip link add name vxlan0 up master br0 type vxlan id 10 nolearning \
673 ip link add name vxlan1 up master br1 type vxlan id 20 nolearning \
733 ip link set dev vxlan0 master br0
738 ip link set dev $swp1 master br0
744 ip link set dev vxlan0 down
750 ip link set dev vxlan0 up
776 ip link set dev $swp1 nomaster
783 ip link add dev br0 up type bridge mcast_snooping 0
784 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
789 ip link del dev vxlan0
790 ip link del dev br0
801 ip link set dev $swp1 master br0
807 ip link set dev vxlan0 master br0
818 ip link add dev br0 up type bridge mcast_snooping 0
819 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
824 ip link del dev vxlan0
825 ip link del dev br0
844 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1
846 ip link add name vxlan10 up master br0 type vxlan id 10 nolearning \
849 ip link add name vxlan20 up master br0 type vxlan id 20 nolearning \
857 ip link set dev $swp1 master br0
875 ip link set dev $swp1 nomaster
880 ip link set dev $swp1 master br0 &> /dev/null
894 ip address add $LOCAL_IP_1/$PREFIX_LEN dev lo
896 ip link set dev vxlan10 type vxlan ttl 10
897 ip link set dev $swp1 master br0 &> /dev/null
901 ip $IP_FLAG route show table local $LOCAL_IP_1
906 ip link set dev vxlan10 type vxlan ttl 20
907 ip address del $LOCAL_IP_1/$PREFIX_LEN dev lo
909 ip link del dev vxlan20
910 ip link del dev vxlan10
911 ip link del dev br0
918 ip link add name br0 up type bridge mcast_snooping 0 vlan_filtering 1 \
921 ip link set dev $swp1 master br0
926 ip address add $LOCAL_IP_1/$PREFIX_LEN dev lo
928 ip link add name vxlan10 up master br0 type vxlan id 10 nolearning \
930 ip link add name vxlan20 up master br0 type vxlan id 20 nolearning \
942 ip link del dev vxlan20
943 ip link del dev vxlan10
945 ip address del $LOCAL_IP_1/$PREFIX_LEN dev lo
950 ip link set dev $swp1 nomaster
952 ip link del dev br0
1031 ip $IP_FLAG route show table local $LOCAL_IP_1
1039 ip $IP_FLAG route show table local $LOCAL_IP_1
1047 ip $IP_FLAG route show table local $LOCAL_IP_1
1054 busywait "$TIMEOUT" wait_for_offload ip $IP_FLAG route show table local \
1063 ip link add dev br0 up type bridge mcast_snooping 0 \
1065 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
1070 ip link del dev vxlan0
1071 ip link del dev br0
1076 ip link add dev br0 up type bridge mcast_snooping 0 \
1078 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
1083 ip link del dev vxlan0
1084 ip link del dev br0
1094 ip link add dev br0 up type bridge mcast_snooping 0 \
1096 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
1099 ip link set dev $swp1 master br0
1105 ip link set dev vxlan0 master br0
1113 ip link add link br0 name br10 up type vlan id 10
1115 ip -6 address add 2001:db8:1::1/64 dev br10
1122 ip link set dev vxlan0 nomaster
1127 ip link set dev vxlan0 master br0
1139 ip link del dev vxlan0
1140 ip link del dev br0