ORBIT-USER: regarding multiple receivers

Thierry Rakotoarivelo Thierry.Rakotoarivelo at nicta.com.au
Tue Aug 7 21:25:03 EDT 2007


Hi,

Maybe you should set the 'destinationHost' field to a broadcast address, 
such as 192.168.255.255 (since you use the 'broadcast' option of otg in 
the sender group, i.e. test:proto:sender application)

Regards,
Thierry.

Amrita A. Nimbalkar wrote:
> Hi all,
> 
> I have a 1 sender and multiple receivers(4 in this case)...will the following code work??it is not a complete code just a part of it....i am not sure if defnodes is used properly.... 
> 
> 
> Experiment.name = "rateudp" 
> Experiment.project = "orbitlab"
> 
> Experiment.defProperty('offerload', 500, 'offered load of flow') 
> Experiment.defProperty('packetsize',1024, 'size of flow') 
> 
> defNodes('sender', [1,2]){|node|
>   node.prototype("test:proto:sender", {
>     'destinationHost' => '192.168.1.8,
>     'destinationHost' => '192.168.2.2',
>     'destinationHost' => '192.168.3.2',
>     'destinationHost' => '192.168.4.6', 
>     'broadcast'=> 'on', 
>     'packetSize' => prop.packetsize,
>     'rate' => prop.offerload,
>     'protocol' => 'udp'
>   })
>   node.net.w0.mode = "managed"
>   node.net.w0.type = 'b' 
>   node.net.w0.essid = "helloworld1" 
>   node.net.w0.channel = 1
>   node.net.w0.rate='11M' 
> }
> 
> defNodes('receivergroup', [[1,8],[2,2],[3,2],[4,6]]){|node|
>   node.prototype("test:proto:raw_receiver", {
>     'protocol' => 'udp_libmac'
>   })
>   node.net.w0.ip = "%192.168.%x.%y"
>   node.net.w0.mode = "master"
>   node.net.w0.type = 'b' 
>   node.net.w0.essid = "helloworld1" 
>   node.net.w0.channel = 1 
> }
> 



More information about the orbit-user mailing list