From mboxrd@z Thu Jan 1 00:00:00 1970 From: Asias He Subject: Does macvtap support host to guest communication? Date: Mon, 18 Apr 2011 14:10:04 +0800 Message-ID: <4DABD5BC.2040204@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Jason Wang , Pekka Enberg , Ingo Molnar , Amos Kong , kvm@vger.kernel.org To: Arnd Bergmann , "Michael S. Tsirkin" Return-path: Received: from mail-pw0-f46.google.com ([209.85.160.46]:47870 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752573Ab1DRGLK (ORCPT ); Mon, 18 Apr 2011 02:11:10 -0400 Received: by pwi15 with SMTP id 15so2027448pwi.19 for ; Sun, 17 Apr 2011 23:11:10 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: Hi, folks I am trying to use qemu/qemu-kvm with macvtap using following commands: # ip link add link eth0 name v0 type macvtap mode {vepa,bridge,private} # ip link set v0 address da:4e:17:88:42:b1 up # idx=`ip link show v0 | grep mtu| awk -F":" '{print $1}'` # kvm -net nic,macaddr=da:4e:17:88:42:b1 -net tap,fd=3 -hda /home/asias/qemu-stuff/sid.img 3<>/dev/tap${idx} I found that guest can access other hosts on the LAN except the host where guest lives, and host where guest lives can not access guest. My question is: Does macvtap support host(hypervisor host) to guest communication? -- Best Regards, Asias He