Changes between Version 7 and Version 8 of Old/Documentation/OTG/ScriptsRepository/ExpFWD


Ignore:
Timestamp:
Oct 24, 2006, 4:38:07 PM (18 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Documentation/OTG/ScriptsRepository/ExpFWD

    v7 v8  
    3838  node.prototype("test:proto:sender", {
    3939    'destinationHost' => '12.0.0.7',
    40     'packetSize' => 1024,
     40    'packetSize' => 1024,  node.net.w0.ip = "11.0.0.4"
    4141    'rate' => 300,
    4242    'protocol' => 'udp'
     
    7575}
    7676
    77 
    7877}}}
    7978
     79== route set-up for the sender to use forwarder ==
     80
     81To 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 
     83This can be done by a perl script
     84{{{
     85#!/usr/bin/perl
     86system("ssh root\@node4-3 route add 12.0.0.7 gw 11.0.0.1");
     87}}}
     88
     89
     90
     91
     92
     93