[ns] ns 2 agents

2009-07-09 Thread Τσιλιγγίρης Γεώργιος
Hi to all, I am trying to simulate a simple call flow in ns 2. Something like the one attached. My idea is to create a new packet header with one int value and one agent for each node. Each message in the call flow is given an ID (1,2,3...). The first agent sends the first packet with the ID=1

Re: [ns] ns 2 agents

2009-07-09 Thread Arturo Servin
I did play with the headers to test my own protocol. As far as I know NS you should be able to modify your own header information to add what you need. I am not enough savy to explain how I did it but I found this manual really helpful to understand how NS handles the headers. It

[ns] Canceling Events vs. Handling Events

2009-07-09 Thread Damian Philipp
Hello, I am developing some protocol extensions utilizing a keep-alive (recieve a packet every n seconds, if there was no packet for n+x seconds consider the sender dead). When designing an implementation, I thought about the scheduler: I read somewhere in the manual, that inserting and

[ns] How to execute ad-hockey?

2009-07-09 Thread Nadilma Nunes
Anybody knows how to execute with ad-hockey? I know that nam, for to execute I write in prompt: *nadi...@nadilma-pc/ nam file_name.nam* But how to use ad-hockey? Anybody help me?

[ns] New Agent

2009-07-09 Thread Τσιλιγγίρης Γεώργιος
Hi to all. I am trying to implement a agent. I wrote the C++ code and recompiled with no errors but when I try to attach the agent to a node I get this error: invalid command name Agent/IMS while executing Agent/IMS create _o86 invoked from within catch $className create $o $args msg

[ns] HOW TO CONVERT NS2 TRACEFILES TO TRACE GRAPH FORMAT

2009-07-09 Thread Oladapo Oluwadiya
Hello, I m trying to generate a graph of a mobile ip simulation i ran in each i would love to plot for example delay against packet number or simulation time and also packet loss against simulation time ...etc... what is the easiest NS2 analysing tool i can use for this? below is part of the

[ns] HELP WITH MODIFYING TCL FOR MOBILE IP SCENARIOS

2009-07-09 Thread Oladapo Oluwadiya
i  need  help with this. I have the code to simulate mobile ip scenario.The code is attached and also pasted below.. i need to modify the code to do the following; 1.) mobile node and a base station with the mobile node withing the bs range. 2.) further modification such that i have a

[ns] HELP WITH MODIFYING TCL FOR MOBILE IP SCENARIOS

2009-07-09 Thread Oladapo Oluwadiya
i forgot to mention that the original scenario is such that there are two base stations...one mobile node and two wired nodes.the mobile node moves from base station to the second base station.the two base stations are connected to a wired node which in turn is connected to a second wired node i