![Black Box LS1016A User Manual Download Page 288](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435288.webp)
Appendix A - New User Background Information
288
BLACK BOX
®
Advanced Console Server
The Routing Table
The BLACK BOX
®
Advanced Console Server has a static routing table that can be seen using
the commands:
route
or
netstat -rn
The file /etc/network/st_routes is the BLACK BOX
®
Advanced Console Server’s method for
configuring static routes. Routes should be added to the file (which is a script run when the
BLACK BOX
®
Advanced Console Server is initialized) or at the prompt (for temporary
routes) using the following syntax:
route [add|del] [-net|-host] target netmask nt_msk [gw gt_way]
interf
[add|del]
One of these tags must be present
. R
outes can be either added or deleted.
[-net|-host]
Net is for routes to a network and -host is for routes to a single host.
target
Target is the IP address of the destination host or network.
netmask
nt_msk
The tag
netmask
and
nt_mask
are necessary only when subnetting is used,
otherwise, a mask appropriate to the target is assumed. nt_msk must be
specified in dot notation.
gw gt_way
Specifies a gateway, when applicable. gt_way is the IP address or hostname
of the gateway.
interf
The interface to use for this route. Must be specified if a gateway is not.
When a gateway is specified, the operating system determines which inter-
face is to be used.