[ns] Several agents within a single node

Markus Einarsson xmaei@epact.se
Mon Jul 15 05:20:31 2002


  Hi,

Is it possible to attach several agents to a single ns-2 node either
beside or on top of each other? If so, where can I read more about how
to do it and how to communicate between the agents?

  (1)----(2)----(3)

I want to send packets from node 1 to node 3 but node 2 should be able
to transform the packets. This should simulate two different protocol
layers between the three nodes. If I send them from node 1 to node 2,
how can node 2 re-send them to node 3?

Background: I'm working on my master thesis which is about simulation of
GPRS traffic with ns-2, and for that I need to extend Richa Jain's GPRS
module. In the GPRS protocol stack there are different protocol layers
between different GPRS nodes which I would like to implement.

  Regards,

  Markus Einarsson
  Enea Epact AB, Linköping, Sweden