START sbin/route 2024-09-05T03:22:17Z ==== netmask ==== /sbin/route -T 5 -n -t add -net 192.0.3/24 192.0.2.1 add net 192.0.3/24: gateway 192.0.2.1 /sbin/route -T 5 -n -t add -net 192.0.4.0 -netmask 255.255.255.0 192.0.2.1 add net 192.0.4.0: gateway 192.0.2.1 /sbin/route -T 5 -n -t delete -net 192.0.3/24 192.0.2.1 delete net 192.0.3/24: gateway 192.0.2.1 /sbin/route -T 5 -n -t delete -net 192.0.4.0 -netmask 255.255.255.0 192.0.2.1 delete net 192.0.4.0: gateway 192.0.2.1 /sbin/route -T 5 -n -t add -dst 192.0.3/24 192.0.2.1 add net 192.0.3/24: gateway 192.0.2.1 /sbin/route -T 5 -n -t add -dst 192.0.4.0 -netmask 255.255.255.0 192.0.2.1 add net 192.0.4.0: gateway 192.0.2.1 /sbin/route -T 5 -n -t delete -dst 192.0.3/24 192.0.2.1 delete net 192.0.3/24: gateway 192.0.2.1 /sbin/route -T 5 -n -t delete -dst 192.0.4.0 -netmask 255.255.255.0 192.0.2.1 delete net 192.0.4.0: gateway 192.0.2.1 ==== rttest1 ==== /sbin/route -T 5 -n add 10/8 192.0.2.1 add net 10/8: gateway 192.0.2.1 /sbin/route -T 5 -n add 10.0/16 192.0.2.4 add net 10.0/16: gateway 192.0.2.4 /sbin/route -T 5 -n add 10.0/10 192.0.2.4 add net 10.0/10: gateway 192.0.2.4 /sbin/route -T 5 -n add 10.8/16 192.0.2.3 add net 10.8/16: gateway 192.0.2.3 /sbin/route -T 5 -n add 10.8.0/24 192.0.2.1 add net 10.8.0/24: gateway 192.0.2.1 /sbin/route -T 5 -n add 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n add 10.8.3/24 192.0.2.3 add net 10.8.3/24: gateway 192.0.2.3 /sbin/route -T 5 -n add 10.8.4/24 192.0.2.4 add net 10.8.4/24: gateway 192.0.2.4 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest1.ok /dev/stdin ==== rttest2 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest2.ok /dev/stdin ==== rttest3 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 && exit 1 || exit 0 add net 10.8.1/24: gateway 192.0.2.3: File exists /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest3.ok /dev/stdin ==== rttest4 ==== /sbin/route -T 5 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 /sbin/route -T 5 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest4.ok /dev/stdin ==== rttest5 ==== /sbin/route -T 5 -n add -mpath -priority 16 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n add -mpath -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n add -mpath -priority 18 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 ! /sbin/route -T 5 -n add -mpath -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2: File exists /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest5.ok /dev/stdin ==== rttest6 ==== /sbin/route -T 5 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 /sbin/route -T 5 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 ! /sbin/route -T 5 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2: File exists /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest6.ok /dev/stdin ==== rttest7 ==== /sbin/route -T 5 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 /sbin/route -T 5 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n delete -priority 17 10.8.1/24 delete net 10.8.1/24 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest7.ok /dev/stdin ==== rttest8 ==== /sbin/route -T 5 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 /sbin/route -T 5 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 ifconfig lo10002 down ! /sbin/route -T 5 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2: File exists # Wait until SRP reference count are dropped sleep .5 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest8.ok /dev/stdin ==== rttest9 ==== /sbin/route -T 5 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 /sbin/route -T 5 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 ifconfig lo10002 down /sbin/route -T 5 -n delete -priority 17 10.8.1/24 delete net 10.8.1/24 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest9.ok /dev/stdin ==== rttest10 ==== ifconfig lo10002 down /sbin/route -T 5 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 /sbin/route -T 5 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest10.ok /dev/stdin ==== rttest11 ==== ifconfig lo10002 down /sbin/route -T 5 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 /sbin/route -T 5 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest11.ok /dev/stdin ==== rttest12 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n change -mpath 10.8.1/24 192.0.2.4 change net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest12.ok /dev/stdin ==== rttest13 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 ! /sbin/route -T 5 -n change -mpath 10.8.1/24 192.0.2.1 change net 10.8.1/24: gateway 192.0.2.1: not in table ==== rttest14 ==== ifconfig lo10001 inet6 eui64 ifconfig lo10002 inet6 fd88::1/64 ifconfig lo10003 inet6 fd99::1/64 /sbin/route -T 5 -n add -inet6 fd88::666 fd99::1 add host fd88::666: gateway fd99::1 /sbin/route -T 5 -n change fd88::666 -mtu 1500 change host fd88::666 /sbin/route -T 5 -n show -inet6 2>&1 | diff -u /usr/src/regress/sbin/route/rttest14.ok /dev/stdin ==== rttest15 ==== /sbin/route -T 5 -n add 10.0/16 192.0.2.4 add net 10.0/16: gateway 192.0.2.4 /sbin/route -T 5 -n change 10.0/16 -ifa 192.0.2.2 change net 10.0/16 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest15.ok /dev/stdin ==== rttest16 ==== ifconfig lo10001 inet6 eui64 ifconfig lo10002 inet6 fd88::1/64 ifconfig lo10003 inet6 fd99::1/64 /sbin/route -T 5 -n add -inet6 fd88::666 fd99::1 add host fd88::666: gateway fd99::1 /sbin/route -T 5 -n change fd88::666 -ifp lo10002 change host fd88::666 /sbin/route -T 5 -n show -inet6 2>&1 | diff -u /usr/src/regress/sbin/route/rttest16.ok /dev/stdin ==== rttest17 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n delete -mpath 10.8.1/24 192.0.2.3 delete net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n show -inet -gateway 2>&1 | diff -u /usr/src/regress/sbin/route/rttest17.ok /dev/stdin ==== rttest18 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n delete -mpath 10.8.1/24 192.0.2.4 delete net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n show -inet -gateway 2>&1 | diff -u /usr/src/regress/sbin/route/rttest18.ok /dev/stdin ==== rttest19 ==== /sbin/route -T 5 -n add 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 /sbin/route -T 5 -n add -mpath 10.8.1/25 192.0.2.3 add net 10.8.1/25: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/25 192.0.2.4 add net 10.8.1/25: gateway 192.0.2.4 /sbin/route -T 5 -n add 10.8.1/26 192.0.2.2 add net 10.8.1/26: gateway 192.0.2.2 /sbin/route -T 5 -n delete -mpath 10.8.1/25 192.0.2.3 delete net 10.8.1/25: gateway 192.0.2.3 /sbin/route -T 5 -n show -inet -gateway 2>&1 | diff -u /usr/src/regress/sbin/route/rttest19.ok /dev/stdin ==== rttest20 ==== ifconfig lo10001 inet6 fd88::1/64 ifconfig lo10002 inet6 fd88::2/64 /sbin/route -T 5 -n add -inet6 2001:ee0:2001:c0::/64 fd88::1 add net 2001:ee0:2001:c0::/64: gateway fd88::1 /sbin/route -T 5 -n add -inet6 -mpath 2001:ee0:2001:c0::/64 fd88::2 add net 2001:ee0:2001:c0::/64: gateway fd88::2 /sbin/route -T 5 -n get -inet6 2001:ee0:2001:c0::/64 2>&1 | diff -u /usr/src/regress/sbin/route/rttest20.ok /dev/stdin ==== rttest21 ==== /sbin/route -T 5 -n add 10.8.1/24 -gateway 192.0.2.3 -priority 4 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add 10.8.1/24 -gateway 192.0.2.3 -priority 3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add 10.8.1/24 -gateway 192.0.2.3 -priority 5 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest21.ok /dev/stdin ==== rttest22 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n change -mpath -mtu 1000 10.8.1/24 192.0.2.4 change net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest22.ok /dev/stdin ==== rttest23 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 ! /sbin/route -T 5 -n change -mpath -mtu 1000 10.8.1/24 change net 10.8.1/24: not in table ==== rttest24 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n change -mpath -lock -mtu 1000 10.8.1/24 192.0.2.4 change net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest24.ok /dev/stdin ==== rttest25 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 ! /sbin/route -T 5 -n change -mpath -mtu 1000 10.8.1/24 192.0.2.1 change net 10.8.1/24: gateway 192.0.2.1: not in table ==== rttest26 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n change -mpath -mtu 1000 10.8.1/24 change net 10.8.1/24 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest26.ok /dev/stdin ==== rttest27 ==== /sbin/route -T 5 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 /sbin/route -T 5 -n change -mpath -mtu 1000 10.8.1/24 192.0.2.4 change net 10.8.1/24: gateway 192.0.2.4 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest27.ok /dev/stdin ==== rttest28 ==== ! /sbin/route -T 5 -n delete 192.0.2.1 192.0.2.1 delete host 192.0.2.1: gateway 192.0.2.1: Invalid argument ==== rttest29 ==== ! /sbin/route -T 5 -n change -expire 30 192.0.2.1 192.0.2.2 change host 192.0.2.1: gateway 192.0.2.2: Invalid argument ==== rttest30 ==== ifconfig vether99 rdomain 5 lladdr fe:e1:ba:d4:c8:1d up ifconfig vlan99 rdomain 5 parent vether99 vnetid 3 up ifconfig vether99 10.1.254.56/14 ifconfig vlan99 inet alias 10.1.255.1/14 ifconfig vlan99 inet alias 10.1.255.2/14 ifconfig vlan99 inet alias 10.1.255.3/14 ifconfig vlan99 down # Wait until SRP reference count are dropped sleep .5 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest30.ok /dev/stdin ==== rttest31 ==== /sbin/route -T 5 -n add -mpath 192.0.3/24 -priority 13 192.0.2.3 add net 192.0.3/24: gateway 192.0.2.3 /sbin/route -T 5 -n add -mpath 192.0.3/24 -priority 11 192.0.2.1 add net 192.0.3/24: gateway 192.0.2.1 /sbin/route -T 5 -n add -mpath 192.0.3/24 -priority 14 192.0.2.4 add net 192.0.3/24: gateway 192.0.2.4 /sbin/route -T 5 -n add -mpath 192.0.3/24 -priority 12 192.0.2.2 add net 192.0.3/24: gateway 192.0.2.2 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest31.ok /dev/stdin ==== rttest32 ==== # Use vether(4) and vlan(4) because we need IFT_ETHER interfaces # for the auto-magic RTF_CLONING routes. ifconfig vether99 rdomain 5 lladdr fe:e1:ba:d4:c8:1d up ifconfig vether99 130.102.71.68/27 ifconfig vlan99 rdomain 5 parent vether99 vnetid 3 up ifconfig vlan99 130.102.71.70/27 # Inserting such route generate the insertion of a RTF_CLONED entry # attached to the specified interface /sbin/route -T 5 -n add -net 192.168.67.0/25 130.102.71.67 -priority 9 -ifp vether99 add net 192.168.67.0/25: gateway 130.102.71.67 /sbin/route -T 5 -n add -net 192.168.67.128/25 130.102.71.67 -priority 3 -ifp vlan99 add net 192.168.67.128/25: gateway 130.102.71.67 /sbin/route -T 5 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /usr/src/regress/sbin/route/rttest32.ok /dev/stdin ==== rttest33 ==== # Use vether(4) because we need IFT_ETHER interfaces # for the auto-magic RTF_CLONING routes. ifconfig vether99 rdomain 5 lladdr fe:e1:ba:d4:c8:1d up ifconfig vether99 192.168.178.52/24 ifconfig vether99 alias 192.168.178.53/24 /sbin/route -T 5 -n add default 192.168.178.1 add net default: gateway 192.168.178.1 # Remove the alias ifconfig vether99 192.168.178.53 delete /sbin/route -T 5 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /usr/src/regress/sbin/route/rttest33.ok /dev/stdin ==== rttest34 ==== ifconfig vether99 rdomain 5 lladdr fe:e1:ba:d4:c8:1d up ifconfig vether99 192.168.71.10 /sbin/route -T 5 -n add default 192.168.71.1 add net default: gateway 192.168.71.1 /sbin/route -T 5 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /usr/src/regress/sbin/route/rttest34.ok /dev/stdin ==== rttest35 ==== ifconfig vether99 rdomain 5 lladdr fe:e1:ba:d4:c8:1d up ifconfig vether99 192.168.3.23 /sbin/route -T 5 -n add 0.0.0.0/0 192.168.3.1 add net 0.0.0.0/0: gateway 192.168.3.1 /sbin/route -T 5 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /usr/src/regress/sbin/route/rttest35.ok /dev/stdin ==== rttest36 ==== ifconfig vether99 rdomain 5 lladdr fe:e1:ba:d4:c8:1d up ifconfig vether99 192.168.89.5 /sbin/route -T 5 -n add 0.0.0.0 192.168.89.1 add host 0.0.0.0: gateway 192.168.89.1 /sbin/route -T 5 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /usr/src/regress/sbin/route/rttest36.ok /dev/stdin ==== rttest37 ==== /sbin/route -T 5 -n add 10.1.0.2/24 192.0.2.1 add net 10.1.0.2/24: gateway 192.0.2.1 /sbin/route -T 5 -n add 10.2.1.8/16 192.0.2.2 add net 10.2.1.8/16: gateway 192.0.2.2 /sbin/route -T 5 -n add 10.3.5.7/8 192.0.2.3 add net 10.3.5.7/8: gateway 192.0.2.3 /sbin/route -T 5 -n add 172.25.8.3/24 192.0.2.1 add net 172.25.8.3/24: gateway 192.0.2.1 /sbin/route -T 5 -n add 172.30.2.5/16 192.0.2.2 add net 172.30.2.5/16: gateway 192.0.2.2 /sbin/route -T 5 -n add 172.21.4.7/8 192.0.2.3 add net 172.21.4.7/8: gateway 192.0.2.3 /sbin/route -T 5 -n add 192.168.5.3/24 192.0.2.1 add net 192.168.5.3/24: gateway 192.0.2.1 /sbin/route -T 5 -n add 192.168.9.8/16 192.0.2.2 add net 192.168.9.8/16: gateway 192.0.2.2 /sbin/route -T 5 -n add 192.168.1.7/8 192.0.2.3 add net 192.168.1.7/8: gateway 192.0.2.3 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest37.ok /dev/stdin ==== rttest38 ==== /sbin/route -T 5 -n add 10.0.0.5 192.0.2.1 add host 10.0.0.5: gateway 192.0.2.1 /sbin/route -T 5 -n add 10.4.2 192.0.2.2 add net 10.4.2: gateway 192.0.2.2 /sbin/route -T 5 -n add 10.5 192.0.2.3 add net 10.5: gateway 192.0.2.3 /sbin/route -T 5 -n add 10 192.0.2.4 add net 10: gateway 192.0.2.4 /sbin/route -T 5 -n add 172.16.1.8 192.0.2.1 add host 172.16.1.8: gateway 192.0.2.1 /sbin/route -T 5 -n add 172.17.2 192.0.2.2 add net 172.17.2: gateway 192.0.2.2 /sbin/route -T 5 -n add 172.28 192.0.2.3 add net 172.28: gateway 192.0.2.3 /sbin/route -T 5 -n add 172 192.0.2.4 add net 172: gateway 192.0.2.4 /sbin/route -T 5 -n add 192.168.7.9 192.0.2.1 add host 192.168.7.9: gateway 192.0.2.1 /sbin/route -T 5 -n add 192.168.2 192.0.2.2 add net 192.168.2: gateway 192.0.2.2 /sbin/route -T 5 -n add 192.168 192.0.2.3 add net 192.168: gateway 192.0.2.3 /sbin/route -T 5 -n add 192 192.0.2.4 add net 192: gateway 192.0.2.4 /sbin/route -T 5 -n show -inet 2>&1 | diff -u /usr/src/regress/sbin/route/rttest38.ok /dev/stdin PASS sbin/route Duration 0m25.65s