Hi,
When i use iperf, i can create a dataflow with a certain Udp packets size.
So i'm sure that the total udp packet will have that size, and the
real final size will have plus the header of IP and of MAC.
But what will be the Final size of the packets,
If you have the following piece of code:
##
set udp [new Agent/UDP]
$udp set packetSize_ 1470

set cbr [new Application/Traffic/CBR]
$cbr set packetSize_ 1470
$cbr set interval_ 0.00588
$cbr attach-agent $udp
##

Using Nam i just noticed changes when i changed the packetSize of the
application, and never when i changed the packet size of the udp
packets.

-Can i conclude that doing "$udp set packetSize_ X" and then "$cbr set
packetSize_ Y" the size of the packet its Y, so "$udp set packetSize_
X" has no effect?
-And defining the application packet size, i'm obtaining Udp packets
with 1470 Bytes?
-Or i'm must have in mind that the udp header is 8 Bytes, and to
obtain 1470 Bytes, i should choose 1462 Bytes for the application?

Reply via email to