Tirado do FAQ do qemu...


     User mode networking does not work: I cannot ping any IP address !

This is normal. When using user mode networking, the guest OS is behind a virtual firewall, so that only the IP address 10.0.2.2 can be pinged. Read the QEMU documentation for more information.

Fabio Serpa



caio ferreira wrote:

caio ferreira escreveu:
        All

        Estou tentando criar uma m�quina virtual com o qemu e que tenha placa 
de rede,
mas estou tendo problemas. Para isso estou fazendo o seguinte :

- recompilei o kernel com a op��o <*> Universal TUN/TAP device driver support   
  
 ativada;

- ~# mkdir -p /dev/net
- ~# mknod /dev/net/tun c 10 200
- ~# chgrp users /dev/net/tun
- ~# chmod g+w /dev/net/tun
- ~# ifconfig tun0 192.168.0.2 up

        Completando com mais informa��es.

        Mesmo executando o �ltimo comando, ifconfig tun0 192.168.0.2 up, e 
executando o
ifconfig

tun0      Encapsulamento do Link: Ethernet  Endere�o de HW 00:FF:D9:87:44:EC
         inet end.: 192.168.0.2  Bcast:192.168.0.255  Masc:255.255.255.0
         UP BROADCASTRUNNING MULTICAST  MTU:1500  M�trica:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         colis�es:0 txqueuelen:1000
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

        Quando vou "instalar" o debian no qemu, continua aparecendo a mensagem 
de erro
"warning: could not open /dev/net/tun: no virtual network emulation"

        Segui o que esta na documenta��o do qemu referente a network

3.7.1 Using tun/tap network interface
http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC20

        Desde j� agrade�o pela aten��o.



        
        
                
____________________________________________________
Yahoo! Mail, cada vez melhor: agora com 1GB de espa�o gr�tis! 
http://mail.yahoo.com.br


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a