From owner-freebsd-emulation Fri Sep 15 15:16: 0 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from guardian.sftw.com (guardian.sftw.com [209.157.37.25]) by hub.freebsd.org (Postfix) with ESMTP id BCA2237B424; Fri, 15 Sep 2000 15:15:58 -0700 (PDT) Received: from yoda.sftw.com (yoda.sftw.com [209.157.37.211]) by guardian.sftw.com (8.9.3/8.9.3) with ESMTP id PAA69611; Fri, 15 Sep 2000 15:15:58 -0700 (PDT) (envelope-from nsayer@sftw.com) Received: from sftw.com (localhost [127.0.0.1]) by yoda.sftw.com (8.11.0/8.11.0) with ESMTP id e8FMFvJ06560; Fri, 15 Sep 2000 15:15:58 -0700 (PDT) (envelope-from nsayer@sftw.com) Message-ID: <39C29F98.F3A0FF53@sftw.com> Date: Fri, 15 Sep 2000 15:15:52 -0700 From: Nick Sayer Reply-To: nsayer@kfu.com X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Cc: archie@freebsd.org Subject: vmnet, bridging and netgraph Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Holy crap! It works! For those of you who have an up-to-date install, you can hose out all of the bridge stuff in your vmware.sh file and just change the exec line at the bottom of /usr/local/bin/vmware into this: ETHER= your ethernet interface (e.g. xl0) ngctl mkpeer vmnet1: bridge lower link0 ngctl name vmnet1:lower vmnet_bridge ngctl connect vmnet_bridge: ${ETHER}: link1 lower ngctl connect vmnet_bridge: ${ETHER}: link1 upper /usr/local/lib/vmware/bin/vmware "$@" ngctl shutdown vmnet_bridge: No more having to change the kernel, no more worries about having the bridge turned on when vmware isn't running. It's all gravy. Note that this will probably NOT work if your primary Ethernet interface is a wi0 card. That's because those cards can't transmit Ethernet frames with source addresses different than their own. Sorry. Blame Lucent. They don't want you to avoid buying an access point to do wireless-to-LAN bridges. THREE CHEERS FOR ARCHIE!!!! HUZZAH! HUZZAH! HUZZAH! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message