From: Mike <mike-kcIQ9yavhvsV/sYkb9DZNQ@public.gmane.org>
To: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>,
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: KVM net bug
Date: Fri, 25 Jan 2008 22:30:32 +0100 [thread overview]
Message-ID: <479A54F8.7040202@eliteserver.biz> (raw)
In-Reply-To: <479A44F6.20901-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
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
prev parent reply other threads:[~2008-01-25 21:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=479A54F8.7040202@eliteserver.biz \
--to=mike-kciq9yavhvsv/sykb9dznq@public.gmane.org \
--cc=anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox