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 0---->1---->(4)<---3<---2.There are 2 channels: 1-->2-->4 and 2--->3--->4. How to transfer a packet from 1 to 4 and 2 to 4. I tried #################### # Add routing tag $node_(0) add-route-tag 1 999 $node_(1) add-route-tag 4 88 $node_(2) add-route-tag 3 8 $node_(3) add-route-tag 4 99 #$ragent add-next-hop $dst $tag $hop $nic # Add next hop $node_(0) add-next-hop 1 999 1 2 $node_(1) add-next-hop 4 88 4 5 $node_(2) add-next-hop 3 8 3 3 $node_(3) add-next-hop 4 99 4 1 ******--------------------******* set null0 [new Agent/Null] $ns_ attach-agent $node_(1) $null0 set cbr0 [attach-cbr-traffic $node_(0) $null0 500 0.005] $ns_ at 0.001 "$cbr0 start" $ns_ at 4.9 "$cbr0 stop" set null1 [new Agent/Null] $ns_ attach-agent $node_(3) $null1 set cbr1 [attach-cbr-traffic $node_(2) $null1 500 0.005] $ns_ at 0.001 "$cbr1 start" $ns_ at 4.9 "$cbr1 stop" ==> result is only packets transfer from 0 to 1, 2 to 3, packets can't reach to 4. Please, please help me soon. Thank you very much.