Re: [kvm-devel] KVM net bug

2008-01-25 Thread Anthony Liguori
José Antonio wrote:
 Hi, First I'm sorry for my english.

 I'm using kvm on

 host: Debian GNU/Linux sid
 host kernel: Linux enol 2.6.23-1-amd64 #1 SMP Fri Dec 21 12:00:17 
 UTC 2007 x86_64 GNU/Linux
 kvm version 58+dfsg-2 (almost on Debian)
 guest: Debian etch and Windows XP, although I think that problem is 
 on any guest
 command: kvm -hda disk.img -net nic,macaddr=valid mac -net tap

 I describe the problem on Debian: When I execute de kvm command the 
 guest work but don't work the net because device eth0 don't exists 
 instead of exists eth1 firstly eth2 when I shut down and later I boot 
 the guest. Because of this my local net don't work.
   

I'm having a hard time understanding your problem.  Do you have an 
appropriate qemu-ifup script?

Regards,

Anthony Liguori

 Regards,

   


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] KVM net bug

2008-01-25 Thread José Antonio
Hi, First I'm sorry for my english.

I'm using kvm on

host: Debian GNU/Linux sid
host kernel: Linux enol 2.6.23-1-amd64 #1 SMP Fri Dec 21 12:00:17 
UTC 2007 x86_64 GNU/Linux
kvm version 58+dfsg-2 (almost on Debian)
guest: Debian etch and Windows XP, although I think that problem is 
on any guest
command: kvm -hda disk.img -net nic,macaddr=valid mac -net tap

I describe the problem on Debian: When I execute de kvm command the 
guest work but don't work the net because device eth0 don't exists 
instead of exists eth1 firstly eth2 when I shut down and later I boot 
the guest. Because of this my local net don't work.

Regards,

-- 
José A. Caro Leiva
Ingeniero Técnico de Sistemas
[EMAIL PROTECTED]


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] KVM net bug

2008-01-25 Thread Mike
Hello,
when you have started the debian guest, take a look if this file exists:
/etc/udev/rules.d/z25_persistent-net.rules
if so, delete it, and reboot your guest. let the mac address always the 
same for that guest. Now you should have an eth0 interface.

I'm starting my debian guests like this:
kvm -hda apache.img -hdb apache_storage.img -m 1024 -boot c -smp 2 -net 
nic,vlan=0,macaddr=00:16:3e:00:00:01,model=rtl8139 -net tap -nographic 
-daemonize

For Windows I use:
kvm -no-acpi -m 1024 -boot c windows.img -net 
nic,vlan=0,macaddr=00:16:3e:00:00:41,model=rtl8139 -net tap -nographic 
-daemonize

Hope this helps,
Regards
Mike


Anthony Liguori schrieb:
 José Antonio wrote:
   
 Hi, First I'm sorry for my english.

 I'm using kvm on

 host: Debian GNU/Linux sid
 host kernel: Linux enol 2.6.23-1-amd64 #1 SMP Fri Dec 21 12:00:17 
 UTC 2007 x86_64 GNU/Linux
 kvm version 58+dfsg-2 (almost on Debian)
 guest: Debian etch and Windows XP, although I think that problem is 
 on any guest
 command: kvm -hda disk.img -net nic,macaddr=valid mac -net tap

 I describe the problem on Debian: When I execute de kvm command the 
 guest work but don't work the net because device eth0 don't exists 
 instead of exists eth1 firstly eth2 when I shut down and later I boot 
 the guest. Because of this my local net don't work.
   
 

 I'm having a hard time understanding your problem.  Do you have an 
 appropriate qemu-ifup script?

 Regards,

 Anthony Liguori

   
 Regards,

   
 


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 kvm-devel mailing list
 kvm-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/kvm-devel
   


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel