From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 1 13:05:57 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 586BA16A4CE for ; Thu, 1 Jul 2004 13:05:57 +0000 (GMT) Received: from audiogram.mail.pas.earthlink.net (audiogram.mail.pas.earthlink.net [207.217.120.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4123543D3F for ; Thu, 1 Jul 2004 13:05:57 +0000 (GMT) (envelope-from welchsm@earthlink.net) Received: from c-24-118-150-243.mn.client2.attbi.com ([24.118.150.243] helo=NitroPhys.welchsmnet.net) by audiogram.mail.pas.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1Bg1Ef-0004we-Sf; Thu, 01 Jul 2004 06:04:18 -0700 Received: from NitroPhys.welchsmnet.net (localhost [127.0.0.1]) i61D46e0001179; Thu, 1 Jul 2004 08:04:07 -0500 (CDT) (envelope-from welchsm@localhost.welchsmnet.net) Received: (from welchsm@localhost)i61D46F2001178; Thu, 1 Jul 2004 08:04:06 -0500 (CDT) (envelope-from welchsm) Date: Thu, 1 Jul 2004 08:04:06 -0500 From: Sean Welch To: per@hedeland.org Message-ID: <20040701130406.GA1134@NitroPhys.welchsmnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i X-ELNK-Trace: 15d86f98c8ef8acad780f4a490ca69564776905774d2ac4b6360a6959871ebc79846295318699f04350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.118.150.243 cc: freebsd-emulation@freebsd.org Subject: Re: Patches to allow running multiple vmware3 instances X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sean_Welch@alum.wofford.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 13:05:57 -0000 THANK YOU! I've been wanting this feature for a very long time now. I abandoned vmware2 a while back and the lack of this particular feature has been severely limiting the usefulness of vmware3. I added in your patches and recompiled. I do indeed get multiple vmnet interfaces but I don't seem able to configure them as you show in your example. Specifically, I cannot configure the interfaces to be on the same subnet with the same netmask. I can have one but not the other... ??? Your example file suggests you used this (snip): vmnet1.Bridged = "NO" vmnet1.BridgeInterface = "" vmnet1.HostOnlyAddress = "172.31.254.1" vmnet1.HostOnlyNetMask = "255.255.255.240" vmnet2.Bridged = "NO" vmnet2.BridgeInterface = "" vmnet2.HostOnlyAddress = "172.31.254.17" vmnet2.HostOnlyNetMask = "255.255.255.240" My config file looks like this: vmware.fullpath = "/usr/local/lib/vmware/bin/vmware" wizard.fullpath = "/usr/local/lib/vmware/bin/vmware-wizard" dhcpd.fullpath = "/usr/local/lib/vmware/bin/vmnet-dhcpd" loop.fullpath = "/usr/local/lib/vmware/bin/vmware-loop" libdir = "/usr/local/lib/vmware" vmnet1.Bridged = "NO" vmnet1.BridgeInterface = "" vmnet1.HostOnlyAddress = "172.19.20.40" vmnet1.HostOnlyNetMask = "255.255.255.0" vmnet2.Bridged = "NO" vmnet2.BridgeInterface = "" vmnet2.HostOnlyAddress = "172.19.20.41" vmnet2.HostOnlyNetMask = "255.255.255.0" The system complains with this message when attempting to configure the second instance: ifconfig: ioctl (SIOCAIFADDR): File exists Any ideas? I'd love to start using this right away! Sean > Hi, > > I just send-pr'ed some patches to allow running of multiple > networked > vmware3 instances: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=68532 > > The scheme isn't very elegant, since it uses one vmnet interface per > vmware instance, but if your needs aren't very "dynamic", I think > it's > OK. Only tested on 5.2.1-RELEASE, see the pr for some possible > issues on > other versions (it should be possible to create the vmnet devices > manually on non-devfs systems - *before* running the start > script...). > > --Per Hedeland > per@hedeland.org