Changes between Version 1 and Version 2 of Old/NodeHandler/Commands/nodes-route


Ignore:
Timestamp:
Nov 5, 2006, 12:10:40 PM (17 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/NodeHandler/Commands/nodes-route

    v1 v2  
    2020
    2121
    22   * '''network''': The set of nodes to use
    23   * '''options''': Command to issue on the set.
     22  * '''network''': Target of route command in the format 'network/netmask'.
     23  * '''options''': List of options as ''key => value''
    2424
    25 The following options and their repsective value ranges are listed below:
     25The following options and their respective value ranges are listed below:
    2626
    27   * '''net''' Network resource
    28   * '''w0, w1''' Wireless interface
     27  * '''gw''' IP address of gateway.
     28  * '''metric''' Metric field in the routing table
     29  * '''mss'''   TCP Maximum Segment Size (MSS) in bytes.
     30  * '''window'''  TCP window size for connections over  this  route  in bytes.
     31  * '''irtt''' The initial round trip time (irtt) for TCP connections  over
     32              this  route  in milliseconds (1-12000).
    2933
    3034== Usage ==
    3135
    3236{{{
    33 nodes('sender1').net.e0.route.add()
     37nodes('sender1').net.e0.route.add('192.56.76.0/24')
    3438
    3539nodes('sender1').net.w0.route { |r|
    36   r.add()
     40  r.add('default', 'gw' => 'mango-gw')
    3741  r.add()
    3842}