| 1 | [wiki:Documentation] |
| 2 | | [wiki:Documentation/NodeHandler NodeHandler] |
| 3 | | [wiki:Documentation/NodeHandler/Commands Commands] |
| 4 | | [wiki:Documentation/NodeHandler/Commands/nodes nodes] |
| 5 | | route |
| 6 | |
| 7 | |
| 8 | '''WARNING: Not implemented yet!''' |
| 9 | |
| 10 | = route: Manipulate the IP Routing Table = |
| 11 | |
| 12 | This command allows the experimenter to manipulate the IP routing table entries associated with |
| 13 | a specific interface. |
| 14 | |
| 15 | |
| 16 | == Syntax == |
| 17 | |
| 18 | ''nodeSet''.net.''ifName''.'''route.add(''network'', ''options = nil'')'''[[BR]] |
| 19 | ''nodeSet''.net.''ifName''.'''route.delete(''network'', ''options = nil'')'''[[BR]] |
| 20 | |
| 21 | |
| 22 | * '''network''': The set of nodes to use |
| 23 | * '''options''': Command to issue on the set. |
| 24 | |
| 25 | The following options and their repsective value ranges are listed below: |
| 26 | |
| 27 | * '''net''' Network resource |
| 28 | * '''w0, w1''' Wireless interface |
| 29 | |
| 30 | == Usage == |
| 31 | |
| 32 | {{{ |
| 33 | nodes('sender1').net.e0.route.add() |
| 34 | |
| 35 | nodes('sender1').net.w0.route { |r| |
| 36 | r.add() |
| 37 | r.add() |
| 38 | } |
| 39 | }}} |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | == See Also == |
| 45 | |
| 46 | [wiki:Documentation/NodeHandler/Commands/nodes nodes] |