Date: Mon, 18 Aug 2008 18:02:11 +0800 From: wang_jiabo <jiabwang@redhat.com> Subject: [users:00857] Re: help explain:IPv6-core protocol self_test for icmpv6 (RFC4443) To: users@tahi.org Message-Id: <48A948A3.7030305@redhat.com> In-Reply-To: <48A93B24.2060203@redhat.com> References: <48A1337A.3010309@redhat.com> <20080818114216.dfffadd8.akisada@tahi.org> <48A907E3.5070004@redhat.com> <20080818145152.1e05b400.akisada@tahi.org> <48A93B24.2060203@redhat.com> X-Mail-Count: 00857Hi, Yukiyo Akisada: when I change localhost6.localdomain6 to localhost7.localdomain7 in /etc/hosts on TN, and test again: I read the tcpdump like following: 03:45:58.605302 IP6 fe80::200:ff:fe00:100 > localhost7.localdomain7: ICMP6, echo request, seq 0, length 14 03:45:58.605349 IP6 localhost7.localdomain7 > fe80::200:ff:fe00:100: ICMP6, echo reply, seq 0, length 14 so I think NUT didnot echo reply the localhost, echo reply is from TN. Thanks wang_jiabo ??: > Hi, Yukiyo Akisada: > I donot think NUT sends Echo Reply from ::1 > because when I remark the ::1line in /etc/hosts file in TN, and test > again, localhost6.localdomain6 change ::1, > and ::1 send echo request and echo reply to TN, NUT didnot do > anything. like this: > > 03:45:58.605302 IP6 fe80::200:ff:fe00:100 > ::1 : > ICMP6, echo request, seq 0, length 14 > 03:45:58.605349 IP6 ::1 > fe80::200:ff:fe00:100: > ICMP6, echo reply, seq 0, length 14 > so in my opinion, NUT didnot do anything > > > > > > > Yukiyo Akisada ??: >> Hi, Wang Jiabo. >> >> TN has the correct behavior. >> >> TN exactly sends Echo Request to ::1 according to your tcpdump, >> and NUT sends Echo Reply from ::1. >> In this case, >> NUT must ignore this Echo Request and must not transmit Echo Reply. >> >> So, NUT is wrong. >> >> Thanks, >> >> >> On Mon, 18 Aug 2008 13:25:55 +0800 >> wang_jiabo <jiabwang@redhat.com> wrote: >> >> >>> Hi, Yukiyo Akisada: >>> I think my confiugre file on tn has some problem, because >>> >>> 3:45:58.605302 IP6 fe80::200:ff:fe00:100 > localhost6.localdomain6: >>> ICMP6, echo request, seq 0, length 14 >>> 03:45:58.605349 IP6 localhost6.localdomain6 > fe80::200:ff:fe00:100: >>> ICMP6, echo reply, seq 0, length 14 >>> >>> is my tn computer(freebsd 7.0). >>> so could you tell me I should care what, when I configure tn >>> Thanks >>> Best regards >>> wang jiabo >>> >>> Yukiyo Akisada ??: >>> >>>> Hi, Wang Jiabo. >>>> >>>> Please refer RFC 4291 (IP Version 6 Addressing Architecture). >>>> >>>> That says, >>>> >>>> 472 2.5.3. The Loopback Address >>>> 473 >>>> 474 The unicast address 0:0:0:0:0:0:0:1 is called the loopback address. >>>> 475 It may be used by a node to send an IPv6 packet to itself. It must >>>> 476 not be assigned to any physical interface. It is treated as having >>>> 477 Link-Local scope, and may be thought of as the Link-Local unicast >>>> 478 address of a virtual interface (typically called the "loopback >>>> 479 interface") to an imaginary link that goes nowhere. >>>> 480 >>>> 481 The loopback address must not be used as the source address in IPv6 >>>> 482 packets that are sent outside of a single node. An IPv6 packet with >>>> 483 a destination address of loopback must never be sent outside of a >>>> 484 single node and must never be forwarded by an IPv6 router. A packet >>>> 485 received on an interface with a destination address of loopback must >>>> 486 be dropped. >>>> >>>> So you must ignore the packet regarding to line 484-486. >>>> >>>> Thanks, >>>> >>>> >>>> On Tue, 12 Aug 2008 14:53:46 +0800 >>>> wang_jiabo <jiabwang@redhat.com> wrote: >>>> >>>> >>>> >>>>> I donot think my test is wrong >>>>> >>>>> when I test in icmpv6(RFC4443), I get failure in " Request send to >>>>> loopback address" section. >>>>> >>>>> but I check the tcpdump message, I don't think my test is wrong. so who >>>>> can help me to get correct answer for the question:my link-local sent echo request to localhost, >>>>> and get echo reply. but TAHI need that echo request donot need get echo reply. please tell me why? >>>>> >>>>> my tcpdump message: >>>>> >>>>> tcpdump -r 7.html.Link0.dump >>>>> reading from file 7.html.Link0.dump, link-type EN10MB (Ethernet) >>>>> 03:45:58.561963 IP6 fe80::200:ff:fe00:100 > fe80::21d:fff:fe0f:be4e: >>>>> ICMP6, echo request, seq 0, length 14 >>>>> 03:45:58.562793 IP6 fe80::21d:fff:fe0f:be4e > ff02::1:ff00:100: ICMP6, >>>>> neighbor solicitation, who has fe80::200:ff:fe00:100, length 32 >>>>> 03:45:58.583718 IP6 fe80::200:ff:fe00:100 > fe80::21d:fff:fe0f:be4e: >>>>> ICMP6, neighbor advertisement, tgt is fe80::200:ff:fe00:100, length 32 >>>>> 03:45:58.583767 IP6 fe80::21d:fff:fe0f:be4e > fe80::200:ff:fe00:100: >>>>> ICMP6, echo reply, seq 0, length 14 >>>>> 03:45:58.605302 IP6 fe80::200:ff:fe00:100 > localhost6.localdomain6: >>>>> ICMP6, echo request, seq 0, length 14 >>>>> 03:45:58.605349 IP6 localhost6.localdomain6 > fe80::200:ff:fe00:100: >>>>> ICMP6, echo reply, seq 0, length 14 >>>>> 03:45:58.626733 IP6 fe80::200:ff:fe00:100 > ff02::1: ICMP6, neighbor >>>>> advertisement, tgt is fe80::200:ff:fe00:100, length 32 >>>>> 03:45:58.637448 IP6 fe80::200:ff:fe00:100 > fe80::21d:fff:fe0f:be4e: >>>>> ICMP6, echo request, seq 0, length 14 >>>>> 03:45:58.637495 IP6 fe80::21d:fff:fe0f:be4e > fe80::200:ff:fe00:100: >>>>> ICMP6, echo reply, seq 0, length 14 >>>>> 03:46:03.637488 IP6 fe80::21d:fff:fe0f:be4e > fe80::200:ff:fe00:100: >>>>> ICMP6, neighbor solicitation, who has fe80::200:ff:fe00:100, length 32 >>>>> 03:46:04.637798 IP6 fe80::21d:fff:fe0f:be4e > fe80::200:ff:fe00:100: >>>>> ICMP6, neighbor solicitation, who has fe80::200:ff:fe00:100, length 32 >>>>> 03:46:05.637988 IP6 fe80::21d:fff:fe0f:be4e > fe80::200:ff:fe00:100: >>>>> ICMP6, neighbor solicitation, who has fe80::200:ff:fe00:100, length 32 >>>>> >>>>> >>>>> [TAHI] tcpdump message: >>>>> >>>>> tcpdump -r 71.html.Link0.dump >>>>> reading from file 71.html.Link0.dump, link-type EN10MB (Ethernet) >>>>> 04:30:19.486863 IP6 fe80::200:ff:fe00:100 > fe80::200:2ff:fe00:27cd: >>>>> ICMP6, echo request, seq 0, length 14 >>>>> 04:30:19.487287 IP6 fe80::200:2ff:fe00:27cd > ff02::1:ff00:100: ICMP6, >>>>> neighbor solicitation, who has fe80::200:ff:fe00:100, length 32 >>>>> 04:30:19.694252 IP6 fe80::200:ff:fe00:100 > fe80::200:2ff:fe00:27cd: >>>>> ICMP6, neighbor advertisement, tgt is fe80::200:ff:fe00:100, length 32 >>>>> 04:30:19.694627 IP6 fe80::200:2ff:fe00:27cd > fe80::200:ff:fe00:100: >>>>> ICMP6, echo reply, seq 0, length 14 >>>>> 04:30:19.903842 IP6 fe80::200:ff:fe00:100 > localhost6.localdomain6: >>>>> ICMP6, echo request, seq 0, length 14 >>>>> 04:30:25.115860 IP6 fe80::200:ff:fe00:100 > ff02::1: ICMP6, neighbor >>>>> advertisement, tgt is fe80::200:ff:fe00:100, length 32 >>>>> 04:30:25.219835 IP6 fe80::200:ff:fe00:100 > fe80::200:2ff:fe00:27cd: >>>>> ICMP6, echo request, seq 0, length 14 >>>>> 04:30:25.220171 IP6 fe80::200:2ff:fe00:27cd > fe80::200:ff:fe00:100: >>>>> ICMP6, echo reply, seq 0, length 14 >>>>> 04:30:30.218676 IP6 fe80::200:2ff:fe00:27cd > fe80::200:ff:fe00:100: >>>>> ICMP6, neighbor solicitation, who has fe80::200:ff:fe00:100, length 32 >>>>> 04:30:31.218447 IP6 fe80::200:2ff:fe00:27cd > fe80::200:ff:fe00:100: >>>>> ICMP6, neighbor solicitation, who has fe80::200:ff:fe00:100, length 32 >>>>> 04:30:32.218247 IP6 fe80::200:2ff:fe00:27cd > fe80::200:ff:fe00:100: >>>>> ICMP6, neighbor solicitation, who has fe80::200:ff:fe00:100, length 32 >>>>> >>>>> >>>>> >>>>> thanks >>>>> best regards >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >> >> >> >857_2.html (attatchment)(tag is disabled)