Reference Manual


routes - display routing table information
routes [names]
routes [count]
routes [ifn | vpn | main | alt | aux]


Command routes displays the contents of the NAT32 routing table. If the names argument is specified, host-specific entries are resolved to DNS names, otherwise addresses are displayed in dotted decimal notation.

The following information is displayed:

destination destination host or network address of a packet
mask subnet mask for the destination address
nexthop address of the next hop for a packet
source the source address or subnet of packets permitted to use this route
metric routing metric (0 = direct delivery, 1 - 15 = indirect delivery)
ifn interface over which the packet will be delivered
ttl time-to-live in milliseconds for this entry
usage the number of packets which have used this entry
proto entry is used only for packets of this protocol type
portl lowest destination protocol port number for this entry
porth highest destination protocol port number for this entry
The other command arguments denote the following:
count Display the number of entries in the table and table usage per interface
names Display the names of host-specific table entries
ifn Display interface-specific table entries
vpn | main | alt | aux Display the source-specific table entries for the specified interface
Unlike Windows, NAT32 fully supports multiple default routes, applying an Interface Selection Algorithm or a Gateway Selection Algorithm (see setis and setgs) in order to select an interface or gateway for outgoing TCP connections. When multiple Internet connections exist, Source Routing can be specified to ensure that only traffic from a specific host or network uses a specified connection (see setsr). If a protocol is specified, the entry is used only for packets of that protocol type. If a port range is specified, the entry is used only for packets matching both the specified protocol type and destination port number range.
OpenVPN, Backup, route, setis, setgs, setsr