{184} route show -inet net 192.168.0/24
route: botched keyword: 192.168.0/24
Usage: route [-dfLnqSsTtv] cmd [[-<qualifiers>] args]

route show is documented to print the table.  It does not take narrowing
specifiers.

Try

 route get -inet 192.168.0.0/24

and it's arguably a bug that

 route get -inet 192.168.0/24

errors, but that route show prints it that way.

kewl, thanks.  somehow I completely missed all mention of ``route get''


+--------------------+--------------------------+----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com    |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org  |
| & Network Engineer |                          | pgoyett...@gmail.com |
+--------------------+--------------------------+----------------------+

Reply via email to