[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: packet size larger than 1000 byte



I guess you're using a udp agent?

from ns-default.tcl:
	Agent/UDP set packetSize_ 1000
and it "fragments" pakets.

If you don't want to change the default, you can try 
	$udp set packetSize_ 1500
or something like that.

  -Yuri

Anurag <[email protected]> writes:

> Hi
> 
> I am generating CBR packet of size larger than 1000 bytes say 1500 byte 
> and ns generates two packet od size 1000 bytes and 500 bytes instead of
> one packet of size 1500 bytes. 
> 
> How do I overcome this problem?
> 
> I do not think it is normal behaviour. 
> sample script I used is given below:
> 
> with Regards
> Anurag,
> ---------------------------------------------
> Computer Science Department, HKUST, Hong Kong
> Lab. #4204, Phone: 2358 8832 (Lab.)
> 
> 
> set app2 [new Application/Traffic/CBR]
> $app2 set packet_size_ 1500
> $app2 set rate_ 0.25Mb