All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Problems with bridge Networking
@ 2009-11-12  3:31 Armin Garcia
  2009-11-12  7:43 ` Mark McLoughlin
  0 siblings, 1 reply; 2+ messages in thread
From: Armin Garcia @ 2009-11-12  3:31 UTC (permalink / raw)
  To: qemu-devel, saintarmin

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

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

* Re: [Qemu-devel] Problems with bridge Networking
  2009-11-12  3:31 [Qemu-devel] Problems with bridge Networking Armin Garcia
@ 2009-11-12  7:43 ` Mark McLoughlin
  0 siblings, 0 replies; 2+ messages in thread
From: Mark McLoughlin @ 2009-11-12  7:43 UTC (permalink / raw)
  To: Armin Garcia; +Cc: qemu-devel

On Thu, 2009-11-12 at 03:31 +0000, Armin Garcia wrote:
> 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....

I don't see an obvious problem; running tcpdump against the tap device
will give you more information as to what's going on

Also, make sure /proc/sys/net/bridge/bridge-nf-call-iptables is zero

Cheers,
Mark.

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

end of thread, other threads:[~2009-11-12  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-12  3:31 [Qemu-devel] Problems with bridge Networking Armin Garcia
2009-11-12  7:43 ` Mark McLoughlin

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.