[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] How to make a forwarding agent
Hello, I have the following topology:
+------------+ +-----------------+ +------------+
| PingAgent1 | ------ | ForwardingAgent | ------ | PingAgent2 |
+------------+ +-----------------+ +------------+
The ping Agents are from Marc Greis's tutorial.
I want to insert a Forwarding Agent between them, which will proccess
(eg. delay) and forward the packets.
If I connect PingAgent1 and PingAgent2, the ForwardingAgent will ignore
the packets from PA1 to PA2.
If I connect PA1 to FA and FA to PA2, both PA send packets to FA, but
they do not get forwarded.
Has anybody implemented a forwarding or routing agent, or is such an
agent implemented in ns2?
I don't want to change the original Ping Agents, so that I can later
substitute them by UDP or TCP agents.
Thanks for your help
Nick Katsarakis