From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FjjKI-0006Jk-SO for qemu-devel@nongnu.org; Fri, 26 May 2006 16:54:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FjjKH-0006JX-Oi for qemu-devel@nongnu.org; Fri, 26 May 2006 16:54:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjjKH-0006JU-LD for qemu-devel@nongnu.org; Fri, 26 May 2006 16:54:29 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FjjPF-0007dr-GN for qemu-devel@nongnu.org; Fri, 26 May 2006 16:59:37 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FjjKB-0007Ip-M4 for qemu-devel@nongnu.org; Fri, 26 May 2006 22:54:23 +0200 Received: from 210.18.182.33 ([210.18.182.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 May 2006 22:54:23 +0200 Received: from rrs by 210.18.182.33 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 May 2006 22:54:23 +0200 From: Ritesh Raj Sarraf Date: Sat, 27 May 2006 02:23:57 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Sender: news Subject: [Qemu-devel] qemu and -net tap networking Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm using two instances of qemu (0.8.1) at a time. I'm also using kqemu 1.3.0.pre7 One runs GNU/Hurd and the other runs FreeBSD. Here are the configs I'm using for both. Hurd: rrs@learner:~ $ cat `which hurd-boot` #!/bin/sh qemu -M isapc -m 128 -hda /mnt/windows/qemu-debian-gnuhurd.img -hdb /mnt/windows/swap-qemu.img -fda /home/rrs/virtualization/qemu/hurd-floppy -net nic -net tap,vlan=0,ifname=tap1,script=/home/rrs/virtualization/qemu/qemu-net-script-hurd.sh -boot a FreeBSD: #!/bin/sh qemu -hda /home/rrs/virtualization/qemu/qemu-debian-freebsd -m 128 -boot c -net nic -net tap,vlan=0,ifname=tap2,script=/home/rrs/virtualization/qemu/qemu-net-script-freeBSD.sh The scripts just do the work of assigning both of the tap interfaces separate ip addresses and accordingly sets up ip_forwarding settings. The problem is that when both are running, the one that boots second cannot ping its gateway. If I halt the first qemu process and restart the second qemu process, it works fine. Is this a known behavior ? I thought separating them with separate virtual networks would allow me to run multiple qemu instances with full networking support. TIA, Ritesh - -- Ritesh Raj Sarraf RESEARCHUT -- http://www.researchut.com "Necessity is the mother of invention." "Stealing logic from one person is plagiarism, stealing from many is research." "The great are those who achieve the impossible, the petty are those who cannot - rrs" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEd2rr4Rhi6gTxMLwRAqaPAJ9AiOUIR4IoKmhN2coZ3D+1/ce+MACffEq3 cA9ayrBTnlUD9CP02ZZ+b3w= =3wNp -----END PGP SIGNATURE-----