[ns] Negative sent packets in Tracegraph report

2009-06-19 Thread F A
Hi all I'm using Tracegraph to analyze trace file generated by ns2. sometimes some values like "sent packets" are reported as negative value. Does anybody have any suggestion regarding this problem? Thanks Fariborz

[ns] ns2 Segmentation fault - queuing

2009-06-15 Thread F A
Hi all Does anybody know why most of queuing mechanisms implemented in ns2 (like: sfq, drr, srr, and the rest except DropTail and PriQueue), when it is used in multihop wireless network, it generates Segmentation Fault error, especially when the simulation time increases, but when they are used in

[ns] simultaneous packet transmission in 802.11

2009-06-06 Thread F A
Hi all, When I simulate multihop ad hoc networks with 802.11 and see the generated output by nam, does anybody know why more than one packet are transmitted at the same time on the same link? Especially it is very strange when packets are transferred on different direction. I suppose the standar

[ns] how to identify node id in ns2

2009-05-21 Thread F A
Hi friends, in my algorithm I need to decide what action to take based on the node id. do you know which variable gives me the node id (I'm implementing a new queue and clearly each node has its own queue but I don't know every time ns2 uses my queue in which node I am?). Any suggestions? Regard

[ns] segmentation fault with SFQ

2009-05-19 Thread F A
Dear friends, in a wireless 802.11 topology with couple of nodes when I set the queue type as Queue/DropTail/PriQueue everything is fine but when I change it to Queue/SFQ it gives "Segmentation fault". Does anybody know why this happens? I tried SFQ with wired links and it works correctly!!! Any

[ns] how to find the list of active sessions in ns2

2009-05-18 Thread F A
Hi friends, In a simulation usually different connections are established and terminated in different times. During simulation in a particular time how can I find the list of active sessions? THANKS Fariborz

[ns] scheduling a function in ns-2

2009-05-18 Thread F A
Hi all, I would like to run my scheduling algorithm every n seconds. Does anybody know how can I schedule my function? Thanks

[ns] traffic statistics

2009-05-17 Thread F A
Hi all, Does anybody know how can I use traffic statistics while simulation is running. To be specific I need to have number of packets being dropped in each node on the fly. I would appreciate any suggestions. Thanks

[ns] SFQ in Wireless

2009-05-15 Thread F A
Hi all, Do you have any experience in using SFQ instead of DropTail/PriQueue in wireless link? When I set "ifq" as Queue/SFQ or Queue/FQ when I run the simulator it returns "Segmentation Fault". Do I need to set any particular parameter when I use SFQ? Based on NS manual two configuration para

[ns] wireless link

2009-05-13 Thread F A
Hi guys can anyone tell me how could we define a 802.11 link as half-duplex or full-duplex? I know there are simplex-link and duplex-link in wired network but don't know about wireless links. I'd be grateful for any suggestions. Thanks

[ns] link quality

2009-05-11 Thread F A
Hi guysCould you please let me know how can I set link quality (or link reliability) for 802.11? Thanks in advance

[ns] multihop wireless ad hoc

2009-05-11 Thread F A
Hi guysI would like to simulate a multihop ad hoc wireless network. there are different mac implementations, i.e. Mac802_11, MacCsmaCa, and MultihopMac. Which one I should use? Thanks