All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cesare Leonardi <celeonar@tiscali.it>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] User mode network and multiple nics
Date: Tue, 13 Dec 2005 00:10:21 +0100	[thread overview]
Message-ID: <439E035D.9040804@tiscali.it> (raw)

Hi all.

Some days ago i have done some tests using the user mode network stack
with multiple network interfaces and i noticed some strange behaviours
that i would report to you. I use QEMU 0.7.2 under Debian Sid, using
the package provided by the distribution, and the guest OS is Debian
testing.

I've observed the following things using "-nics n":
1) all the networks interfaces are detected correctly during the boot
    phase: eth0, eth1, ... ethn-1, ethn;
2) the DHCP server doesn't work with the first n-1 interfaces but it's
    OK with the last. For example, with "-nics 4" DHCP works only with
    eth3 and not with eth0,1,2 and with "-nics 2" works only with eth1.
    To try out, in the guest system leave all nics unconfigured, then
    launch the DHCP client on each nic separately. For example, lauching
    dhclient 2.0p15 on the first n-1 interfaces, after some wait, it
    terms saying "No DHCPOFFERS received". With ethn works.
3) in general, seems that the network (not only DHCP) doesn't work
    correctly with first n-1 interfaces. Trying to leave all network
    interfaces unconfigured and trying to configure each of them
    individually with IP 10.0.2.20, netmask 255.255.255.0, 10.0.2.2
    as gateway and 10.0.2.3 as DNS:
    - all nics can ping its IP address;
    - only ethn can ping 10.0.2.2, the others gets "Destination host
      unreachable" from the IP of the network card;
    - none of the nics can ping 10.0.2.3: all gets "Destination host
      unreachable" from the IP of the network card, except ethn, that
      doesn't obtain responses (but the name resolution seems to work);
    - only ethn can go out the 10.0.2.x network (internet, for example).

Anyone has experienced such behaviour that appear to me as bug(s)? It's
a known thing (googling around the mailng-list and internet i have
found nothing)?

Cesare.

             reply	other threads:[~2005-12-12 23:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-12 23:10 Cesare Leonardi [this message]
2005-12-13 16:54 ` [Qemu-devel] User mode network and multiple nics John R. Hogerhuis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=439E035D.9040804@tiscali.it \
    --to=celeonar@tiscali.it \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.