* KVM net bug
@ 2008-01-25 20:15 José Antonio
[not found] ` <479A436F.4020807-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: José Antonio @ 2008-01-25 20:15 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
jacaro37@gmail.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: KVM net bug
[not found] ` <479A436F.4020807-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2008-01-25 20:22 ` Anthony Liguori
[not found] ` <479A44F6.20901-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Anthony Liguori @ 2008-01-25 20:22 UTC (permalink / raw)
To: José Antonio; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: KVM net bug
[not found] ` <479A44F6.20901-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
@ 2008-01-25 21:30 ` Mike
0 siblings, 0 replies; 3+ messages in thread
From: Mike @ 2008-01-25 21:30 UTC (permalink / raw)
To: Anthony Liguori, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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/vse0120000070mrt/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/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-25 21:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 20:15 KVM net bug José Antonio
[not found] ` <479A436F.4020807-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-01-25 20:22 ` Anthony Liguori
[not found] ` <479A44F6.20901-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2008-01-25 21:30 ` Mike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox