Changes between Version 7 and Version 8 of Old/Documentation/OTG/ScriptsRepository/ExpFWD
- Timestamp:
- Oct 24, 2006, 4:38:07 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/Documentation/OTG/ScriptsRepository/ExpFWD
v7 v8 38 38 node.prototype("test:proto:sender", { 39 39 'destinationHost' => '12.0.0.7', 40 'packetSize' => 1024, 40 'packetSize' => 1024, node.net.w0.ip = "11.0.0.4" 41 41 'rate' => 300, 42 42 'protocol' => 'udp' … … 75 75 } 76 76 77 78 77 }}} 79 78 79 == route set-up for the sender to use forwarder == 80 81 To make the "forwarder" experiment work, there needs an additional cautious procedure to update the routing table of the sender. Becuase both the sender and forwarder are associated with the receiver AP in the script, we need to let the sender to always use the forwarder to send packets to AP instead of sending directly to AP. 82 83 This can be done by a perl script 84 {{{ 85 #!/usr/bin/perl 86 system("ssh root\@node4-3 route add 12.0.0.7 gw 11.0.0.1"); 87 }}} 88 89 90 91 92 93