All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rutger Nijlunsing <rutger@nospam.com>
To: a_mulyadi@softhome.net, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] problems: running two instance of Qemu with same MAC address
Date: Wed, 19 May 2004 11:31:55 +0200	[thread overview]
Message-ID: <20040519093155.GD18856@nospam.com> (raw)
In-Reply-To: <200405191532.45135.a_mulyadi@softhome.net>

On Wed, May 19, 2004 at 03:32:44PM +0700, Mulyadi Santosa wrote:
> hello all
> 
> I have problem about identical MAC address...here is the scenario
> 
> I run two instances of Qemu for full system emulation. I use Qemu 0.5.5
> On both guest system, i can turn on the eth0 (NE 2000 card) . here is the 
> dmesg content:
> 
> On guest 1 and 2:
> NE*000 ethercard probe at 0x300: 52 54 00 12 34 56
> 
> Guest 1 IP on eth0 --> 192.168.1.21..attached to tun0 with IP -->192.168.1.11
> Guest 2 IP on eth0 --> 192.168.1.22..attached to tun0 with IP --> 192.168.1.12
> 
> here is the routing table at the host system:
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 192.168.1.21    *               255.255.255.255 UH        0 0          0 tun0
> 192.168.1.22    *               255.255.255.255 UH        0 0          0 tun1
> 10.1.1.0        *                    255.255.255.0   U         0 0     0 eth0
> 127.0.0.0       *               255.0.0.0       U         0 0          0 lo
> 
> Both guests can ping the host and the host can ping to these guests. When I 
> try to ping from  guest 1 to guest 2, it got no reply (i guess similar with 
> dropped packet when u do DROP with iptables)
> 
> I realize the fact that both eth0 on the guests when I do tcpdump-ing. Ping 
> from guest 1 yield arp broadcast, but never get arp-reply...So, what is the 
> workaround for this double MAC address problem?

You've got forwarding or bridging enabled in the host?

-- 
Rutger Nijlunsing ---------------------------- rutger ed tux tmfweb nl
never attribute to a conspiracy which can be explained by incompetence
----------------------------------------------------------------------

  reply	other threads:[~2004-05-19 10:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-19  8:32 [Qemu-devel] problems: running two instance of Qemu with same MAC address Mulyadi Santosa
2004-05-19  9:31 ` Rutger Nijlunsing [this message]
2004-05-19  9:39   ` Mulyadi Santosa
2004-05-19  9:38 ` Pavel Janík
2004-05-19  9:45 ` Jean-Michel POURE
2004-05-19 13:41 ` Mulyadi Santosa

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=20040519093155.GD18856@nospam.com \
    --to=rutger@nospam.com \
    --cc=a_mulyadi@softhome.net \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-devel@tux.tmfweb.nl \
    /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.