[ns] tcp/cbr
Please help me! That the traffic TCP / CBR does not work correctly for packets with 64 bytes and 128 bytes. Even in time of 1 packet per second. The NS transmits more packets than the requested. ## Simulation TCP Reno, 1 Flow, CBR, Link 100Mb. set ns [new Simulator] set nf [open reno.nam w] $ns namtrace-all $nf set tf [open reno.tr w] $ns namtrace-all $nf $ns trace-all $tf $ns at 2.0 { puts wello-1 } #set tcp [new Agent/TCP] set tcp [new Agent/TCP/Reno] $tcp set packetSize_ 64 set cbr [new Application/Traffic/CBR] $cbr set interval_ 1.0 set sink [new Agent/TCPSink] $tcp set class_ 1 $ns color 1 red set n0 [$ns node] set n1 [$ns node] #link de 100Mbs Atraso cfe ambiente real $ns duplex-link $n0 $n1 100Mb 0.151ms DropTail proc finaliza {} { global $ns $nf $tf $ns flush trace close $nf close $tf exec nam out.nam exit O} $ns attach-agent $n0 $tcp $ns attach-agent $n1 $sink $cbr attach-agent $tcp $ns connect $tcp $sink $ns at 1.0 $cbr start $ns at 61.0 $cbr stop $ns at 62.0 exit $ns run Chegou o Windows 7. Deixe seu computador mais simples e fácil. Clique para conhecer. _ Converse e compartilhe fotos ao mesmo tempo. Saiba como no novo Site de Windows Live. http://www.windowslive.com.br/?ocid=WindowsLive09_MSN_Hotmail_Tagline_out09
[ns] tcp/cbr traffice generator
Hi everyone, Please help me! Who has tcp/cbr traffice generator please send it to me. I need so much. Thanks in advance! == Võ Quốc Trình Thiết kế ngay một Pingbox độc đáo cho riêng bạn! Tạo một nơi để chat trên blog là chuyện nhỏ. http://vn.messenger.yahoo.com/pingbox/
[ns] TCP + CBR = Rate Limiting?
Hello all, I am a new user of NS, and am trying to implement a following. Any input would be greatly appreciated :). So we're trying to use a simple rate limiter, on the node generated at a certain node with a max rate X. To explain say we have Node 0 --- Node 1 Node 2 Both Node 1 and Node 2 are sources, transmitting w/ sink at Node 0. All flows are TCP flows. Now if i attach a CBR source to the Node 1 and give it a rate X (an FTP source was used before, so I'll be comparing the two results to see the change due to rate limiting) , will it limit the rate of the flow originating at Node 1 without affecting the dynamic of this system otherwise? Thanks! - Veena