qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] no network connection in a windows xp guest


From: Thilo Rießner
Subject: Re: [Qemu-discuss] no network connection in a windows xp guest
Date: Thu, 26 Jan 2012 01:32:19 +0100
User-agent: KMail/4.7.2 (Linux/3.1.0-1.2-desktop; KDE/4.7.2; x86_64; ; )

> i'm still a little suspicious about how two user networks are listed. 
> can you add '-net nic -net user' to the qemu-kvm command you execute?

Dear Mike,
this time I started qemu-kvm with:
qemu-kvm -vga std -localtime -m 1024 -soundhw ac97 -cdrom /dev/cdrom 
/home/xen/windisk10G.img -net nic,model=rtl8139,macaddr=52:54:00:12:34:58 -net 
user

In my last mail there was an error, due to the limited length of the command 
line, ps showed not all option. So my mistake wasn't seen. I put an extra -net 
user,smb=/path/ and that caused the second user net. 
With the extra "-net nic -net user" and the wrong "-net user,smb=/path" the 
qemu-kvm console shows
:
(qemu) info network
LAN 0 devices:
user.0: type=user,net=10.0.2.0,restrict=off
user.1: type=user,net=10.0.2.0,restrict=off
user.2: type=user,net=10.0.2.0,restrict=off
rtl8139.0: type=nic,model=rtl8139,macaddr=52:54:00:12:34:58
rtl8139.1: type=nic,model=rtl8139,macaddr=52:54:00:12:34:56
Devices not on any VLAN:

without the second  "-net nic -net user" and without the smb:

(qemu) info usernet
LAN 0 (user.0):
Protocol[State]   FD  Source Address  Port  Dest. Address  Port RecvQ SendQ
UDP[68 sec]      26     10.0.2.16  1079 239.255.255.250  1900    0    0
UDP[133 sec]     31     10.0.2.16  138   10.0.255.255  138    0    0
UDP[234 sec]     29     10.0.2.16  137   10.0.255.255  137    0    0

(qemu) info network
LAN 0 devices:
user.0: type=user,net=10.0.2.0,restrict=off
rtl8139.0: type=nic,model=rtl8139,macaddr=52:54:00:12:34:58
Devices not on any VLAN:

But unfortunately it still doesn't work :-(



reply via email to

[Prev in Thread] Current Thread [Next in Thread]