Lines Matching refs:route
76 rump.route add -net 10.0.0.1/32 -link -cloning -iface shmif0
88 # Don't know a route to the gateway yet
90 -e match:'No route to host' rump.ping $PING_OPTS 192.168.0.1
92 # Teach a route to the gateway
94 rump.route add -net 192.168.0.1/32 -link -cloning -iface shmif0
96 rump.route add default -ifa 10.0.0.1 192.168.0.1
118 atf_set "descr" "tests of route get command"
125 atf_set "descr" "tests of route get command (IPv6)"
141 atf_check -s exit:0 -o ignore rump.route add -inet6 default ${gw}
144 atf_check -s exit:0 -o ignore rump.route add default ${gw}
233 route to: 10.0.1.2
240 rump.route -n get $IP4SRC > ./output
248 route to: 10.0.1.1
256 rump.route -n get $IP4SRCGW > ./output
263 route to: 10.0.2.2
272 rump.route -n get $IP4DST > ./output
282 route to: 10.0.1.1
290 rump.route -n get $IP4SRCGW > ./output
308 route to: fc00:0:0:1::2
315 rump.route -n get -inet6 $IP6SRC > ./output
322 route to: fc00:0:0:1::1
330 rump.route -n get -inet6 $IP6SRCGW > ./output
337 route to: fc00:0:0:2::2
346 rump.route -n get -inet6 $IP6DST > ./output
356 route to: fc00:0:0:1::1
364 rump.route -n get -inet6 $IP6SRCGW > ./output
406 atf_set "descr" "tests for making a default route reject"
420 rump.route add -inet6 ::0.0.0.0 -prefixlen 104 ::1 -reject
425 rump.route add -inet6 default $IP6SRCGW
427 $DEBUG && rump.route -n get -inet6 default
429 rump.route change -inet6 default -reject
446 atf_set "descr" "tests of route add command"
459 # Accept the route whose gateway is in a subnet of interface address
460 atf_check -s exit:0 -o ignore rump.route add \
462 atf_check -s exit:0 -o ignore rump.route add \
465 # Accept the route whose gateway is an interface
466 atf_check -s exit:0 -o ignore rump.route add \
469 # Accept the route whose gateway is reachable and not RTF_GATEWAY
470 atf_check -s exit:0 -o ignore rump.route add \
473 # Don't accept the route whose destination is reachable and
475 atf_check -s not-exit:0 -o ignore -e match:'unreachable' rump.route add \
478 # Don't accept the route whose gateway is reachable and RTF_GATEWAY
479 atf_check -s not-exit:0 -o ignore -e ignore rump.route add \
496 atf_set "descr" "tests of route add command (IPv6)"
509 # Accept the route whose gateway is in a subnet of interface address
510 atf_check -s exit:0 -o ignore rump.route add -inet6\
512 atf_check -s exit:0 -o ignore rump.route add -inet6\
515 # Accept the route whose gateway is an interface
516 atf_check -s exit:0 -o ignore rump.route add -inet6\
519 # Accept the route whose gateway is reachable and not RTF_GATEWAY
520 atf_check -s exit:0 -o ignore rump.route add -inet6\
523 # Don't accept the route whose destination is reachable and
525 atf_check -s not-exit:0 -o ignore -e match:'unreachable' rump.route add \
528 # Don't accept the route whose gateway is reachable and RTF_GATEWAY
529 atf_check -s not-exit:0 -o ignore -e match:'unreachable' rump.route add \
551 # 1. test auto removal of a route that depends a removing address
555 rump.route -n add -$af -net $alt_net/$prefix $addrgw
560 # The route should be deleted on the address removal
562 rump.route -n get -$af $alt_addr
565 # 2. test auto update of a route that depends a removing address where
567 # route
572 rump.route -n add -$af -net $alt_net/$prefix $addrgw
576 rump.route -n get -$af $addrgw
578 rump.route -n get -$af $alt_addr
583 # local addr (rt_ifa) of the connected route should be changed
586 rump.route -n get -$af $addrgw
587 # local addr (rt_ifa) of the related route should be changed
590 rump.route -n get -$af $alt_addr
596 # 3. test auto update of a route that depends a removing address where
602 rump.route -n add -$af -net $alt_net/$prefix $addrgw
606 rump.route -n get -$af $addrgw
608 rump.route -n get -$af $alt_addr
613 # local addr (rt_ifa) of the connected route should be changed
616 rump.route -n get -$af $addrgw
618 # local addr (rt_ifa) of the related route should be changed
621 rump.route -n get -$af $alt_addr
623 # For IPv6, each address has its own connected route so the
624 # address removal just results in a removal of the related route
627 rump.route -n get -$af $alt_addr