qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Armin Garcia <saintarmin@gmail.com>
To: qemu-devel@nongnu.org, saintarmin@gmail.com
Subject: [Qemu-devel] Problems with bridge Networking
Date: Thu, 12 Nov 2009 03:31:50 +0000	[thread overview]
Message-ID: <843724310911111931w28354ae6uc32913b2061c63d4@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]

Well Maybe I know for some of you its a very commented and boring subject,
:( But Im very desesperate.

I use ubuntu 9.04 and i emulate a winxp

I have the next problem.... I configure the tun/tap and all great any error,
I have an IP from my dhcp, I can see my virtual machine (winxp) from my
other computers, but !!!! In my virtual machine I cant connect to internet,
I mean, when I start my browser it doenst resolve anything, I cant see
google or any another web page....

Really its very weird. I hope some of you can help me, and thanks so much.


I follow the next steps

apt-get install qemu bla bla bla (all package :p)

*apt-get install bridge-utils uml-utilities*


*modprobe tun
modprobe bridge
modprobe kqemu


*

*# ifconfig eth1 down*
*# brctl addbr br0*
*# ifconfig eth1 0.0.0.0 promisc up*
*# ifconfig br0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 up
*
*# brctl stp br0 off*
*# brctl setfd br0 1*
*# brctl sethello br0 1*
*# brctl addif br0 eth1*
*# route add default gw 192.168.0.1 dev br0
*

vim /etc/qemu-ifup

*#!/bin/sh*
*ifconfig $1 0.0.0.0 promisc up*
*brctl addif br0 $1*

*chmod +x /etc/qemu-ifup

Starting qemu

**qemu -localtime -m 256 -boot c -hda winxp.img -net tap -net
nic,model=rtl8139*


Im doing something wrong?????


thanks for read, and I hope somebody help me, Im very desesperate

thanks so much

regards

[-- Attachment #2: Type: text/html, Size: 1830 bytes --]

             reply	other threads:[~2009-11-12  3:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12  3:31 Armin Garcia [this message]
2009-11-12  7:43 ` [Qemu-devel] Problems with bridge Networking Mark McLoughlin

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=843724310911111931w28354ae6uc32913b2061c63d4@mail.gmail.com \
    --to=saintarmin@gmail.com \
    --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 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).