Telsey telecommunications
Command Line Interface
117
MT500--SIEN12
ROUTE
NAME:
route
- show / manipulate the IP routing table
SYNOPSIS:
route
add
<ipaddress>
<subnetmask>
<[<gateway>]
[<interface>]>
route delete <ipaddress> <subnetmask>
route show
route -help
DESCRIPTION:
route
manipulates the IP routing table. Its primary use is to set up static
routes to specific hosts or networks via an interface. When the add or delete
options are used, route modifies the routing tables. Show option displays the
current contents of the routing tables. Note default gateway route should use
another "defaultgateway" command. If 0.0.0.0 is entered using route add
command, it is treated the same as a static default gateway where a
subnetmask must be entered.
COMMANDS:
add
add a new route entry
delete
delete a route entry
show
show current content of routing table including static and dynamic route
entries
OPTIONS:
ipaddress
the destination network or host IP address in dotted decimal notation.
subnetmask
when adding a network route, the netmask must be specified. Target
address must have zero matching with the zero portion in NM.
Otherwise, command will fail and display message "netmask doesn't
match route address" gateway route packets via a gateway.
NOTE: The specified gateway must be reachable first. This usually means
that you have to set up a static route to the gateway beforehand. If you
specify the address of one of your local interfaces, it will be used to
decide about the interface to which the packets should be routed to.
interface
force the route to be associated with the specified device, as the kernel
will otherwise try to determine the device on its own by checking already
existing routes and devices.
EXAMPLES:
Add a route to the network 192.56.76.x via "br0" interface.