I am working on an attribute based routing protocol, where source node (Node A) collect attributes from two neighbor nodes (Node B and C) and based on ranking, Node A decides,to forward its data either to Node B or Node C
Now, to test this algorithm in testbed with only two real UnetStack modems, as per the answer (by Prof. Mandar Chitre) to my previous post Is there a way to trasnmit and receive data between simulated and real modem in UnetStack I have implemented a phy2
PHYSICAL agent, using UnetSocket, as a proxy to send data to real modem.
However, now I am able to send data from Node B (gateway node) in simulation subnet to Node B in another subnet from phy2
, but I want to send data using router
. Please let me know, how I can setup router
agent to use phy2.