Reference Manual


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


Command routes displays the contents of the NAT32 routing table. If an argument is specified, addresses 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 optional 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 Display the source-specific table entries for the auxiliary interface (VPN)
Unlike Windows, NAT32 fully supports multiple default routes, applying an Interface Selection Algorithm (see setis) in order to select an interface 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, route, setis, setsr