Hi, I do not know anything about SMAC, but usually if you have a UDP agent connected to your CBR application, the fragmantation is done by UDP. So, a UDP packet is by default 1000 bytes. if your CBR sends less than 1000 bytes to UDP, the CBR bytes are put in one UDP packet and the packet is sent to the MAC layer.
Hope this helps, Best, B. ----- Original Message ----- Expéditeur: faraz iqbal <faraz4...@yahoo.com> à: "ns-users@isi.edu" <ns-users@ISI.EDU> Sujet: [ns] Fragmentation in SMAC Date: Mon, 19 Nov 2012 05:40:22 -0800 (PST) > Hi All > > I have CBR 512 kbps in tcl but it is not doing > fragmentation in 50 byte per packet according to SMAC C++ > code. Further more, if i select CBR of 300 bytes then it > has to show fragments of 50 bytes in trace file, means 6 > fragments (packets) of 50 bytes, Am i right.? > > > How can i control fragmentation in smac.? > > please help. > > Regards > > > Faraz