wiki:Old/NodeHandler/Commands/nodes-route

Version 1 (modified by (none), 18 years ago) ( diff )

Documentation | NodeHandler | Commands | nodes | route

WARNING: Not implemented yet'''

route: Manipulate the IP Routing Table

This command allows the experimenter to manipulate the IP routing table entries associated with a specific interface.

Syntax

nodeSet.net.ifName.route.add(network, options = nil)
nodeSet.net.ifName.route.delete(network, options = nil)

  • network: The set of nodes to use
  • options: Command to issue on the set.

The following options and their repsective value ranges are listed below:

  • net Network resource
  • w0, w1 Wireless interface

Usage

nodes('sender1').net.e0.route.add()

nodes('sender1').net.w0.route { |r|
  r.add()
  r.add()
}

See Also

nodes

Note: See TracWiki for help on using the wiki.