qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu and -net tap networking
@ 2006-05-26 20:53 Ritesh Raj Sarraf
  2006-05-26 21:05 ` Paul Brook
  0 siblings, 1 reply; 3+ messages in thread
From: Ritesh Raj Sarraf @ 2006-05-26 20:53 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] qemu and -net tap networking
  2006-05-26 20:53 [Qemu-devel] qemu and -net tap networking Ritesh Raj Sarraf
@ 2006-05-26 21:05 ` Paul Brook
  2006-05-26 21:36   ` [Qemu-devel] " Ritesh Raj Sarraf
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Brook @ 2006-05-26 21:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Ritesh Raj Sarraf

<snip>
> 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.

The two instances are independent. The bug is almost certainly in your host 
configuration somewhere.

Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: qemu and -net tap networking
  2006-05-26 21:05 ` Paul Brook
@ 2006-05-26 21:36   ` Ritesh Raj Sarraf
  0 siblings, 0 replies; 3+ messages in thread
From: Ritesh Raj Sarraf @ 2006-05-26 21:36 UTC (permalink / raw)
  To: qemu-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Brook on Saturday 27 May 2006 02:35 wrote:

>> 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.
> 
> The two instances are independent. The bug is almost certainly in your
> host configuration somewhere.

Thanks.

It was a networking issue and nothing to do with qemu.
Both instances are working perfectly now.

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)

iD8DBQFEd3Tt4Rhi6gTxMLwRAhZ2AJ4hACDVaeEggpcGTcEXSnpeFdCwLACfVcmz
0jk1DzXZ2eO8FDGdRZNKan8=
=/ZUE
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-26 21:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26 20:53 [Qemu-devel] qemu and -net tap networking Ritesh Raj Sarraf
2006-05-26 21:05 ` Paul Brook
2006-05-26 21:36   ` [Qemu-devel] " Ritesh Raj Sarraf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).