problems connecting PC's
Hello, I tried to connect two pc's, switching on the deamons in 2 machines but i had some problems (it not appeared "deamon ready" as in the tutorial http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/ibr-dtn-tut) so it was not possible to do ping neither send messages between the 2 machines: Here is the code of the 2 machines when i turn on the deamon, can you help me how can i connect these 2 PC's? PC 1:parallels@parallels-Parallels-Virtual-Platform:~$ dtnd -i eth1 Mon Dec 16 11:35:40 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:35:40 2013 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Mon Dec 16 11:35:40 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:35:40 2013 INFO BundleCore: Local node name: dtn://parallels-Parallels-Virtual-Platform Mon Dec 16 11:35:40 2013 INFO BundleCore: Forwarding of bundles enabled. Mon Dec 16 11:35:40 2013 INFO NativeDaemon: using bundle storage in memory-only mode Mon Dec 16 11:35:40 2013 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Mon Dec 16 11:35:40 2013 INFO NativeDaemon: TCP ConvergenceLayer added on eth1:4556 Mon Dec 16 11:35:40 2013 INFO DiscoveryAgent: listen to [ff02::142]:4551 Mon Dec 16 11:35:40 2013 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Mon Dec 16 11:35:40 2013 INFO DiscoveryAgent: add interface eth1 Mon Dec 16 11:35:40 2013 INFO NativeDaemon: Using default routing extensions
PC2:default@default-1001P-CN:~$ dtnd -i eth0 Mon Dec 16 11:42:44 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:42:44 2013 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Mon Dec 16 11:42:44 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:42:44 2013 INFO NativeDaemon: Parallel event processing enabled using 2 processes. Mon Dec 16 11:42:44 2013 INFO BundleCore: Local node name: dtn://default-1001P Mon Dec 16 11:42:44 2013 INFO BundleCore: Forwarding of bundles enabled. Mon Dec 16 11:42:44 2013 INFO NativeDaemon: using bundle storage in memory-only mode Mon Dec 16 11:42:44 2013 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Mon Dec 16 11:42:44 2013 INFO NativeDaemon: TCP ConvergenceLayer added on eth0:4556 Mon Dec 16 11:42:44 2013 INFO DiscoveryAgent: listen to [ff02::142]:4551 Mon Dec 16 11:42:44 2013 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Mon Dec 16 11:42:44 2013 INFO DiscoveryAgent: add interface eth0 Mon Dec 16 11:42:44 2013 INFO NativeDaemon: Using default routing extensions
AFTER (tried to ping PC1->PC2): PC 1 (in different terminal window of PC1): parallels@parallels-Parallels-Virtual-Platform:~$ dtnping dtn://default-1001P/echo ECHO dtn://default-1001P/echo 64 bytes of data. ^C --- dtn://default-1001P/echo echo statistics --- 1 bundles transmitted, 0 received, 100% bundle loss, time 28.98 s rtt min/avg/max = 0.00/0.00/0.00 ms
AFTER (tried in the different way PC2->PC1) PC2(in different terminal window of PC2):default@default-1001P-CN:~$ dtnping dtn:://parallels-Parallels-Virtual-Platform/echo ECHO dtn:://parallels-Parallels-Virtual-Platform/echo 64 bytes of data. ^C --- dtn:://parallels-Parallels-Virtual-Platform/echo echo statistics --- 1 bundles transmitted, 0 received, 100% bundle loss, time 14.83 s rtt min/avg/max = 0.00/0.00/0.00 ms
Both ways did not work, how can i solve this?
Thank you,Luís Guedes
Hi,
are those real physical machines or VMs? Is an ICMP ping possible? Do you have a firewall turned on?
Are you able to dtnping the local node?
Stephan
On Mo, 2013-12-16 at 11:57 +0000, Luís Carlos Guedes wrote:
Hello,
I tried to connect two pc's, switching on the deamons in 2 machines but i had some problems (it not appeared "deamon ready" as in the tutorial http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/ibr-dtn-tut) so it was not possible to do ping neither send messages between the 2 machines:
Here is the code of the 2 machines when i turn on the deamon, can you help me how can i connect these 2 PC's?
PC 1: parallels@parallels-Parallels-Virtual-Platform:~$ dtnd -i eth1 Mon Dec 16 11:35:40 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:35:40 2013 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Mon Dec 16 11:35:40 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:35:40 2013 INFO BundleCore: Local node name: dtn://parallels-Parallels-Virtual-Platform Mon Dec 16 11:35:40 2013 INFO BundleCore: Forwarding of bundles enabled. Mon Dec 16 11:35:40 2013 INFO NativeDaemon: using bundle storage in memory-only mode Mon Dec 16 11:35:40 2013 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Mon Dec 16 11:35:40 2013 INFO NativeDaemon: TCP ConvergenceLayer added on eth1:4556 Mon Dec 16 11:35:40 2013 INFO DiscoveryAgent: listen to [ff02::142]:4551Mon Dec 16 11:35:40 2013 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Mon Dec 16 11:35:40 2013 INFO DiscoveryAgent: add interface eth1 Mon Dec 16 11:35:40 2013 INFO NativeDaemon: Using default routing extensions
PC2: default@default-1001P-CN:~$ dtnd -i eth0 Mon Dec 16 11:42:44 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:42:44 2013 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Mon Dec 16 11:42:44 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:42:44 2013 INFO NativeDaemon: Parallel event processing enabled using 2 processes. Mon Dec 16 11:42:44 2013 INFO BundleCore: Local node name: dtn://default-1001P Mon Dec 16 11:42:44 2013 INFO BundleCore: Forwarding of bundles enabled. Mon Dec 16 11:42:44 2013 INFO NativeDaemon: using bundle storage in memory-only mode Mon Dec 16 11:42:44 2013 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Mon Dec 16 11:42:44 2013 INFO NativeDaemon: TCP ConvergenceLayer added on eth0:4556 Mon Dec 16 11:42:44 2013 INFO DiscoveryAgent: listen to [ff02::142]:4551Mon Dec 16 11:42:44 2013 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Mon Dec 16 11:42:44 2013 INFO DiscoveryAgent: add interface eth0 Mon Dec 16 11:42:44 2013 INFO NativeDaemon: Using default routing extensions
AFTER (tried to ping PC1->PC2):
PC 1 (in different terminal window of PC1):
parallels@parallels-Parallels-Virtual-Platform:~$ dtnping dtn://default-1001P/echo ECHO dtn://default-1001P/echo 64 bytes of data. ^C --- dtn://default-1001P/echo echo statistics --- 1 bundles transmitted, 0 received, 100% bundle loss, time 28.98 s rtt min/avg/max = 0.00/0.00/0.00 ms
AFTER (tried in the different way PC2->PC1)
PC2(in different terminal window of PC2): default@default-1001P-CN:~$ dtnping dtn:://parallels-Parallels-Virtual-Platform/echo ECHO dtn:://parallels-Parallels-Virtual-Platform/echo 64 bytes of data. ^C --- dtn:://parallels-Parallels-Virtual-Platform/echo echo statistics --- 1 bundles transmitted, 0 received, 100% bundle loss, time 14.83 s rtt min/avg/max = 0.00/0.00/0.00 ms
Both ways did not work, how can i solve this?
Thank you, Luís Guedes -- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
I forgot, can you start the daemon with the option -v? Maybe a time sync problem? you could try: $ dtnping --lifetime 10000 dtn://node/echo
Stephan
On Mo, 2013-12-16 at 15:29 +0100, Stephan Rottmann wrote:
Hi,
are those real physical machines or VMs? Is an ICMP ping possible? Do you have a firewall turned on?
Are you able to dtnping the local node?
Stephan
On Mo, 2013-12-16 at 11:57 +0000, Luís Carlos Guedes wrote:
Hello,
I tried to connect two pc's, switching on the deamons in 2 machines but i had some problems (it not appeared "deamon ready" as in the tutorial http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/ibr-dtn-tut) so it was not possible to do ping neither send messages between the 2 machines:
Here is the code of the 2 machines when i turn on the deamon, can you help me how can i connect these 2 PC's?
PC 1: parallels@parallels-Parallels-Virtual-Platform:~$ dtnd -i eth1 Mon Dec 16 11:35:40 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:35:40 2013 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Mon Dec 16 11:35:40 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:35:40 2013 INFO BundleCore: Local node name: dtn://parallels-Parallels-Virtual-Platform Mon Dec 16 11:35:40 2013 INFO BundleCore: Forwarding of bundles enabled. Mon Dec 16 11:35:40 2013 INFO NativeDaemon: using bundle storage in memory-only mode Mon Dec 16 11:35:40 2013 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Mon Dec 16 11:35:40 2013 INFO NativeDaemon: TCP ConvergenceLayer added on eth1:4556 Mon Dec 16 11:35:40 2013 INFO DiscoveryAgent: listen to [ff02::142]:4551Mon Dec 16 11:35:40 2013 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Mon Dec 16 11:35:40 2013 INFO DiscoveryAgent: add interface eth1 Mon Dec 16 11:35:40 2013 INFO NativeDaemon: Using default routing extensions
PC2: default@default-1001P-CN:~$ dtnd -i eth0 Mon Dec 16 11:42:44 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:42:44 2013 INFO NativeDaemon: IBR-DTN daemon 0.10.2 (build 1d89427) Mon Dec 16 11:42:44 2013 INFO Configuration: Using default settings. Call with --help for options. Mon Dec 16 11:42:44 2013 INFO NativeDaemon: Parallel event processing enabled using 2 processes. Mon Dec 16 11:42:44 2013 INFO BundleCore: Local node name: dtn://default-1001P Mon Dec 16 11:42:44 2013 INFO BundleCore: Forwarding of bundles enabled. Mon Dec 16 11:42:44 2013 INFO NativeDaemon: using bundle storage in memory-only mode Mon Dec 16 11:42:44 2013 INFO NativeDaemon: API initialized using tcp socket: loopback:4550 Mon Dec 16 11:42:44 2013 INFO NativeDaemon: TCP ConvergenceLayer added on eth0:4556 Mon Dec 16 11:42:44 2013 INFO DiscoveryAgent: listen to [ff02::142]:4551Mon Dec 16 11:42:44 2013 INFO DiscoveryAgent: listen to [224.0.0.142]:4551 Mon Dec 16 11:42:44 2013 INFO DiscoveryAgent: add interface eth0 Mon Dec 16 11:42:44 2013 INFO NativeDaemon: Using default routing extensions
AFTER (tried to ping PC1->PC2):
PC 1 (in different terminal window of PC1):
parallels@parallels-Parallels-Virtual-Platform:~$ dtnping dtn://default-1001P/echo ECHO dtn://default-1001P/echo 64 bytes of data. ^C --- dtn://default-1001P/echo echo statistics --- 1 bundles transmitted, 0 received, 100% bundle loss, time 28.98 s rtt min/avg/max = 0.00/0.00/0.00 ms
AFTER (tried in the different way PC2->PC1)
PC2(in different terminal window of PC2): default@default-1001P-CN:~$ dtnping dtn:://parallels-Parallels-Virtual-Platform/echo ECHO dtn:://parallels-Parallels-Virtual-Platform/echo 64 bytes of data. ^C --- dtn:://parallels-Parallels-Virtual-Platform/echo echo statistics --- 1 bundles transmitted, 0 received, 100% bundle loss, time 14.83 s rtt min/avg/max = 0.00/0.00/0.00 ms
Both ways did not work, how can i solve this?
Thank you, Luís Guedes -- !! This message is brought to you via the `ibr-dtn' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to ibr-dtn-request@ibr.cs.tu-bs.de !! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.
Am 16.12.2013 12:57, schrieb Luís Carlos Guedes:
it not appeared "deamon ready" as in the tutorial http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn/wiki/ibr-dtn-tut
Since version 0.10, this message is not generated anymore.
participants (3)
-
Johannes Morgenroth
-
Luís Carlos Guedes
-
Stephan Rottmann