qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Support for UDP unicast network backend


From: Jan Kiszka
Subject: Re: [Qemu-devel] [PATCH] Support for UDP unicast network backend
Date: Sun, 06 Nov 2011 14:54:22 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

On 2011-11-06 21:55, Benjamin wrote:
> Follow-up of:
> http://www.mail-archive.com/address@hidden/msg81235.html
> 
> This enables connections between Qemu, Dynamips and VirtualBox guests.
> 
> Test it with:
> 
> qemu-system-i386 -netdev
> socket,id=gns3,udp=127.0.0.1:4243,localport=127.0.0.1:4242 -device
> e1000,netdev=gns3 /path/to/hard/drive/img1
> 
> qemu-system-i386 -netdev
> socket,id=gns3,udp=127.0.0.1:4242,localport=127.0.0.1:4243 -device
> e1000,netdev=gns3 /path/to/hard/drive/img2
> 
> You should be able to set up a network between these two hosts.
> 
> Any thoughts?

Looks good to me. Just one thing: localaddr vs. localport is
unfortunate. localport is actual "local host and port". So localaddr
would be a better fit, even with mcast continuing to expect it without
":port".

> 
> I noticed an interesting behavior of Qemu and I'd like to investigate.
> When an IP address is assigned to an interface it sends a who-has ARP
> request with its own address. Which is not what happens on my OS. What
> would be the correct and standard behavior?

That's done by many OSes to discover IP conflicts early. Has nothing to
do with QEMU.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]