Changes between Version 1 and Version 2 of Old/NodeHandler/Commands/nodes-route
- Timestamp:
- Nov 5, 2006, 12:10:40 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/NodeHandler/Commands/nodes-route
v1 v2 20 20 21 21 22 * '''network''': T he set of nodes to use23 * '''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'' 24 24 25 The following options and their re psective value ranges are listed below:25 The following options and their respective value ranges are listed below: 26 26 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). 29 33 30 34 == Usage == 31 35 32 36 {{{ 33 nodes('sender1').net.e0.route.add( )37 nodes('sender1').net.e0.route.add('192.56.76.0/24') 34 38 35 39 nodes('sender1').net.w0.route { |r| 36 r.add( )40 r.add('default', 'gw' => 'mango-gw') 37 41 r.add() 38 42 }