
A12-44
893-741-B
Internet Protocol (IP) Routing
route Command Examples
Both of the following examples add a hardwired route for the destination address 131.108.3.0 using
a subnet mask of 255.255.255.0. This subnet mask indicates that the first two octets are the network
address, the third octet (which normally is part of the host portion of this Class B address) is the
subnet, and the fourth octet is the host (for more information on subnets, see Subnetting Using Subnet
Masks on page A12-13). The next hop is 131.254.33.2 and the metric (hop count) for the route is 2.
The examples are:
annex# route add –h 131.108.3.0 255.255.255.0 131.254.33.2 2
and
annex# route add –h 131.108.3.0/24 131.254.33.2 2
Both of the preceding examples configure the Model 5390 server to use the gateway at 131.254.33.2
as the next hop for any host destination whose address is within the range 131.108.3.1 through
131.108.3.254.
gateway
Specifies the IP address of the gateway (router) that is the
next hop for the route.
metric
Specifies the number of hops to the destination. Values range
from 1 through 15; the default is 1.
Table A12-8. Arguments for route Command (continued)
Argument
Description
Summary of Contents for 5390
Page 28: ...893 741 B Figures xxviii ...
Page 44: ...893 741 B Preface xliv ...
Page 45: ......
Page 48: ......
Page 60: ...A1 12 893 741 B Introduction to the Model 5390 Server ...
Page 106: ...A3 18 893 741 B Configuring Ports ...
Page 142: ...A5 12 893 741 B Printers ...
Page 152: ...A6 10 893 741 B Modems ...
Page 168: ...A7 16 893 741 B Serial Line Internet Protocol SLIP ...
Page 224: ...A9 38 893 741 B Internetwork Packet Exchange IPX Protocol ...
Page 258: ...A11 12 893 741 B Dial up Networking ...
Page 289: ...893 741 B A12 31 Internet Protocol IP Routing that are possible ...
Page 506: ...A15 86 893 741 B Using Model 5390 Security ...
Page 507: ......
Page 544: ...B1 36 893 741 B Network Administration ...
Page 574: ...B2 30 893 741 B Simple Network Management Protocol SNMP ...
Page 575: ......
Page 606: ...C1 30 893 741 B na Commands ...
Page 676: ...C2 70 893 741 B Configuration Parameters ...
Page 772: ...C3 96 893 741 B Using the CLI Commands ...
Page 794: ...C5 12 893 741 B Network Protocols ...
Page 795: ......
Page 796: ... Appendix D1 Software Reference Part D Appendixes ...