<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Daniel,<div><br></div><div>when you have more MAC-Addresses inside a vmware guest that the guest itself actually has you need to put the vswitch of your vmware hypervisor into promisc mode (Config->Network->"Your Network"->Properties->Security->Promisc-Mode: Accept).</div><div><br></div><div>Hope this helps.</div><div><br></div><div>Cheers,</div><div>Mario</div><div><br><div><div>On Feb 13, 2012, at 4:57 PM, Daniel Parnak wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">nmap 192.168.163.179<br><br>Starting Nmap 5.51 ( <a href="http://nmap.org/" target="_blank">http://nmap.org</a> ) at 2012-02-13 09:50 EST<br>Nmap scan report for 192.168.163.179<br>Host is up (0.00024s latency).<br>All 1000 scanned ports on 192.168.163.179 are filtered<br>
MAC Address: 00:0C:29:E7:6B:6F (VMware)<div><br></div><div><br><br>Nmap done: 1 IP address (1 host up) scanned in 5.20 seconds<div><br></div><div><br><span><image.png></span><br>
or maybe I should conect to 192.168.2.15 ?</div><div><br></div><div><br><div class="gmail_quote">2012/2/13 David Jaša <span dir="ltr"><<a href="mailto:djasa@redhat.com" target="_blank">djasa@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Daniel Parnak píše v Po 13. 02. 2012 v 12:25 +0100:<br>
<div><div>> # /home/liveuser/.spicec/spicec.log<br>
><br>
> 1329134774 INFO [2196:2196] Application::main: starting 0.10.1<br>
> 1329134774 INFO [2196:2196] Application::main: command line: spicec -h<br>
> 192.168.163.179 -p 5930<br>
> 1329134774 INFO [2196:2196] init_key_map: using evdev mapping<br>
> 1329134774 INFO [2196:2196] MultyMonScreen::MultyMonScreen:<br>
> platform_win: 52428801<br>
> 1329134774 INFO [2196:2196] GUI::GUI:<br>
> 1329134775 INFO [2196:2196] ForeignMenu::ForeignMenu: Creating a<br>
> foreign menu connection /tmp/SpiceForeignMenu-2196.uds<br>
> 1329134775 INFO [2196:2197] RedPeer::connect_to_peer: Connect failed:<br>
> No route to host (113)<br>
> 1329134775 WARN [2196:2197] RedChannel::run: failed to connect: No<br>
> route to host (113)<br>
> 1329134775 INFO [2196:2196] main: Spice client terminated (exitcode =<br>
> 3)<br>
> 1329134778 INFO [2199:2199] Application::main: starting 0.10.1<br>
> 1329134778 INFO [2199:2199] Application::main: command line: spicec -h<br>
> 192.168.163.179 -p 5930<br>
> 1329134778 INFO [2199:2199] init_key_map: using evdev mapping<br>
> 1329134778 INFO [2199:2199] MultyMonScreen::MultyMonScreen:<br>
> platform_win: 52428801<br>
> 1329134778 INFO [2199:2199] GUI::GUI:<br>
> 1329134778 INFO [2199:2199] ForeignMenu::ForeignMenu: Creating a<br>
> foreign menu connection /tmp/SpiceForeignMenu-2199.uds<br>
> 1329134778 INFO [2199:2200] RedPeer::connect_to_peer: Connect failed:<br>
> No route to host (113)<br>
> 1329134778 WARN [2199:2200] RedChannel::run: failed to connect: No<br>
> route to host (113)<br>
> 1329134778 INFO [2199:2199] main: Spice client terminated (exitcode =<br>
> 3)<br>
><br>
> # I've installed qemu-kvm but when I try to run qemu-kvm shows this:<br>
><br>
> Could not access KVM kernel module: No such file or directory<br>
> failed to initialize KVM: No such file or directory<br>
> No accelerator found!<br>
><br>
</div></div>This is expected, as you run qemu in VM (IIUC your first mail). Can you<br>
verify with nmap that the host is really reachable?<br>
<div><br>
> # How is qemu connected to hosts network?<br>
><br>
<br>
</div>qemu listens on defined address (-spice addr=<sth>,port=<port>,...).<br>
When not specified, default address is 0.0.0.0 (all ivp4 addresses).<br>
<br>
The different story is networking of VM, there are more possible<br>
approaches - consult qemu's manual page for them.<br>
<br>
David<br>
<div><div>><br>
><br>
> 2012/2/13 Yonit Halperin <<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>><br>
> On 02/12/2012 11:39 AM, Daniel Parnak wrote:<br>
> 2012/2/12 Yonit Halperin <<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a><br>
> <mailto:<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>>><br>
><br>
><br>
> On 02/11/2012 01:29 PM, Daniel Parnak wrote:<br>
><br>
> Hello,<br>
><br>
> I want to test spice on my virtual machines but<br>
> I have problem.<br>
> I create 2 virtual machines (one for server,<br>
> one for client) on<br>
> VMware<br>
> Workstation 8 and I run on them<br>
> Fedora-16-x86_64-Live-Desktop.<br>
><br>
> # On server I do:<br>
> yum -y install qemu-kvm libvirt python-virtinst<br>
> bridge-utils<br>
> systemctl start libvirtd.service<br>
> chkconfig libvirtd on<br>
> yum -y install spice-server spice-protocol<br>
> qemu-img create /tmp/fedora.qcow 8G<br>
> qemu -cdrom /dev/cdrom -hda /tmp/fedora.qcow<br>
> -boot d -net nic<br>
> -net user<br>
> -m 1024<br>
><br>
> # Then after run virtual machine I start spice<br>
> qemu -spice port=5930<br>
><br>
> Hi, you should add the "-spice <spice-params>" at<br>
> the same command<br>
> you run the vm. No need for 2 different `qemu`<br>
> runs.<br>
> In addition, you probably also want to add to<br>
> spice-params<br>
> ",disable-ticketing" and to qemu params -vga qxl.<br>
><br>
><br>
> Thanks, now I do:<br>
><br>
> qemu -cdrom /tmp/FreeBSD-8.2-RELEASE-i386-disc1.iso<br>
> -hda<br>
> /tmp/fedora.qcow -boot d -net nic -net user -m 1024<br>
> -spice<br>
> port=5930,disable-ticketing -vga qxl<br>
><br>
> and I receive:<br>
><br>
><br>
> /do_spice_init: starting 0.10.1<br>
><br>
> spice_server_add_interface: SPICE_INTERFACE_KEYBOARD<br>
> spice_server_add_interface: SPICE_INTERFACE_MOUSE<br>
> spice_server_add_interface: SPICE_INTERFACE_QXL<br>
> red_worker_main: begin<br>
> display_channel_create: create display channel<br>
><br>
> cursor_channel_create: create cursor channel/<br>
><br>
><br>
> vm doesn't start, and I still can't connect from<br>
> spicec to server<br>
><br>
><br>
> Hi,<br>
><br>
> You can try running qemu-kvm instead of qemu. Please also send<br>
> the client's log file ($home/.spicec/spicec.log)<br>
><br>
><br>
><br>
> # On client's machine I install spice client<br>
> yum -y install spice-client spice-protocol<br>
> spicec -h 192.168.163.128 -p 5930<br>
><br>
> And I receive warning:<br>
> failed to connect: no route to host (113)<br>
><br>
> I can ping server and host. Tcpdump shows that<br>
> when I want to<br>
> connect<br>
> via spicec packages are sent, and host receive<br>
> it.<br>
><br>
> What is wrong? And how can I resolve this<br>
> problem?<br>
><br>
> Greetings,<br>
> Daniel<br>
><br>
><br>
><br>
><br>
> _________________________________________________<br>
> Spice-devel mailing list<br>
> Spice-devel@lists.freedesktop.__org<br>
> <mailto:<a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.org</a>><br>
><br>
> <a href="http://lists.freedesktop.org/__mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/__mailman/listinfo/spice-devel</a><br>
><br>
> <<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a>><br>
><br>
><br>
><br>
><br>
><br>
</div></div><div><div>> _______________________________________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br>
</div></div><span><font color="#888888">--<br>
<br>
David Jaša, RHCE<br>
<br>
SPICE QE based in Brno<br>
GPG Key: 22C33E24<br>
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24<br>
<br>
<br>
</font></span></blockquote></div><br>
</div></div>
_______________________________________________<br>Spice-devel mailing list<br><a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br></blockquote></div><br></div></body></html>