Hello, you got the node names wrong. See below:
parneha@umd.edu hat am 26. Januar 2011 um 17:24 geschrieben:
Hi,
This is my setup:
sender has local eid: dtn://ibrdtnnode1.dtn receiver has local eid: dtn://ibrdtnnode2.dtn dtnsend command I am using: dtnsend dtn://ibrdtnnode2/mytest /home/hyongla/hello
you are sending to the node "ibrdtnnode2"
dtnrecv command I am using : dtnrecv --name mytest --file /home/user/test
sender daemon output is:
Wed Jan 26 11:03:29 2011 NOTICE: BundleReceivedEvent: Bundle received [349373000.11] dtn://ibrdtnnode1.dtn/filetransfer -> dtn://ibrdtnnode2/mytest Wed Jan 26 11:03:29 2011 NOTICE: BundleEvent: bundle [349373000.11] dtn://ibrdtnnode1.dtn/filetransfer received Wed Jan 26 11:03:29 2011 NOTICE: TransferCompletedEvent: transfer of bundle [349373000.11] dtn://ibrdtnnode1.dtn/filetransfer to dtn://ibrdtnnode2.dtn completed
The bundle is transferred to the node "ibrdtnnode2.dtn". This either happens because you use epidemic routing, or you have a static route which will transfer bundles to "ibrdtnnode2.dtn". However "ibrdtnnode2" != "ibrdtnnode2.dtn", therefore "ibrdtnnode2.dtn" is not the final destination for the bundle destined to "ibrdtnnode2" and thus a dtnrecv on ibrdtnnode2.dtn will not get this bundle. Sending to the correct EID should work: dtnsend dtn://ibrdtnnode2.dtn/mytest /home/hyongla/hello
Neha Paranjape Graduate Student(Telecommunications) University of Maryland,College Park
Sebastian