Lines Matching refs:route
54 [ "$ip4_addr" ] && ip route show | grep -q $ip4_addr && ip route del $ip4_addr
171 tst_res TINFO "test 'ip route add/del' commands"
173 ROD ip route add $ip4_addr via 127.0.0.1
175 tst_res TINFO "show all route entries in route table"
182 ip route show | grep "$ip4_addr via 127.0.0.1 dev lo" > tst_ip.out 2>&1
184 tst_res TFAIL "'ip route show' command failed"
190 tst_res TFAIL "'ip route show' did not list new route"
194 tst_res TINFO "delete route from the route table"
196 ROD ip route del $ip4_addr via 127.0.0.1
198 ip route show | grep 127.0.0.1 > /dev/null
200 tst_res TFAIL "route not deleted"
204 tst_res TPASS "'ip route' command successfully tested"