Lines Matching full:route
217 echo " WARNING: Unexpected route entry"
241 out=$($IP route ls match ${pfx} 2>/dev/null)
252 out=$($IP -6 route ls match ${pfx} 2>/dev/null | sed -e 's/pref medium//')
409 log_test $? 2 "Route add with fdb nexthop"
412 log_test $? 2 "Route add with fdb nexthop group"
489 log_test $? 2 "Route add with fdb nexthop"
492 log_test $? 2 "Route add with fdb nexthop group"
682 log_test $? 0 "Route add"
685 log_test $? 0 "Route delete"
732 log_test $? 0 "IPv6 route with device only nexthop"
737 log_test $? 0 "IPv6 multipath route with nexthop mix - dev only + gw"
741 # IPv6 route with v4 nexthop - not allowed
746 log_test $? 2 "IPv6 route can not have a v4 gateway"
750 log_test $? 2 "Nexthop replace - v6 route, v4 nexthop"
754 log_test $? 2 "Nexthop replace of group entry - v6 route, v4 nexthop"
761 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
765 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
769 log_test $? 0 "IPv6 route using a group after removing v4 gateways"
776 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
780 log_test $? 2 "IPv6 route can not have a group with v4 and v6 gateways"
784 log_test $? 0 "IPv6 route using a group after replacing v4 gateways"
794 # rpfilter and default route
802 log_test $? 0 "Nexthop with default route and rpfilter"
805 log_test $? 0 "Nexthop with multipath default route and rpfilter"
808 # existing route with old nexthop; append route with new nexthop
809 # existing route with old nexthop; replace route with new
810 # existing route with new nexthop; replace route with old
811 # route with src address and using nexthop - not allowed
861 run_cmd "$IP route add 2001:db8:101::1 nhid 102"
862 run_cmd "$IP route add 2001:db8:101::2 nhid 102"
1050 log_test $? 0 "IPv6 nexthop with IPv4 route"
1058 log_test $? 0 "IPv6 nexthop with IPv4 route"
1063 log_test $? 0 "IPv4 route with IPv6 gateway"
1067 log_test $? 2 "IPv4 route with invalid IPv6 gateway"
1081 log_test $? 0 "Route add"
1085 log_test $? 0 "Route delete"
1092 log_test $? 2 "Route add - scope conflict with nexthop"
1097 log_test $? 2 "Nexthop replace with invalid scope for existing route"
1100 # add route with nexthop and check traffic
1171 log_test $? 0 "IPv4 route with device only nexthop"
1176 log_test $? 0 "IPv4 multipath route with nexthop mix - dev only + gw"
1188 log_test $? 0 "IPv6 nexthop with IPv4 route"
1207 log_test $? 0 "IPv4 route with mixed v4-v6 multipath route"
1212 log_test $? 0 "IPv6 nexthop with IPv4 route"
1216 log_test $? 0 "IPv4 route with IPv6 gateway"
1233 log_test $? 0 "IPv4 default route with IPv6 gateway"
1239 log_test $? 0 "IPv4 route with MPLS encap"
1241 log_test $? 0 "IPv4 route with MPLS encap - check"
1244 log_test $? 0 "IPv4 route with MPLS encap and v6 gateway"
1246 log_test $? 0 "IPv4 route with MPLS encap, v6 gw - check"
1309 ipmout=$(start_ip_monitor route)
1312 # route add notification should contain expanded nexthops
1314 log_test $? 0 "IPv6 compat mode on - route add notification"
1316 # route dump should contain expanded nexthops
1318 log_test $? 0 "IPv6 compat mode on - route dump"
1320 # change in nexthop group should generate route notification
1322 ipmout=$(start_ip_monitor route)
1336 ipmout=$(start_ip_monitor route)
1339 # route add notification should not contain expanded nexthops
1341 log_test $? 0 "IPv6 compat mode off - route add notification"
1343 # route dump should not contain expanded nexthops
1345 log_test $? 0 "IPv6 compat mode off - route dump"
1347 # change in nexthop group should not generate route notification
1349 ipmout=$(start_ip_monitor route)
1354 # nexthop delete should not generate route notification
1355 ipmout=$(start_ip_monitor route)
1380 ipmout=$(start_ip_monitor route)
1385 # route add notification should contain expanded nexthops
1386 log_test $? 0 "IPv4 compat mode on - route add notification"
1388 # route dump should contain expanded nexthops
1390 log_test $? 0 "IPv4 compat mode on - route dump"
1392 # change in nexthop group should generate route notification
1394 ipmout=$(start_ip_monitor route)
1404 ipmout=$(start_ip_monitor route)
1407 # route add notification should not contain expanded nexthops
1408 log_test $? 0 "IPv4 compat mode off - route add notification"
1410 # route dump should not contain expanded nexthops
1412 log_test $? 0 "IPv4 compat mode off - route dump"
1414 # change in nexthop group should not generate route notification
1415 ipmout=$(start_ip_monitor route)
1420 # nexthop delete should not generate route notification
1421 ipmout=$(start_ip_monitor route)
1463 run_cmd "$IP route add 172.16.101.1 nhid 102"
1464 run_cmd "$IP route add 172.16.101.2 nhid 102"