[ns] Dynamically changing the capacity of a link

2006-03-23 Thread Arwa Hafizji
Hi everyone, I'm trying to simulate a scenario where the link capacity is not constant but varies (with time or some other parameter). Is there a way to change the bandwitdh of a link on the fly. Also the same with loss probablity. Can I change the loss probability of a link dynamically. Your h

[ns] Multi-state error model

2006-03-28 Thread Arwa Hafizji
Hi all I am trying to use the multi state error model for me ns simulations. I am having difficulty in understaing what the parameters are. I have attached a sample script but I dont understamd how to change the parameters if anyone can help that would be great thanx.. #Create a Loss Module #--

[ns] ErrorModel in a link

2006-04-15 Thread Arwa Hafizji
Hi everyone Does anyone know how to use ErrorModel/Trace in ns. The manual says it is used to simulate an error model from a file. I am not clear what the format of the file should be. I need to change the probability of error of a link with respect to time. Is there an easier way to do it? Tha

[ns] CDMA channel

2006-04-18 Thread Arwa Hafizji
Hi all, Has anyone tried to simulate a CDMA channel using ns. If yes could help me with it... Thanks Arwa