Re: [Autotest] [PATCH] KVM test: Add support for ipv6 addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)?

On Wed, Feb 24, 2010 at 1:10 AM, Lucas Meneghel Rodrigues
<lmr@xxxxxxxxxx> wrote:
>
> This patch enables ipv6 address support in kvm-autotest.
> The patch adds a new dictionary called "address6_cache" for ip6 address.
> Tcpdump is used to create this cache of link-local ipv6 address.
>
> Link-local ipv6 address is used because it eliminates to need to create
> complex configuration on both the host and the guest.
>
> The ipv6 address for a guest can be obtained by using the new function
> get_address6 in kvm_vm.py
>
> Signed-off-by: Yogananth Subramanian <anantyog@xxxxxxxxxx>
> ---
>  client/tests/kvm/kvm_preprocessing.py |   29 ++++++++++++++++++-
>  client/tests/kvm/kvm_utils.py         |   28 +++++++++++++++++++
>  client/tests/kvm/kvm_vm.py            |   49 +++++++++++++++++++++++++++++++--
>  3 files changed, 101 insertions(+), 5 deletions(-)
>
>
> _______________________________________________
> Autotest mailing list
> Autotest@xxxxxxxxxxxxxxx
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>
>



-- 
Lucas
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux