i trying send ftp packets using tcp. parameter in ns2 should use change data rate of sender? tried using following vary between 2 mbps , 8 mbps seems both giving same results , not vary sender data rate.
$ftp($i) set rate_ 2mb
there no "set rate_" option tcp-based applications ftp in ns2. tcp has own flow control (e.g. sliding window) , congestion control mechanism control data rate. whereas udp-based traffic applications, e.g application/traffic/cbr, has option.
you can refer ns document: http://www.isi.edu/nsnam/ns/doc/node516.html
you may want experiment different tcp window sizes, link bandwidth, , packet numbers produced ftp , see data rate can achieve.
Comments
Post a Comment