Hello Jonathan
i do tcpdump and capture packets in WAN interface(eth0) and thread interface(wpan0).
i still have three boards,one MTD, one FTD and one NCP with beagle bone
black platform. when i reset three borders, MTD become child,FTD become leader and ncp become the router. i can ping external ipv4 and ipv6 address from MTD and FTD.
When i do "dns resolve", i monitor the eth0 and wpan0 interface. i can resolve ipv6 domain name, but i still can't resolve ipv4 domain name. The command and the pcap file are as followings. Thank a lot.
The command which i send is as followings from MTD:
> ipaddr
2001:dead:beef:cafe:3048:818d:b025:ac9e
fd11:22:0:0:d5e2:a143:e361:776d
fdde:ba7a:b1e5:0:0:ff:fe00:4401
fdde:ba7a:b1e5:0:10df:d689:fc42:bab0
fdde:ad00:beef:0:0:0:0:10
fe80:0:0:0:3cde:1b02:377b:5a9c
Done
> ping 2001:db8:1:ffff::0808:0808
> 16 bytes from 2001:db8:1:ffff:0:0:808:808: icmp_seq=1 hlim=35 time=805ms
ping 2001:db8:1:ffff::c0a8:165
> 16 bytes from 2001:db8:1:ffff:0:0:c0a8:165: icmp_seq=2 hlim=61 time=487ms
dns resolve
ipv6.google.com 2001:db8:1:ffff::0808:0808
> DNS response for
ipv6.google.com - [2607:f8b0:4020:807:0:0:0:200e] TTL: 299
dns resolve
ipv4.google.com 2001:db8:1:ffff::0808:0808
> DNS response for
ipv4.google.com - Error 23: NotFound
dns resolve
ipv6.google.com 2001:db8:1:ffff::0808:0808
> DNS response for
ipv6.google.com - [2607:f8b0:4020:807:0:0:0:200e] TTL: 299
dns resolve
ipv4.google.com 2001:db8:1:ffff::0808:0808
> DNS response for
ipv4.google.com - Error 23: NotFound
dns resolve
ipv6.google.com 2001:db8:1:ffff::0808:0808
> DNS response for
ipv6.google.com - Error 28: ResponseTimeout
ipaddr
2001:dead:beef:cafe:3048:818d:b025:ac9e
fd11:22:0:0:d5e2:a143:e361:776d
fdde:ba7a:b1e5:0:0:ff:fe00:4401
fdde:ba7a:b1e5:0:10df:d689:fc42:bab0
fdde:ad00:beef:0:0:0:0:10
fe80:0:0:0:3cde:1b02:377b:5a9c
Done
> dns resolve
ipv6.google.com 2001:db8:1:ffff::0808:0808
> DNS response for
ipv6.google.com - [2607:f8b0:4020:807:0:0:0:200e] TTL: 299
dns resolve
ipv4.google.com 2001:db8:1:ffff::0808:0808
> DNS response for
ipv4.google.com - Error 23: NotFound
The eth0.pcap file from eth0 interface is as followings:
reading from file eth0.pcap, link-type EN10MB (Ethernet)
2018-11-21 15:02:23.219043 IP 192.168.1.101.49152 > 8.8.8.8.53: 0+ AAAA?
ipv6.google.com. (33)
2018-11-21 15:02:23.246790 ARP, Request who-has 192.168.1.101 tell 192.168.1.1, length 46
2018-11-21 15:02:23.246853 ARP, Reply 192.168.1.101 is-at 1c:ba:8c:ec:93:18, length 28
2018-11-21 15:02:23.246940 IP 8.8.8.8.53 > 192.168.1.101.49152: 0 2/0/0 CNAME
ipv6.l.google.com.,)
2018-11-21 15:02:28.391946 ARP, Request who-has 192.168.1.1 tell 192.168.1.101, length 28
2018-11-21 15:02:28.392095 ARP, Reply 192.168.1.1 is-at 64:66:b3:34:94:98, length 46
2018-11-21 15:02:29.498908 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 282
2018-11-21 15:02:29.510829 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 300
2018-11-21 15:02:29.527689 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 354
2018-11-21 15:02:29.544389 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 346
2018-11-21 15:02:29.561110 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 276
2018-11-21 15:02:29.577748 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 318
2018-11-21 15:02:29.594335 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 350
2018-11-21 15:02:29.611042 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 296
2018-11-21 15:02:29.627522 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 348
2018-11-21 15:02:29.644369 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 342
2018-11-21 15:02:30.051273 IP 10.214.56.52.5353 > 224.0.0.251.5353: 0 PTR (QM)? _scanner._tcp.loc)
2018-11-21 15:02:31.053001 IP 10.214.56.52.5353 > 224.0.0.251.5353: 0 PTR (QM)? _scanner._tcp.loc)
2018-11-21 15:02:46.490651 IP 192.168.1.101.49152 > 8.8.8.8.53: 1+ AAAA?
ipv4.google.com. (33)
2018-11-21 15:02:46.517016 IP 8.8.8.8.53 > 192.168.1.101.49152: 1 1/1/0 CNAME
ipv4.l.google.com. )
2018-11-21 15:02:49.499076 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 282
2018-11-21 15:02:49.510864 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 300
2018-11-21 15:02:49.527877 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 354
2018-11-21 15:02:49.544411 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 346
2018-11-21 15:02:49.561071 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 276
2018-11-21 15:02:49.577545 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 318
2018-11-21 15:02:49.594351 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 350
2018-11-21 15:02:49.611082 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 296
2018-11-21 15:02:49.627563 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 348
2018-11-21 15:02:49.644612 IP 192.168.1.1.1025 > 239.255.255.250.1900: UDP, length 342
The wpan0.pcap file from wpan0 interface is as followings:
reading from file wpan0.pcap, link-type RAW (Raw IP)
2018-11-21 15:04:59.086775 IP6 2001:dead:beef:cafe:3048:818d:b025:ac9e.5683 > 2002:ad6:3835:10::61
2018-11-21 15:04:59.087005 IP6 2001:dead:beef:cafe:d450:cbd:bfc6:ef3f > 2001:dead:beef:cafe:3048:7
2018-11-21 15:05:16.285062 IP6 2001:dead:beef:cafe:3048:818d:b025:ac9e.5683 > 2002:ad6:3835:10::61
2018-11-21 15:05:16.285296 IP6 2001:dead:beef:cafe:d450:cbd:bfc6:ef3f > 2001:dead:beef:cafe:3048:7
2018-11-21 15:05:16.415426 IP6 2001:dead:beef:cafe:3048:818d:b025:ac9e.49152 > 2001:db8:1:ffff::8)
2018-11-21 15:05:16.441554 IP6 2001:db8:1:ffff::808:808.53 > 2001:dead:beef:cafe:3048:818d:b025:a)
2018-11-21 15:05:19.236318 IP6 2001:dead:beef:cafe:3048:818d:b025:ac9e.49152 > 2001:db8:1:ffff::8)
2018-11-21 15:05:19.260250 IP6 2001:db8:1:ffff::808:808.53 > 2001:dead:beef:cafe:3048:818d:b025:a)
2018-11-21 15:05:39.295992 IP6 2001:dead:beef:cafe:3048:818d:b025:ac9e.5683 > 2002:ad6:3835:10::61
2018-11-21 15:05:39.296226 IP6 2001:dead:beef:cafe:d450:cbd:bfc6:ef3f > 2001:dead:beef:cafe:3048:7
2018-11-21 15:05:49.331969 IP6 2001:dead:beef:cafe:3048:818d:b025:ac9e.49152 > 2001:db8:1:ffff::8)
2018-11-21 15:05:49.357151 IP6 2001:db8:1:ffff::808:808.53 > 2001:dead:beef:cafe:3048:818d:b025:a)
2018-11-21 15:06:07.400415 IP6 2001:dead:beef:cafe:3048:818d:b025:ac9e.49152 > 2001:db8:1:ffff::8)
2018-11-21 15:06:07.426479 IP6 2001:db8:1:ffff::808:808.53 > 2001:dead:beef:cafe:3048:818d:b025:a)