please be careful with this I wasted several hours trying to figure out what was wrong.
Exponential On/Off traffic source.
It says
set e [new Application/Traffic/Exponential]
$e set packetSize_ 210
$e set burst_time_ 500ms
$e set idle_time_ 500ms
$e set rate_ 100k
set e [new Application/Traffic/Exponential]
$e set packet_size_ 210
$e set burst_time_ 500ms
$e set idle_time_ 500ms
$e set rate_ 100k
if not, packet_size will always take the default value (210 bytes).
______________________________________________
Vicent Pla