Subject: HongJiang Re: [dtn-users] the problem of dtnping between A and B
From: 虹 江 <[email-masked]>
To: [email-masked], [email-masked]
Date: Thu, 28 Sep 2006 09:25:19 +0800 (CST)
List-Id: discussion/answers list for users of the dtn reference implementation <dtn-users.mailman.dtnrg.org>

dear Michael Demmer:
  Thank you very much, under your guide, i solved the problem with "dtnd -l debug and info", thanks again
  hongjiang

Michael Demmer <[email-masked]> 写道：

  At first glance your configuration files look fine.聽

  Try re-running both dtnd executables with '-l debug' to turn on verbose debug logging. You should be able to look through the logs to see the point at which the bundle is received from the application, then trace to make sure that it got matched by the routing code to the correct link, and that the link connection is opened successfully. If you're still stuck, post the output to the list and I can take a look.

  -m

    On Sep 26, 2006, at 4:52 AM, 铏?姹?wrote:

    Hi 
  i tried to dtnping and dtn[send|recv] between two directed connected computers and neither works for me, computer A(hongjiang:192.168.0.3) can ping successully computer B(jinyang:192.168.0.5).
  聽
  the conf on host A is
  聽
  log /dtnd info "dtnd parsing configuration..."
#console set addr 127.0.0.1
#console set port 5050
storage set type berkeleydb
storage set payloaddir /home/hongjiang/dtn/bundles
storage set dbname聽聽聽聽 DTN
storage set dbdir聽聽聽聽聽 /home/hongjiang/dtn/db
route set type static
route local_eid "dtn://hongjiang.dtn"
interface add tcp0 tcp
interface add udp0 udp
link add tcp0 192.168.0.5:5000 ONDEMAND tcp
route add dtn://jinyang.dtn/* tcp0
log /dtnd info "dtnd configuration parsing complete"
  聽
  the conf on host B is:
  聽
  log /dtnd info "dtnd parsing configuration..."
storage set type berkeleydb
storage set payloaddir /home/jinyang/dtn/bundles
storage set dbname聽聽聽聽 DTN
storage set dbdir聽聽聽聽聽 /home/jinyang/dtn/db
route set type static
route local_eid dtn://jinyang.dtn
interface add tcp0 tcp
interface add udp0 udp
link add tcp0 192.168.0.3:5000 ONDEMAND tcp
route add dtn://hongjiang.dtn/* tcp0
log /dtnd info "dtnd configuration parsing complete"

  聽聽I've confirmed聽the host A was "hongjiang" with "info hostname" and host B is "jinyang" with "info hostname"
  聽
  on host A i聽"dtnping dtn://jinyang.dtn" or dtnsend -s dtn://hongjiang.dtn/a -d dtn://jinyang.dtn/b -t m -p "abcedf", i can see bundles in A,but cannot see bundles in B. It can also not work on聽host b with dtnping and dtnsend.聽
  聽
  Thanks in advance for your time
  Regards,
  HJ

  
---------------------------------
  闆呰檸鍏嶈垂閭-3.5G瀹归噺锛?0M闄勪欢   

---------------------------------
  Mp3鐤媯鎼?鏂版瓕鐑瓕楂橀�熶笅 

 		
---------------------------------
 雅虎免费邮箱-3.5G容量，20M附件