From: yogi Subject: Re: [Autotest] [PATCH] KVM test: Add support for ipv6 addresses Date: Tue, 02 Mar 2010 20:32:02 +0530 Message-ID: <1267542122.10944.32.camel@yogi-laptop> References: <1266984656-4036-1-git-send-email-lmr@redhat.com> <6ac58f4f1002232016n78d86867ke6b2f10cc7deda47@mail.gmail.com> <1267105301.4742.27.camel@yogi-laptop> <1267128595.15621.33.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: autotest@test.kernel.org, kvm@vger.kernel.org, Yogananth Subramanian To: Lucas Meneghel Rodrigues Return-path: Received: from e9.ny.us.ibm.com ([32.97.182.139]:50292 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753873Ab0CBPC5 (ORCPT ); Tue, 2 Mar 2010 10:02:57 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e9.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o22Eqtor010391 for ; Tue, 2 Mar 2010 09:52:55 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o22F2ujY152302 for ; Tue, 2 Mar 2010 10:02:56 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o22F291h002669 for ; Tue, 2 Mar 2010 12:02:11 -0300 In-Reply-To: <1267128595.15621.33.camel@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2010-02-25 at 17:09 -0300, Lucas Meneghel Rodrigues wrote: > On Thu, 2010-02-25 at 19:11 +0530, yogi wrote: > > On Wed, 2010-02-24 at 01:16 -0300, Lucas Meneghel Rodrigues wrote: > > > H i Yogi, I have read and rebased your patch against current trunk. I > > > have one doubt: I noticed that the tcpdump command you use to monitor > > > traffic is basically all traffic that goes to network routers > > > > > > /usr/sbin/tcpdump -npv ip6 -i any 'dst net ff02::2' > > > > > > However, the IPv4 implementation filters the traffic to the dhcp/bootp > > > port, 68. Therefore the ipv6 mapper captures more (non necessarily > > > useful) mappings than the ipv4 version. I made some brief research and > > > couldn't figure out how to do it. Do you think it's possible to refine > > > the tcpdump command to make it look only on the dhp request port (68)? > > > > > > > Hello Lucas, thanks for reviewing my patches for ipv6. > > Following tcpdump command will capture only the icmp6 packets and not > > all the ipv6 packets > > tcpdump -npv -i any icmp6 and 'dst net ff02::2' > > > > Since the patch uses ip6 link local address, we are looking for router > > solicitation messages. > > Ok, so you think it'd be better to change the tcpdump command used in > the patch to be "tcpdump -npv -i any icmp6 and 'dst net ff02::2'"? > Yes, its better to change the tcdump in the patch, so that it captures only the icmp6 packets. > That said, I don't fully understand all gory ipv6 details, so please > bear with me on this question: how would we be benefit from having an > ipv6 address cache? I mean, it's not like we're going to use the > mappings for any of the communications... Ipv6 address cache would add support to test the ipv6 stack in the guest, while doing network tests. > > This patch will stay in the queue so Michael can take a look at it and > give opinions. Sure no problem at all. I would be happy to resubmit the Ipv6 patch, when there is support to do network tests in kvm-autotest becomes available. > > Cheers, > > Lucas > Thanks and Regards Yogi