[wiki:Documentation] | [wiki:Documentation/NodeHandler NodeHandler] | [wiki:Documentation/NodeHandler/Commands Commands] | [wiki:Documentation/NodeHandler/Commands/nodes 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'')'''[[BR]] ''nodeSet''.net.''ifName''.'''route.delete(''network'', ''options = nil'')'''[[BR]] * '''network''': Target of route command in the format 'network/netmask'. * '''options''': List of options as ''key => value'' The following options and their respective value ranges are listed below: * '''gw''' IP address of gateway. * '''metric''' Metric field in the routing table * '''mss''' TCP Maximum Segment Size (MSS) in bytes. * '''window''' TCP window size for connections over this route in bytes. * '''irtt''' The initial round trip time (irtt) for TCP connections over this route in milliseconds (1-12000). == Usage == {{{ nodes('sender1').net.e0.route.add('192.56.76.0/24') nodes('sender1').net.w0.route { |r| r.add('default', 'gw' => 'mango-gw') r.add() } }}} == See Also == [wiki:Documentation/NodeHandler/Commands/nodes nodes]