From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8QPd-0006ug-TA for qemu-devel@nongnu.org; Wed, 11 Nov 2009 22:31:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8QPZ-0006t7-C7 for qemu-devel@nongnu.org; Wed, 11 Nov 2009 22:31:57 -0500 Received: from [199.232.76.173] (port=52062 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8QPZ-0006t4-8N for qemu-devel@nongnu.org; Wed, 11 Nov 2009 22:31:53 -0500 Received: from mail-fx0-f222.google.com ([209.85.220.222]:57190) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8QPY-0002jT-D3 for qemu-devel@nongnu.org; Wed, 11 Nov 2009 22:31:53 -0500 Received: by fxm22 with SMTP id 22so1838337fxm.2 for ; Wed, 11 Nov 2009 19:31:50 -0800 (PST) MIME-Version: 1.0 Date: Thu, 12 Nov 2009 03:31:50 +0000 Message-ID: <843724310911111931w28354ae6uc32913b2061c63d4@mail.gmail.com> From: Armin Garcia Content-Type: multipart/alternative; boundary=00151750e95013c4d40478242fd4 Subject: [Qemu-devel] Problems with bridge Networking List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, saintarmin@gmail.com --00151750e95013c4d40478242fd4 Content-Type: text/plain; charset=ISO-8859-1 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 --00151750e95013c4d40478242fd4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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<= br>
I have the next problem.... I configure the tun/tap and all great an= y error, I have an IP from my dhcp, I can see my virtual machine (winxp) fr= om my other computers, but !!!! In my virtual machine I cant connect to int= ernet, I mean, when I start my browser it doenst resolve anything, I cant s= ee google or any another web page....

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


I follow the next steps

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

apt-get install bridge-utils uml-utilit= ies


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/q= emu-ifup

Starting qemu

qemu -localtime -m 25= 6 -boot c -hda winxp.img -net tap -net nic,model=3Drtl8139


Im doing something wrong?????


thanks for read, and I hope so= mebody help me, Im very desesperate

thanks so much

regards --00151750e95013c4d40478242fd4--