ASYNC ROUTER AR-P, AR-5, AND SYNC ROUTER REFERENCE MANUAL

Bits—subnet mask /bits.

Interface—interface iface on which matching packets are routed.

Route/NextHop—IP address of the next hop.

Metric—the number of hops to the destination.

Timer—seconds left until the route expires. A value of 0 indicates a permanent route.

Use—the number of times this route has been used.

Flags—provide information about the route. Possible values for this field are:

T—temporary route that will be deleted when timer value reaches zero. The timer is set at 240 seconds by RIP.

P—private route that RIP will not advertise.

U—trigger route, recently changed but not yet advertised by RIP.

D—the interface associated with this route is currently down.

route add dest_addr[/bits] iface router_addr [metric]

Adds a route to the network indicated by the destination network you specify with:

dest_addr—The address of the network towards which you are defining a route.

/bits—The number of significant contiguous bits in the destination address dest_addr to be used as a subnet mask for matching. If the number of subnet mask bits is not specified, 32 bits are assumed as a default.

iface—eth0, modem0-4, sync0

router_addr—The address of the closest router to your Router where packets should be sent first, called the next hop.

metric—The number of hops to the destination.

route addprivate dest_addr[/bits] iface router_addr [metric]

Add a private route to dest_addr, which will not be advertised by RIP.

dest_addr—The address of the network towards which you are defining a route.

/bits—The number of significant contiguous bits in the address dest_addr to be used as a subnet mask for matching. If the number of subnet mask bits is not specified, 32 bits are assumed as a default.

router_addr—The address of the closest router to your Router where packets should be sent first, called the next hop.

metric—The number of hops to the destination.

route add default iface router_addr [metric]

Specifies the next hop router to which packets with no corresponding entry in the routing table will be sent.

iface—The desired default interface.

229

Page 229
Image 229
Black Box LRA005A-R2 manual 229, Route add destaddr/bits iface routeraddr metric, Route add default iface routeraddr metric