[ns] How to use droptail/queue in wireless network

2009-11-12 Thread thang
Hi, In traditional network to use Droptail/Queue i see using $ns duplex-link $n0 $n2 5Mb 2ms DropTail and i wireless network i see set val(chan) Channel/WirelessChannel;# channel type set val(prop) Propagation/TwoRayGround ;#

[ns] Help me multichannels

2009-11-10 Thread thang
Hi all, Anyone uses multichannels as http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html? I made hyacinth on Ns-2.29 and test with twoflows-2channel.tcl and run well. Now i have some nodes 01(4)---3---2.There are 2 channels: 1--2--4 and 2---3---4. How to transfer a packet from 1 to 4 and