Lines Matching full:24
62 $IP address add 198.51.100.1/24 dev dummy0
134 $IP address add 192.0.2.1/24 dev dummy1
137 $IP route add 203.0.113.0/24 \
251 $IP address add 192.0.2.1/24 dev dummy1
254 $IP route add 203.0.113.0/24 \
348 $IP address add 192.0.2.1/24 dev dummy0
413 $IP address add 192.0.2.1/24 dev dummy0
454 $IP address add 192.0.2.1/24 dev veth1
455 ip -netns ns2 address add 192.0.2.1/24 dev veth2
606 # dummy0 - 198.51.100.1/24 2001:db8:1::1/64
607 # veth0 - 192.0.2.1/24 2001:db8:51::1/64
610 # dummy1 - 192.168.2.1/24 2001:db8:2::1/64
611 # veth1 - 192.0.2.2/24 2001:db8:51::2/64
633 $IP address add 192.0.2.1/24 dev veth0
637 $IP address add 192.0.2.2/24 dev veth1
642 $IP address add 192.168.2.1/24 dev dummy1
822 $IP addr add 172.16.101.1/24 dev veth1
823 $IP addr add 172.16.103.1/24 dev veth3
829 ip -netns ns2 addr add 172.16.101.2/24 dev veth2
830 ip -netns ns2 addr add 172.16.103.2/24 dev veth4
831 ip -netns ns2 addr add 172.16.104.1/24 dev dummy1
1231 add_route "172.16.104.0/24" "$1"
1258 add_route "172.16.104.0/24" "via 172.16.101.2"
1259 run_cmd "$IP ro add 172.16.104.0/24 via 172.16.103.2"
1263 add_route "172.16.104.0/24" "via 172.16.101.2"
1264 run_cmd "$IP ro add 172.16.104.0/24 dev veth3"
1268 add_route "172.16.104.0/24" "via 172.16.101.2"
1269 run_cmd "$IP ro add unreachable 172.16.104.0/24"
1274 add_route "172.16.104.0/24" "via 172.16.101.2"
1275 run_cmd "$IP ro prepend 172.16.104.0/24 via 172.16.103.2"
1276 check_route "172.16.104.0/24 via 172.16.103.2 dev veth3 172.16.104.0/24 via 172.16.101.2 dev veth1"
1281 add_route "172.16.104.0/24" "via 172.16.101.2"
1282 run_cmd "$IP ro append 172.16.104.0/24 via 172.16.103.2"
1283 check_route "172.16.104.0/24 via 172.16.101.2 dev veth1 172.16.104.0/24 via 172.16.103.2 dev veth3"
1286 add_route "172.16.104.0/24" "via 172.16.101.2"
1287 run_cmd "$IP ro append 172.16.104.0/24 dev veth3"
1288 check_route "172.16.104.0/24 via 172.16.101.2 dev veth1 172.16.104.0/24 dev veth3 scope link"
1291 add_route "172.16.104.0/24" "via 172.16.101.2"
1292 run_cmd "$IP ro append unreachable 172.16.104.0/24"
1293 check_route "172.16.104.0/24 via 172.16.101.2 dev veth1 unreachable 172.16.104.0/24"
1296 run_cmd "$IP ro flush 172.16.104.0/24"
1297 run_cmd "$IP ro add unreachable 172.16.104.0/24"
1298 run_cmd "$IP ro append 172.16.104.0/24 via 172.16.103.2"
1299 check_route "unreachable 172.16.104.0/24 172.16.104.0/24 via 172.16.103.2 dev veth3"
1302 run_cmd "$IP ro flush 172.16.104.0/24"
1303 run_cmd "$IP ro add unreachable 172.16.104.0/24"
1304 run_cmd "$IP ro append 172.16.104.0/24 dev veth3"
1305 check_route "unreachable 172.16.104.0/24 172.16.104.0/24 dev veth3 scope link"
1309 add_route "172.16.104.0/24" "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1310 …check_route "172.16.104.0/24 nexthop via 172.16.101.2 dev veth1 weight 1 nexthop via 172.16.103.2…
1313 add_route "172.16.104.0/24" "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1314 run_cmd "$IP ro add 172.16.104.0/24 nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1318 add_route "172.16.104.0/24" "via 172.16.101.2"
1319 run_cmd "$IP ro add 172.16.104.0/24 via 172.16.103.2 metric 512"
1322 run_cmd "$IP ro add 172.16.104.0/24 via 172.16.103.3 metric 256"
1327 run_cmd "$IP ro del 172.16.104.0/24 metric 512"
1330 …check_route "172.16.104.0/24 via 172.16.101.2 dev veth1 172.16.104.0/24 via 172.16.103.3 dev veth3…
1341 run_cmd "$IP ro replace 172.16.104.0/24 via 172.16.103.2"
1342 check_route "172.16.104.0/24 via 172.16.103.2 dev veth3"
1348 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.101.3 nexthop via 172.16.103.2"
1349 …check_route "172.16.104.0/24 nexthop via 172.16.101.3 dev veth1 weight 1 nexthop via 172.16.103.2 …
1355 run_cmd "$IP ro replace unreachable 172.16.104.0/24"
1356 check_route "unreachable 172.16.104.0/24"
1362 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.103.2"
1363 check_route "172.16.104.0/24 via 172.16.103.2 dev veth3"
1368 run_cmd "$IP ro replace 172.16.104.0/24 via 2001:db8:104::2"
1374 check_route "172.16.104.0/24 via 172.16.101.2 dev veth1"
1382 run_cmd "$IP ro change 172.16.105.0/24 via 172.16.101.2"
1390 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.101.3 nexthop via 172.16.103.3"
1391 …check_route "172.16.104.0/24 nexthop via 172.16.101.3 dev veth1 weight 1 nexthop via 172.16.103.3…
1396 run_cmd "$IP ro replace 172.16.104.0/24 via 172.16.101.3"
1397 check_route "172.16.104.0/24 via 172.16.101.3 dev veth1"
1402 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.101.3"
1403 check_route "172.16.104.0/24 via 172.16.101.3 dev veth1"
1408 run_cmd "$IP ro replace unreachable 172.16.104.0/24"
1409 check_route "unreachable 172.16.104.0/24"
1414 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.111.3 nexthop via 172.16.103.3"
1415 …check_route "172.16.104.0/24 nexthop via 172.16.101.2 dev veth1 weight 1 nexthop via 172.16.103.2…
1420 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.101.3 nexthop via 172.16.113.3"
1421 …check_route "172.16.104.0/24 nexthop via 172.16.101.2 dev veth1 weight 1 nexthop via 172.16.103.2…
1426 run_cmd "$IP ro change 172.16.105.0/24 nexthop via 172.16.101.3 nexthop via 172.16.103.3"
1468 run_cmd "$IP route flush 172.16.102.0/24"
1471 run_cmd "$IP route add 172.16.102.0/24 dsfield 0x01 via 172.16.101.2"
1474 run_cmd "$IP route add 172.16.102.0/24 dsfield 0x02 via 172.16.101.2"
1477 run_cmd "$IP route add 172.16.102.0/24 dsfield 0x03 via 172.16.101.2"
1481 run_cmd "$IP route add 172.16.102.0/24 via 172.16.101.2"
1484 run_cmd "$IP route add 172.16.102.0/24 dsfield 0x10 via 172.16.103.2"
1568 run_cmd "$IP addr add dev dummy1 172.16.104.1/24"
1569 run_cmd "$IP addr add dev dummy2 172.16.104.2/24"
1572 …check_route "172.16.104.0/24 dev dummy1 proto kernel scope link src 172.16.104.1 172.16.104.0/24 d…
1577 run_cmd "$IP addr add dev dummy1 172.16.104.1/24 metric 257"
1580 …check_route "172.16.104.0/24 dev dummy2 proto kernel scope link src 172.16.104.2 172.16.104.0/24 d…
1585 run_cmd "$IP addr add dev dummy2 172.16.104.2/24 metric 258"
1588 …check_route "172.16.104.0/24 dev dummy1 proto kernel scope link src 172.16.104.1 metric 257 172.16…
1591 run_cmd "$IP addr del dev dummy1 172.16.104.1/24 metric 257"
1594 check_route "172.16.104.0/24 dev dummy2 proto kernel scope link src 172.16.104.2 metric 258"
1599 run_cmd "$IP addr change dev dummy2 172.16.104.2/24 metric 259"
1602 check_route "172.16.104.0/24 dev dummy2 proto kernel scope link src 172.16.104.2 metric 259"
1611 out=$($IP ro ls match 172.16.104.0/24)
1621 check_route "172.16.104.0/24 dev dummy2 proto kernel scope link src 172.16.104.2 metric 259"
1628 run_cmd "$IP addr add dev dummy2 172.16.104.0/24 metric 259"
1629 run_cmd "$IP addr change dev dummy2 172.16.104.0/24 metric 260"
1632 check_route "172.16.104.0/24 dev dummy2 proto kernel scope link src 172.16.104.0 metric 260"
1635 log_test $rc 0 "Modify metric of .0/24 address"
1668 run_cmd "$IP ro add 172.16.111.0/24 via 172.16.101.2 mtu 1400"
1671 check_route "172.16.111.0/24 via 172.16.101.2 dev veth1 mtu 1400"
1677 run_cmd "$IP ro add 172.16.112.0/24 mtu 1400 nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1680 …check_route "172.16.112.0/24 mtu 1400 nexthop via 172.16.101.2 dev veth1 weight 1 nexthop via 172.…
1685 $IP ro add 172.16.104.0/24 via 172.16.101.2 mtu 1300
1689 run_cmd "$IP ro add 172.16.111.0/24 via 172.16.101.2 congctl lock foo"
1712 $IP addr add dev dummy1 172.16.104.1/24
1713 $IP addr add dev dummy1 172.16.104.11/24
1714 $IP addr add dev dummy1 172.16.104.12/24
1715 $IP addr add dev dummy1 172.16.104.13/24
1716 $IP addr add dev dummy2 172.16.104.1/24
1717 $IP addr add dev dummy2 172.16.104.11/24
1718 $IP addr add dev dummy2 172.16.104.12/24
1719 $IP route add 172.16.105.0/24 via 172.16.104.2 src 172.16.104.11
1720 $IP route add 172.16.106.0/24 dev lo src 172.16.104.12
1721 $IP route add table 0 172.16.107.0/24 via 172.16.104.2 src 172.16.104.13
1722 $IP route add vrf red 172.16.105.0/24 via 172.16.104.2 src 172.16.104.11
1723 $IP route add vrf red 172.16.106.0/24 dev lo src 172.16.104.12
1729 $IP addr del dev dummy2 172.16.104.11/24
1730 $IP ro ls vrf red | grep -q 172.16.105.0/24
1733 $IP ro ls | grep -q 172.16.105.0/24
1736 $IP addr add dev dummy2 172.16.104.11/24
1737 $IP route add vrf red 172.16.105.0/24 via 172.16.104.2 src 172.16.104.11
1739 $IP addr del dev dummy1 172.16.104.11/24
1740 $IP ro ls | grep -q 172.16.105.0/24
1743 $IP ro ls vrf red | grep -q 172.16.105.0/24
1750 $IP addr del dev dummy2 172.16.104.12/24
1751 $IP ro ls vrf red | grep -q 172.16.106.0/24
1754 $IP ro ls | grep -q 172.16.106.0/24
1757 $IP addr add dev dummy2 172.16.104.12/24
1758 $IP route add vrf red 172.16.106.0/24 dev lo src 172.16.104.12
1760 $IP addr del dev dummy1 172.16.104.12/24
1761 $IP ro ls | grep -q 172.16.106.0/24
1764 $IP ro ls vrf red | grep -q 172.16.106.0/24
1771 $IP addr del dev dummy1 172.16.104.13/24
1772 $IP ro ls | grep -q 172.16.107.0/24
1794 run_cmd "$IP ro add 172.16.104.0/24 via inet6 2001:db8:101::2"
1798 check_route "172.16.104.0/24 via inet6 2001:db8:101::2 dev veth1"
1804 run_cmd "$IP ro del 172.16.104.0/24 via inet6 2001:db8:101::2"
1808 check_route "172.16.112.0/24"
1814 …run_cmd "$IP ro add 172.16.104.0/24 nexthop via inet6 2001:db8:101::2 dev veth1 nexthop via 172.16…
1818 …check_route "172.16.104.0/24 nexthop via inet6 2001:db8:101::2 dev veth1 weight 1 nexthop via 172.…
1821 …run_cmd "$IP ro del 172.16.104.0/24 nexthop via 172.16.103.2 dev veth3 nexthop via inet6 2001:db8:…
1824 …run_cmd "$IP ro del 172.16.104.0/24 nexthop via inet6 2001:db8:101::2 dev veth1 nexthop via 172.16…
1830 …run_cmd "$IP ro add 172.16.104.0/24 nexthop via 172.16.103.2 dev veth3 nexthop via inet6 2001:db8:…
1834 …check_route "172.16.104.0/24 nexthop via 172.16.103.2 dev veth3 weight 1 nexthop via inet6 2001:db…
1837 …run_cmd "$IP ro del 172.16.104.0/24 nexthop via inet6 2001:db8:101::2 dev veth1 nexthop via 172.16…
1840 …run_cmd "$IP ro del 172.16.104.0/24 nexthop via 172.16.103.2 dev veth3 nexthop via inet6 2001:db8:…
1897 $IP route add table 123 172.16.101.0/24 dev veth1
1927 $IP route del table 123 172.16.101.0/24 dev veth1
2023 run_cmd "$IP address add 192.0.2.1/24 broadcast 192.0.2.111 dev dummy0"
2031 run_cmd "$IP address add 203.0.113.1/24 broadcast 203.0.113.111 dev dummy0"