47
Experience the Internet @ GreatSpeed
GS-R250S Installation Guide
Note that the routing table does not contain routes to the directly connected network , without going through
a gateway. TCP/IP routes packets to such destination by using the information in the device and subnet tables
instead.
The “route” command (with no parameter) displays the routing table. It adds a comment to each route with
the following information:
How the route was obtained; one of
MAN - configured by the “route” command.
RIP - obtained from RIP.
ICMP - obtained from an ICMP redirected message.
SNMP - configured by SNMP network management.
The time-out, if the route is not permanent.
The original time-out, if the route is not permanent.
The name of the interface ( if known) that will be used for the route.
An asterisk ( * ) if the route was added recently and RIP has not yet processed the change . (the asterisk should
disappear within 30 seconds , when RIP next considers broadcasting routing information).
Configuration saving saves this information. (Only the routes configured by the “route” command are saved or
displayed by “ config”).
Example:
Mymachine > ip route add default 0.0.0.0 192.168.2.3 0:0:0:0
!
Mymachine > ip route add testnet1 192.168.101.0 192.168.2.4
!
Mymachine > ip route add testnet2 192.168.102.0 192.168.2.34 ff:ff:ff:0 1 60
!
Mymachine > ip route
!
• subnet
>subnet
!
>subnet add <name> <i/ f> <IP address > <mask>
!
>subnet delete <name>
!
>subnet flush
!
Lists defined subnets; defines a subnet; deletes a subnet; or deletes all subnet definitions.
<name> is a label , that can be specified by “subnet add” and later used by “subnet delete” to delete the subnet.
<i/f> is not used, but is present for historical reasons and must be specified as either “ . “ or a valid interface
name.
<IP address> is the IP address of the subnet being defined (only thosebits of <dest> corresponding to bits set in
<mask> are relevant.
subnet
command continued on the next page.