Re: [ns] How to setup - Random Error Generator in NS2

2006-10-07 Thread Guillermo Biot
Hi Aleksandar, In order to generate random errors first you have to create the error model in your script and then attach it to the link or node where you want the packets to be dropped. For creating a random uniformly distributed errors you can type: #Create the error model set em [new ErrorMod

[ns] How to setup - Random Error Generator in NS2

2006-10-06 Thread Aleksandar Smolovic
Hi all, I need to setup link between two nodes where I have RANDOM ERRORS with PER (packet error rate) = 10exp-7, 10exp-6,10exp-5 etc. So, I need to setup Error generator in ns2. Can somebody tell me how to do this? Thanks. A.