Lines Matching full:via
142 nexthop via 198.51.100.2 dev dummy0 \
143 nexthop via 192.0.2.2 dev dummy1
145 nexthop via 2001:db8:1::2 dev dummy0 \
146 nexthop via 2001:db8:2::2 dev dummy1
259 nexthop via 198.51.100.2 dev dummy0 \
260 nexthop via 192.0.2.2 dev dummy1
262 nexthop via 2001:db8:1::2 dev dummy0 \
263 nexthop via 2001:db8:2::2 dev dummy1
528 [ -n "$gw" ] && gw="via $gw"
681 nexthop via 2001:10::2 dev dummy_10 \
682 nexthop encap ip6 dst 2002::20 via 2001:20::2 dev dummy_20 \
683 nexthop encap ip6 dst 2002::30 via 2001:30::2 dev dummy_30 \
684 nexthop encap ip6 dst 2002::40 via 2001:40::2 dev dummy_40 \
685 nexthop encap ip6 dst 2002::50 via 2001:50::2 dev dummy_50 \
686 nexthop encap ip6 dst 2002::60 via 2001:60::2 dev dummy_60 \
687 nexthop encap ip6 dst 2002::70 via 2001:70::2 dev dummy_70
728 nexthop via 20.20.10.1 dev dummy_10 \
729 nexthop encap ip dst 192.168.10.20 via 20.20.20.1 dev dummy_20 \
730 nexthop encap ip dst 192.168.10.30 via 20.20.30.1 dev dummy_30 \
731 nexthop encap ip dst 192.168.10.40 via 20.20.40.1 dev dummy_40 \
732 nexthop encap ip dst 192.168.10.50 via 20.20.50.1 dev dummy_50 \
733 nexthop encap ip dst 192.168.10.60 via 20.20.60.1 dev dummy_60 \
734 nexthop encap ip dst 192.168.10.70 via 20.20.70.1 dev dummy_70
777 via 2001:10::2 dev dummy_10 expires $EXPIRE
791 via 2001:10::2 dev dummy_10
797 via 2001:10::2 dev dummy_10 expires $EXPIRE
1004 add_route6 "2001:db8:104::/64" "via 2001:db8:101::2"
1005 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::2"
1009 add_route6 "2001:db8:104::/64" "via 2001:db8:101::2"
1014 add_route6 "2001:db8:104::/64" "via 2001:db8:101::2"
1020 add_route6 "2001:db8:104::/64" "via 2001:db8:101::2"
1021 run_cmd "$IP -6 ro append 2001:db8:104::/64 via 2001:db8:103::2"
1022 …heck_route6 "2001:db8:104::/64 metric 1024 nexthop via 2001:db8:101::2 dev veth1 weight 1 nexthop …
1026 add_route6 "2001:db8:104::/64" "nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1027 …eck_route6 "2001:db8:104::/64 metric 1024 nexthop via 2001:db8:101::2 dev veth1 weight 1 nexthop …
1030 add_route6 "2001:db8:104::/64" "nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1031 run_cmd "$IP -6 ro add 2001:db8:104::/64 nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1035 add_route6 "2001:db8:104::/64" "via 2001:db8:101::2"
1036 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::2 metric 512"
1039 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::3 metric 256"
1047 …check_route6 "2001:db8:104::/64 via 2001:db8:103::3 dev veth3 metric 256 2001:db8:104::/64 via 200…
1057 add_initial_route6 "via 2001:db8:101::2"
1058 run_cmd "$IP -6 ro replace 2001:db8:104::/64 via 2001:db8:103::2"
1059 check_route6 "2001:db8:104::/64 via 2001:db8:103::2 dev veth3 metric 1024"
1064 add_initial_route6 "nexthop via 2001:db8:101::2"
1065 …run_cmd "$IP -6 ro replace 2001:db8:104::/64 nexthop via 2001:db8:101::3 nexthop via 2001:db8:103:…
1066 …heck_route6 "2001:db8:104::/64 metric 1024 nexthop via 2001:db8:101::3 dev veth1 weight 1 nexthop …
1071 add_initial_route6 "via 2001:db8:101::2"
1072 run_cmd "$IP -6 ro replace 2001:db8:104::/64 nexthop via 2001:db8:103::2"
1073 check_route6 "2001:db8:104::/64 via 2001:db8:103::2 dev veth3 metric 1024"
1074 log_test $? 0 "Single path with single path via multipath attribute"
1077 add_initial_route6 "via 2001:db8:101::2"
1078 run_cmd "$IP -6 ro replace 2001:db8:104::/64 via 2001:db8:104::2"
1084 check_route6 "2001:db8:104::/64 via 2001:db8:101::2 dev veth1 metric 1024"
1091 add_initial_route6 "via 2001:db8:101::2"
1092 run_cmd "$IP -6 ro change 2001:db8:105::/64 via 2001:db8:101::2"
1099 add_initial_route6 "nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1100 …run_cmd "$IP -6 ro replace 2001:db8:104::/64 nexthop via 2001:db8:101::3 nexthop via 2001:db8:103:…
1101 …eck_route6 "2001:db8:104::/64 metric 1024 nexthop via 2001:db8:101::3 dev veth1 weight 1 nexthop …
1105 add_initial_route6 "nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1106 run_cmd "$IP -6 ro replace 2001:db8:104::/64 via 2001:db8:101::3"
1107 check_route6 "2001:db8:104::/64 via 2001:db8:101::3 dev veth1 metric 1024"
1111 add_initial_route6 "nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1112 run_cmd "$IP -6 ro replace 2001:db8:104::/64 nexthop via 2001:db8:101::3"
1113 check_route6 "2001:db8:104::/64 via 2001:db8:101::3 dev veth1 metric 1024"
1114 log_test $? 0 "Multipath with single path via multipath attribute"
1117 add_initial_route6 "nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1123 add_initial_route6 "nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1124 …run_cmd "$IP -6 ro replace 2001:db8:104::/64 nexthop via 2001:db8:111::3 nexthop via 2001:db8:103:…
1125 …eck_route6 "2001:db8:104::/64 metric 1024 nexthop via 2001:db8:101::2 dev veth1 weight 1 nexthop …
1129 add_initial_route6 "nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1130 …run_cmd "$IP -6 ro replace 2001:db8:104::/64 nexthop via 2001:db8:101::3 nexthop via 2001:db8:113:…
1131 …eck_route6 "2001:db8:104::/64 metric 1024 nexthop via 2001:db8:101::2 dev veth1 weight 1 nexthop …
1135 add_initial_route6 "nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
1136 …run_cmd "$IP -6 ro change 2001:db8:105::/64 nexthop via 2001:db8:101::3 nexthop via 2001:db8:103::…
1157 run_cmd "$IP -6 route add 2001:db8:102::/64 dsfield 0x04 via 2001:db8:101::2"
1297 run_cmd "$IP -6 ro add 2001:db8:111::/64 via 2001:db8:101::2 mtu 1400"
1300 check_route6 "2001:db8:111::/64 via 2001:db8:101::2 dev veth1 metric 1024 mtu 1400"
1307 # multipath via separate routes with metrics
1309 run_cmd "$IP -6 ro add 2001:db8:112::/64 via 2001:db8:101::2 mtu 1400"
1310 run_cmd "$IP -6 ro append 2001:db8:112::/64 via 2001:db8:103::2"
1313 …e6 "2001:db8:112::/64 metric 1024 mtu 1400 nexthop via 2001:db8:101::2 dev veth1 weight 1 nexthop …
1316 log_test $rc 0 "Multipath route via 2 single routes with mtu metric on first"
1320 run_cmd "$IP -6 ro add 2001:db8:113::/64 via 2001:db8:101::2"
1321 run_cmd "$IP -6 ro append 2001:db8:113::/64 via 2001:db8:103::2 mtu 1400"
1324 …heck_route6 "2001:db8:113::/64 metric 1024 nexthop via 2001:db8:101::2 dev veth1 weight 1 nexthop …
1327 log_test $rc 0 "Multipath route via 2 single routes with mtu metric on 2nd"
1329 run_cmd "$IP -6 ro del 2001:db8:113::/64 via 2001:db8:101::2"
1331 check_route6 "2001:db8:113::/64 via 2001:db8:103::2 dev veth3 metric 1024 mtu 1400"
1338 …run_cmd "$IP -6 ro add 2001:db8:115::/64 mtu 1400 nexthop via 2001:db8:101::2 nexthop via 2001:db8…
1341 …6 "2001:db8:115::/64 metric 1024 mtu 1400 nexthop via 2001:db8:101::2 dev veth1 weight 1 nexthop …
1346 $IP -6 ro add 2001:db8:104::/64 via 2001:db8:101::2 mtu 1300
1350 run_cmd "$IP -6 ro add 2001:db8:114::/64 via 2001:db8:101::2 congctl lock foo"
1416 add_route "172.16.104.0/24" "via 172.16.101.2"
1417 run_cmd "$IP ro add 172.16.104.0/24 via 172.16.103.2"
1421 add_route "172.16.104.0/24" "via 172.16.101.2"
1426 add_route "172.16.104.0/24" "via 172.16.101.2"
1432 add_route "172.16.104.0/24" "via 172.16.101.2"
1433 run_cmd "$IP ro prepend 172.16.104.0/24 via 172.16.103.2"
1434 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"
1439 add_route "172.16.104.0/24" "via 172.16.101.2"
1440 run_cmd "$IP ro append 172.16.104.0/24 via 172.16.103.2"
1441 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"
1444 add_route "172.16.104.0/24" "via 172.16.101.2"
1446 check_route "172.16.104.0/24 via 172.16.101.2 dev veth1 172.16.104.0/24 dev veth3 scope link"
1449 add_route "172.16.104.0/24" "via 172.16.101.2"
1451 check_route "172.16.104.0/24 via 172.16.101.2 dev veth1 unreachable 172.16.104.0/24"
1456 run_cmd "$IP ro append 172.16.104.0/24 via 172.16.103.2"
1457 check_route "unreachable 172.16.104.0/24 172.16.104.0/24 via 172.16.103.2 dev veth3"
1467 add_route "172.16.104.0/24" "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1468 …check_route "172.16.104.0/24 nexthop via 172.16.101.2 dev veth1 weight 1 nexthop via 172.16.103.2…
1471 add_route "172.16.104.0/24" "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1472 run_cmd "$IP ro add 172.16.104.0/24 nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1476 add_route "172.16.104.0/24" "via 172.16.101.2"
1477 run_cmd "$IP ro add 172.16.104.0/24 via 172.16.103.2 metric 512"
1480 run_cmd "$IP ro add 172.16.104.0/24 via 172.16.103.3 metric 256"
1488 …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…
1498 add_initial_route "via 172.16.101.2"
1499 run_cmd "$IP ro replace 172.16.104.0/24 via 172.16.103.2"
1500 check_route "172.16.104.0/24 via 172.16.103.2 dev veth3"
1505 add_initial_route "nexthop via 172.16.101.2"
1506 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.101.3 nexthop via 172.16.103.2"
1507 …check_route "172.16.104.0/24 nexthop via 172.16.101.3 dev veth1 weight 1 nexthop via 172.16.103.2 …
1512 add_initial_route "nexthop via 172.16.101.2"
1519 add_initial_route "via 172.16.101.2"
1520 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.103.2"
1521 check_route "172.16.104.0/24 via 172.16.103.2 dev veth3"
1522 log_test $? 0 "Single path with single path via multipath attribute"
1525 add_initial_route "via 172.16.101.2"
1526 run_cmd "$IP ro replace 172.16.104.0/24 via 2001:db8:104::2"
1532 check_route "172.16.104.0/24 via 172.16.101.2 dev veth1"
1539 add_initial_route "via 172.16.101.2"
1540 run_cmd "$IP ro change 172.16.105.0/24 via 172.16.101.2"
1547 add_initial_route "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1548 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.101.3 nexthop via 172.16.103.3"
1549 …check_route "172.16.104.0/24 nexthop via 172.16.101.3 dev veth1 weight 1 nexthop via 172.16.103.3…
1553 add_initial_route "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1554 run_cmd "$IP ro replace 172.16.104.0/24 via 172.16.101.3"
1555 check_route "172.16.104.0/24 via 172.16.101.3 dev veth1"
1559 add_initial_route "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1560 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.101.3"
1561 check_route "172.16.104.0/24 via 172.16.101.3 dev veth1"
1562 log_test $? 0 "Multipath with single path via multipath attribute"
1565 add_initial_route "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1571 add_initial_route "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1572 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.111.3 nexthop via 172.16.103.3"
1573 …check_route "172.16.104.0/24 nexthop via 172.16.101.2 dev veth1 weight 1 nexthop via 172.16.103.2…
1577 add_initial_route "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1578 run_cmd "$IP ro replace 172.16.104.0/24 nexthop via 172.16.101.3 nexthop via 172.16.113.3"
1579 …check_route "172.16.104.0/24 nexthop via 172.16.101.2 dev veth1 weight 1 nexthop via 172.16.103.2…
1583 add_initial_route "nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1584 run_cmd "$IP ro change 172.16.105.0/24 nexthop via 172.16.101.3 nexthop via 172.16.103.3"
1613 run_cmd "ip netns exec test-ns ip route add default via 10.0.0.1"
1629 run_cmd "$IP route add 172.16.102.0/24 dsfield 0x01 via 172.16.101.2"
1632 run_cmd "$IP route add 172.16.102.0/24 dsfield 0x02 via 172.16.101.2"
1635 run_cmd "$IP route add 172.16.102.0/24 dsfield 0x03 via 172.16.101.2"
1639 run_cmd "$IP route add 172.16.102.0/24 via 172.16.101.2"
1642 run_cmd "$IP route add 172.16.102.0/24 dsfield 0x10 via 172.16.103.2"
1646 grep -q "172.16.102.0/24 tos 0x10 via 172.16.103.2"
1650 grep -q "172.16.102.0/24 tos 0x10 via 172.16.103.2"
1654 grep -q "172.16.102.0/24 tos 0x10 via 172.16.103.2"
1658 grep -q "172.16.102.0/24 tos 0x10 via 172.16.103.2"
1663 grep -q "172.16.102.0/24 via 172.16.101.2"
1667 grep -q "172.16.102.0/24 via 172.16.101.2"
1671 grep -q "172.16.102.0/24 via 172.16.101.2"
1675 grep -q "172.16.102.0/24 via 172.16.101.2"
1680 grep -q "172.16.102.0/24 via 172.16.101.2"
1684 grep -q "172.16.102.0/24 via 172.16.101.2"
1688 grep -q "172.16.102.0/24 via 172.16.101.2"
1692 grep -q "172.16.102.0/24 via 172.16.101.2"
1826 run_cmd "$IP ro add 172.16.111.0/24 via 172.16.101.2 mtu 1400"
1829 check_route "172.16.111.0/24 via 172.16.101.2 dev veth1 mtu 1400"
1835 run_cmd "$IP ro add 172.16.112.0/24 mtu 1400 nexthop via 172.16.101.2 nexthop via 172.16.103.2"
1838 …check_route "172.16.112.0/24 mtu 1400 nexthop via 172.16.101.2 dev veth1 weight 1 nexthop via 172.…
1843 $IP ro add 172.16.104.0/24 via 172.16.101.2 mtu 1300
1847 run_cmd "$IP ro add 172.16.111.0/24 via 172.16.101.2 congctl lock foo"
1877 $IP route add 172.16.105.0/24 via 172.16.104.2 src 172.16.104.11
1879 $IP route add table 0 172.16.107.0/24 via 172.16.104.2 src 172.16.104.13
1880 $IP route add vrf red 172.16.105.0/24 via 172.16.104.2 src 172.16.104.11
1895 $IP route add vrf red 172.16.105.0/24 via 172.16.104.2 src 172.16.104.11
1993 $IP route add table 0 2001:db8:115::/64 via 2001:db8:101::2 src 2001:db8:101::15
2101 run_cmd "$IP ro add 172.16.104.0/24 via inet6 2001:db8:101::2"
2105 check_route "172.16.104.0/24 via inet6 2001:db8:101::2 dev veth1"
2111 run_cmd "$IP ro del 172.16.104.0/24 via inet6 2001:db8:101::2"
2121 …run_cmd "$IP ro add 172.16.104.0/24 nexthop via inet6 2001:db8:101::2 dev veth1 nexthop via 172.16…
2125 …check_route "172.16.104.0/24 nexthop via inet6 2001:db8:101::2 dev veth1 weight 1 nexthop via 172.…
2128 …run_cmd "$IP ro del 172.16.104.0/24 nexthop via 172.16.103.2 dev veth3 nexthop via inet6 2001:db8:…
2131 …run_cmd "$IP ro del 172.16.104.0/24 nexthop via inet6 2001:db8:101::2 dev veth1 nexthop via 172.16…
2137 …run_cmd "$IP ro add 172.16.104.0/24 nexthop via 172.16.103.2 dev veth3 nexthop via inet6 2001:db8:…
2141 …check_route "172.16.104.0/24 nexthop via 172.16.103.2 dev veth3 weight 1 nexthop via inet6 2001:db…
2144 …run_cmd "$IP ro del 172.16.104.0/24 nexthop via inet6 2001:db8:101::2 dev veth1 nexthop via 172.16…
2147 …run_cmd "$IP ro del 172.16.104.0/24 nexthop via 172.16.103.2 dev veth3 nexthop via inet6 2001:db8:…
2438 nexthop via 172.16.201.2 nexthop via 172.16.202.2"
2486 nexthop via 2001:db8:201::2 nexthop via 2001:db8:202::2"