Daniel Os módulos estão carregados Module Size Used by kvm_intel 31136 0 kvm 106428 1 kvm_intel bridge 40024 0 tun 8292 0 Se por acaso eu executo os mesmo comando só que como root, sudo a mensagem que aparece é outra can't add br0 to bridge eth0: Operation not supported /etc/kvm/kvm-ifup: could not launch network script Could not initialize device 'tap' O arquivo /etc/network/interfaces esta assim: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # Bridge auto br0 iface br0 inet static address 192.168.2.10 netmask 255.255.255.0 network 192.168.2.0 broadcast 192.168.2.255 gateway 192.168.2.1 bridge_ports eth0 bridge_stp off bridge_maxwait 5 dns-nameservers 200.204.0.10 dns-search terra.com.br Mais alguma idéia do que eu possa estar fazendo de errado? Obrigado. On (09/09/08 11:32), Daniel wrote: > Aparentemente, o modulo tun/tap não está carregado. Experimento executar o comando > > modprobe tun > > E tente novamente. Se houver problema, retorne. > > []'s > > Daniel > > -----Mensagem original----- > De: Caio Abreu Ferreira [mailto:idic@terra.com.br] > Enviada em: domingo, 7 de setembro de 2008 19:24 > Para: Debian User Portuguese > Assunto: kvm e rede > > Lista > > Para poder utilizar o kvm estou utilizando os seguintes textos[1][2]. > Infelizmente estou tendo problemas com a rede. Quando inicializo a máquina virtual com rede aparece a seguinte mensagem de erro > > warning: could not configure /dev/net/tun: no virtual network emulation Could not initialize device 'tap' > > O arquivo "/etc/kvm/kvm-ifup" esta assim > > #!/bin/sh > switch=$(/sbin/ip route list | awk '/^default / { print $NF }') /sbin/ifconfig $1 0.0.0.0 up /usr/sbin/brctl addif ${switch} $1 > > Para inicializar a criaćão da máquina virtual estou utilizando o seguinte comando > > kvm -hda debian.qcow -cdrom debian-40r4a-i386-netinst.iso -m 256 -boot d -net nic -net tap,script=/etc/kvm/kvm-ifup > > Alguém saberia me dizer o que estou fazendo de errado? > > Estou utilizando o debian stable. > > Obrigado. > > 1 - http://www.punknix.com/?q=virtualization_kvm > 2 - http://kvm.qumranet.com/kvmwiki/Debian
Attachment:
signature.asc
Description: Digital signature