Received: from [140.186.70.92] (port=36461 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqsZi-0006PE-MA for qemu-devel@nongnu.org; Sat, 19 Feb 2011 14:34:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqsZh-0007FJ-7T for qemu-devel@nongnu.org; Sat, 19 Feb 2011 14:34:38 -0500 Received: from chello084112167138.7.11.vie.surfer.at ([84.112.167.138]:48315 helo=wiesinger.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqsZg-00073P-Pf for qemu-devel@nongnu.org; Sat, 19 Feb 2011 14:34:37 -0500 Received: from bbs.intern (localhost [127.0.0.1]) by wiesinger.com (8.14.4/8.14.4) with ESMTP id p1JJWxO0025417 for ; Sat, 19 Feb 2011 20:32:59 +0100 Received: from localhost (gerhard@localhost) by bbs.intern (8.14.4/8.14.4/Submit) with ESMTP id p1JJWxjD025413 for ; Sat, 19 Feb 2011 20:32:59 +0100 Date: Sat, 19 Feb 2011 20:32:59 +0100 (CET) From: Gerhard Wiesinger Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: [Qemu-devel] Network bridging without adding bridge with brctl, possible? List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, I like the way like VMWare Server 2.x does bridging: There is no need to change basic network interface settings and add a bridge between the existing network interface like e.g. discussed in: http://www.linux-kvm.com/content/using-bridged-networking-virt-manager VMWare Server 2.x does the following: 1.) Add vmnet network interfaces with vmnet.tar code (should be GPL v2). 2.) Starting a user mode process which I guess does the forwarding: /usr/bin/vmnet-bridge /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-0.pid -n 0 -i eth0 3.) 2 other processes: /usr/bin/vmnet-netifup -d /var/run/vmnet-netifup-vmnet1.pid /dev/vmnet1 vmnet1 /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet1/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet1/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet1.pid vmnet1 /usr/bin/vmnet-bridge Either the '-n' or '-p' option must be given exactly once. Usage: vmnet-bridge (-n | -p) [-d] [(-e | -i)] [-s] [-h] -i include interface -e exclude interface -g prefer default gateway interface -n virtual network -p private virtual network -d process identifier file name -s optional pipe descriptor for service to send a two byte startup status code -h help Might this also be easily possible with QEMU/KVM? What do you thing about this? Worth to implement? Any other suggestions to achieve this? Thnx. Ciao, Gerhard -- http://www.wiesinger.com/