[Nfd-dev] problem connecting

Yi Huang ethanhuang1991 at gmail.com
Fri Mar 7 10:34:59 PST 2014


On VM1:
ltr120 at traffic-gen-vm1:~/repo/NFD$ git log|head -1
commit 86fce8ea6e66bdf47ca6469470ed0aa212bbf6e4
ltr120 at traffic-gen-vm1:~/repo/NFD$ cd ../ndn-cpp-dev/
ltr120 at traffic-gen-vm1:~/repo/ndn-cpp-dev$ git log| head -1
commit 110881dd42c66f43e7bbf13c7c79e6f5fe0b2d7f
ltr120 at traffic-gen-vm1:~/repo/ndn-cpp-dev$ sudo nfd

On VM2:
ltr120 at traffic-gen-vm2:~/repo2/NFD$ git log |head -1
commit 86fce8ea6e66bdf47ca6469470ed0aa212bbf6e4
ltr120 at traffic-gen-vm2:~/repo2/NFD$ cd ../ndn-cpp-dev/
ltr120 at traffic-gen-vm2:~/repo2/ndn-cpp-dev$ git log |head -1
commit 110881dd42c66f43e7bbf13c7c79e6f5fe0b2d7f
ltr120 at traffic-gen-vm2:~/repo2/ndn-cpp-dev$ sudo nfd --tcp-connect "
10.0.0.1:6363" --prefix /A
ERROR: [Main] remote_endpoint: Transport endpoint is not connected
ltr120 at traffic-gen-vm2:~/repo2/ndn-cpp-dev$

tcpdump on VM1:
ltr120 at traffic-gen-vm1:~$ sudo tcpdump -i eth1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
11:31:58.868235 IP 10.0.0.2.40526 > 10.0.0.1.6363: Flags [S], seq
4011473563, win 14600, options [mss 1460,sackOK,TS val 100010451 ecr
0,nop,wscale 4], length 0
11:31:58.868272 IP 10.0.0.1.6363 > 10.0.0.2.40526: Flags [S.], seq
773555891, ack 4011473564, win 14480, options [mss 1460,sackOK,TS val
100014933 ecr 100010451,nop,wscale 4], length 0
11:31:58.868770 IP 10.0.0.2.40526 > 10.0.0.1.6363: Flags [R], seq
4011473564, win 0, length 0
11:32:03.871806 ARP, Request who-has 10.0.0.2 tell 10.0.0.1, length 28
11:32:03.879225 ARP, Request who-has 10.0.0.1 tell 10.0.0.2, length 28
11:32:03.879240 ARP, Reply 10.0.0.1 is-at 08:00:27:81:8f:44 (oui Unknown),
length 28
11:32:04.322138 ARP, Reply 10.0.0.2 is-at 08:00:27:a9:c1:00 (oui Unknown),
length 28

tcpdump on VM2:
ltr120 at traffic-gen-vm2:~$ sudo tcpdump -i eth1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
11:31:58.884834 IP 10.0.0.2.40526 > 10.0.0.1.6363: Flags [S], seq
4011473563, win 14600, options [mss 1460,sackOK,TS val 100010451 ecr
0,nop,wscale 4], length 0
11:31:58.885615 IP 10.0.0.1.6363 > 10.0.0.2.40526: Flags [S.], seq
773555891, ack 4011473564, win 14480, options [mss 1460,sackOK,TS val
100014933 ecr 100010451,nop,wscale 4], length 0
11:31:58.885636 IP 10.0.0.2.40526 > 10.0.0.1.6363: Flags [R], seq
4011473564, win 0, length 0
11:32:03.896020 ARP, Request who-has 10.0.0.1 tell 10.0.0.2, length 28
11:32:04.338484 ARP, Request who-has 10.0.0.2 tell 10.0.0.1, length 28
11:32:04.338504 ARP, Reply 10.0.0.2 is-at 08:00:27:a9:c1:00 (oui Unknown),
length 28
11:32:04.338526 ARP, Reply 10.0.0.1 is-at 08:00:27:81:8f:44 (oui Unknown),
length 28




--
Yi Huang, Grad Student        Cell-phone: (520)245-3921
Major in Computer Science Honors Program
The University of Arizona          E-mail: ethanhuang1991 @ gmail . com
Tucson, AZ  85705


2014-03-07 11:14 GMT-07:00 Junxiao Shi <shijunxiao at email.arizona.edu>:

> Please run `git log | head -1` on both NFD and ndn-cpp-dev  repositories,
> and report the result.
>
> Don't run NFD in background on vm1. Run it in foreground and observe the
> logs.
>
> Run tcpdump on both VMs to see whether TCP connection is established.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140307/bdeb1d36/attachment.html>


More information about the Nfd-dev mailing list