From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 28 11:02:27 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 A399216A4CF for ; Mon, 28 Jun 2004 11:02:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E6C043D3F for ; Mon, 28 Jun 2004 11:02:27 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i5SB25DV003752 for ; Mon, 28 Jun 2004 11:02:05 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5SB25JT003746 for emulation@freebsd.org; Mon, 28 Jun 2004 11:02:05 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 28 Jun 2004 11:02:05 GMT Message-Id: <200406281102.i5SB25JT003746@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 11:02:27 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2000/12/15] misc/23561 emulation Linux compatibility mode does not support o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i o [2004/06/24] ports/68265 emulation [patch] Make rtc compile on -current (nee 5 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/06/20] misc/19391 emulation Evilness with Linux Terminus, causes X to o [2001/08/14] kern/29698 emulation linux ipcs doesn'work p [2002/04/16] misc/37161 emulation ext2 linux file system, error handling la o [2002/06/12] misc/39201 emulation ptrace(2) and rfork(RFLINUXTHPN) confuse o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator o [2002/11/27] kern/45785 emulation Linux WineX seems to require a few new li o [2003/01/22] kern/47349 emulation Fake a sound ioctl (plus linux hook) o [2003/08/21] kern/55835 emulation Linux IPC emulation missing SETALL syscal 9 problems total. From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 30 07:51:08 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 66D0716A4CF; Wed, 30 Jun 2004 07:51:08 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A76443D1D; Wed, 30 Jun 2004 07:51:08 +0000 (GMT) (envelope-from vs@FreeBSD.org) Received: from freefall.freebsd.org (vs@localhost [127.0.0.1]) i5U7ooEp088985; Wed, 30 Jun 2004 07:50:50 GMT (envelope-from vs@freefall.freebsd.org) Received: (from vs@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5U7ooQx088981; Wed, 30 Jun 2004 07:50:50 GMT (envelope-from vs) Date: Wed, 30 Jun 2004 07:50:50 GMT From: Volker Stolz Message-Id: <200406300750.i5U7ooQx088981@freefall.freebsd.org> To: vs@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, emulation@FreeBSD.org Subject: Re: ports/68202: [patch] Make vmware2 compile on -current X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 07:51:08 -0000 Synopsis: [patch] Make vmware2 compile on -current Responsible-Changed-From-To: freebsd-ports-bugs->emulation Responsible-Changed-By: vs Responsible-Changed-When: Wed Jun 30 07:50:25 GMT 2004 Responsible-Changed-Why: Over to Emulators. http://www.freebsd.org/cgi/query-pr.cgi?pr=68202 From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 30 11:11:17 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 E3EF516A4CE; Wed, 30 Jun 2004 11:11:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C584343D2D; Wed, 30 Jun 2004 11:11:17 +0000 (GMT) (envelope-from vs@FreeBSD.org) Received: from freefall.freebsd.org (vs@localhost [127.0.0.1]) i5UBBCtq015379; Wed, 30 Jun 2004 11:11:12 GMT (envelope-from vs@freefall.freebsd.org) Received: (from vs@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5UBBC6S015375; Wed, 30 Jun 2004 11:11:12 GMT (envelope-from vs) Date: Wed, 30 Jun 2004 11:11:12 GMT From: Volker Stolz Message-Id: <200406301111.i5UBBC6S015375@freefall.freebsd.org> To: vs@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, emulation@FreeBSD.org Subject: Re: ports/63747: vmmon is not performing X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 11:11:18 -0000 Synopsis: vmmon is not performing Responsible-Changed-From-To: freebsd-ports-bugs->emulation Responsible-Changed-By: vs Responsible-Changed-When: Wed Jun 30 11:10:27 GMT 2004 Responsible-Changed-Why: Ask emulation@ for feedback. http://www.freebsd.org/cgi/query-pr.cgi?pr=63747 From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 30 23:38:58 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 6BAE516A4CE for ; Wed, 30 Jun 2004 23:38:58 +0000 (GMT) Received: from pluto.hedeland.org (c0172a.mael.bostream.se [194.236.4.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC96A43D3F for ; Wed, 30 Jun 2004 23:38:57 +0000 (GMT) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) i5UNcu3M056186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Jul 2004 01:38:56 +0200 (CEST) Received: (from per@localhost)i5UNcumm056185; Thu, 1 Jul 2004 01:38:56 +0200 (CEST) Date: Thu, 1 Jul 2004 01:38:56 +0200 (CEST) From: Per Hedeland Message-Id: <200406302338.i5UNcumm056185@pluto.hedeland.org> To: freebsd-emulation@freebsd.org X-Scanned-By: MIMEDefang 2.39 cc: orlando.bassotto@ieo-research.it Subject: Patches to allow running multiple vmware3 instances X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 23:38:58 -0000 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 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 From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 1 13:24:39 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 1478716A4CE for ; Thu, 1 Jul 2004 13:24:38 +0000 (GMT) Received: from pluto.hedeland.org (c0172a.mael.bostream.se [194.236.4.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43DFF43D2F for ; Thu, 1 Jul 2004 13:24:38 +0000 (GMT) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) i61DNhBH000680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Jul 2004 15:23:43 +0200 (CEST) Received: (from per@localhost)i61DNhZ6000679; Thu, 1 Jul 2004 15:23:43 +0200 (CEST) Date: Thu, 1 Jul 2004 15:23:43 +0200 (CEST) From: Per Hedeland Message-Id: <200407011323.i61DNhZ6000679@pluto.hedeland.org> To: Sean_Welch@alum.wofford.org In-Reply-To: <20040701130406.GA1134@NitroPhys.welchsmnet.net> X-Scanned-By: MIMEDefang 2.39 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 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:24:39 -0000 Sean Welch wrote: > >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. That's right - FreeBSD doesn't allow this AFAIK (it doesn't "make sense" from a routing perspective). So that's a limitation that follows from the use of one vmnet interface per vmware instance: Each vmware instance must be in its own subnet. Unless you use bridged mode, of course... > 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" Yes - note that those are two different subnets, .1-.15 and .17-.31, given the netmask. >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" And that won't work. As to why, lets say that your vmware instance has the IP address 172.19.20.42 - how can the FreeBSD stack know whether packets for it should be sent via the vmnet1 or the vmnet2 interface? So it's simply not allowed - the interface configs are considered conflicting. --Per Hedeland per@hedeland.org From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 1 13:37:01 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 CF21416A4CE for ; Thu, 1 Jul 2004 13:37:01 +0000 (GMT) Received: from pluto.hedeland.org (c0172a.mael.bostream.se [194.236.4.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D12F43D58 for ; Thu, 1 Jul 2004 13:37:01 +0000 (GMT) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) i61DZmVx000894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Jul 2004 15:35:48 +0200 (CEST) Received: (from per@localhost)i61DZmh6000893; Thu, 1 Jul 2004 15:35:48 +0200 (CEST) Date: Thu, 1 Jul 2004 15:35:48 +0200 (CEST) From: Per Hedeland Message-Id: <200407011335.i61DZmh6000893@pluto.hedeland.org> To: killing@multiplay.co.uk, Sean_Welch@alum.wofford.org In-Reply-To: <01ea01c45f6d$dc2961b0$7b07000a@int.mediasurface.com> X-Scanned-By: MIMEDefang 2.39 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 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:37:01 -0000 "Steven Hartland" wrote: > >The second interface will most likely need a 255.255.255.255 >subnet mask just like a normal interface alias. No, that won't work - each vmnet interface is (from the host perspective) conceptually connected to a "real" network (this is independant of my patches), which needs to have the IP address of the host (the one configured on the interface), the address(es) of the vmware guest(s) (can be multiple with different IP addresses, only you cannot run them simultaneously), and broadcast address. I.e. the longest netmask you can use is 255.255.255.252, for four-address subnets. And the vmnet interfaces are all "equal". --Per Hedeland per@hedeland.org From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 1 13:41:48 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 F1B6116A4CF for ; Thu, 1 Jul 2004 13:41:48 +0000 (GMT) Received: from starling.mail.pas.earthlink.net (starling.mail.pas.earthlink.net [207.217.120.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D87D243D49 for ; Thu, 1 Jul 2004 13:41:48 +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 starling.mail.pas.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1Bg1nx-00082R-H2; Thu, 01 Jul 2004 06:40:45 -0700 Received: from NitroPhys.welchsmnet.net (localhost [127.0.0.1]) i61DeYe0001366; Thu, 1 Jul 2004 08:40:34 -0500 (CDT) (envelope-from welchsm@localhost.welchsmnet.net) Received: (from welchsm@localhost)i61DeYOn001365; Thu, 1 Jul 2004 08:40:34 -0500 (CDT) (envelope-from welchsm) Date: Thu, 1 Jul 2004 08:40:34 -0500 From: Sean Welch To: Per Hedeland Message-ID: <20040701134034.GA1345@NitroPhys.welchsmnet.net> References: <20040701130406.GA1134@NitroPhys.welchsmnet.net> <200407011323.i61DNhZ6000679@pluto.hedeland.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407011323.i61DNhZ6000679@pluto.hedeland.org> User-Agent: Mutt/1.5.6i X-ELNK-Trace: 15d86f98c8ef8acad780f4a490ca69564776905774d2ac4bab97113d3346e939659a536a415b49f2350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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:41:49 -0000 Ah. Aparently I don't understand netmasks well enough. ;-) I missed that they were on different subnets. That resolves my issue! Now I can do some network programming. Sean On Thu, Jul 01, 2004 at 03:23:43PM +0200, Per Hedeland wrote: > Sean Welch wrote: > > > >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. > > That's right - FreeBSD doesn't allow this AFAIK (it doesn't "make sense" > from a routing perspective). So that's a limitation that follows from > the use of one vmnet interface per vmware instance: Each vmware instance > must be in its own subnet. Unless you use bridged mode, of course... > > > 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" > > Yes - note that those are two different subnets, .1-.15 and .17-.31, > given the netmask. > > >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" > > And that won't work. As to why, lets say that your vmware instance has > the IP address 172.19.20.42 - how can the FreeBSD stack know whether > packets for it should be sent via the vmnet1 or the vmnet2 interface? > So it's simply not allowed - the interface configs are considered > conflicting. > > --Per Hedeland > per@hedeland.org From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 1 22:48:29 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 8F25516A4CE; Thu, 1 Jul 2004 22:48:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72BB643D5E; Thu, 1 Jul 2004 22:48:29 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) i61MlG2n012521; Thu, 1 Jul 2004 22:47:16 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i61MlGrc012517; Thu, 1 Jul 2004 22:47:16 GMT (envelope-from glewis) Date: Thu, 1 Jul 2004 22:47:16 GMT From: Greg Lewis Message-Id: <200407012247.i61MlGrc012517@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, emulation@FreeBSD.org Subject: Re: java/68079: linux ibm jdk 1.4.1 fails with: JVMLH050: Signal stack registration failed (errno=22) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 22:48:29 -0000 Synopsis: linux ibm jdk 1.4.1 fails with: JVMLH050: Signal stack registration failed (errno=22) Responsible-Changed-From-To: freebsd-java->emulation Responsible-Changed-By: glewis Responsible-Changed-When: Thu Jul 1 22:46:26 GMT 2004 Responsible-Changed-Why: Looks like a problem in the Linux emulation code. http://www.freebsd.org/cgi/query-pr.cgi?pr=68079 From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 1 22:50:12 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 87D9216A4CF; Thu, 1 Jul 2004 22:50:12 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68E2A43D1D; Thu, 1 Jul 2004 22:50:12 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) i61MnJWb012615; Thu, 1 Jul 2004 22:49:19 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i61MnJYS012611; Thu, 1 Jul 2004 22:49:19 GMT (envelope-from glewis) Date: Thu, 1 Jul 2004 22:49:19 GMT From: Greg Lewis Message-Id: <200407012249.i61MnJYS012611@freefall.freebsd.org> To: glewis@FreeBSD.org, glewis@FreeBSD.org, emulation@FreeBSD.org Subject: Re: kern/68131: java/linux-ibm-jdk14: linux ibm jdk 1.4.1 hangs with high system times, kernel trap 26 with interrupts disabled X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 22:50:12 -0000 Synopsis: java/linux-ibm-jdk14: linux ibm jdk 1.4.1 hangs with high system times, kernel trap 26 with interrupts disabled Responsible-Changed-From-To: glewis->emulation Responsible-Changed-By: glewis Responsible-Changed-When: Thu Jul 1 22:48:56 GMT 2004 Responsible-Changed-Why: Looks like a problem in the Linux emulation code. http://www.freebsd.org/cgi/query-pr.cgi?pr=68131 From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 1 22:53:06 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 6C17D16A4CE; Thu, 1 Jul 2004 22:53:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48EC143D54; Thu, 1 Jul 2004 22:53:06 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) i61MqCal012937; Thu, 1 Jul 2004 22:52:12 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i61MqC9c012933; Thu, 1 Jul 2004 22:52:12 GMT (envelope-from glewis) Date: Thu, 1 Jul 2004 22:52:12 GMT From: Greg Lewis Message-Id: <200407012252.i61MqC9c012933@freefall.freebsd.org> To: glewis@FreeBSD.org, glewis@FreeBSD.org, emulation@FreeBSD.org Subject: Re: kern/57192: linux-ibm-java1.4 freeze X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 22:53:06 -0000 Synopsis: linux-ibm-java1.4 freeze Responsible-Changed-From-To: glewis->emulation Responsible-Changed-By: glewis Responsible-Changed-When: Thu Jul 1 22:50:32 GMT 2004 Responsible-Changed-Why: I believe this is a problem in the Linux emulation code. Someone on freebsd-java did some tracking at one point and, IIRC, traced it to differences in how user LDT handling worked between FreeBSD and Linux. http://www.freebsd.org/cgi/query-pr.cgi?pr=57192 From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 1 23:37:20 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 8562316A4CE for ; Thu, 1 Jul 2004 23:37:20 +0000 (GMT) Received: from pluto.hedeland.org (c0172a.mael.bostream.se [194.236.4.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AB1943D48 for ; Thu, 1 Jul 2004 23:37:19 +0000 (GMT) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) i61NYte5009048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jul 2004 01:34:55 +0200 (CEST) Received: (from per@localhost)i61NYrRx009047; Fri, 2 Jul 2004 01:34:53 +0200 (CEST) Date: Fri, 2 Jul 2004 01:34:53 +0200 (CEST) From: Per Hedeland Message-Id: <200407012334.i61NYrRx009047@pluto.hedeland.org> To: per@hedeland.org, Sean_Welch@alum.wofford.org In-Reply-To: <200407011323.i61DNhZ6000679@pluto.hedeland.org> X-Scanned-By: MIMEDefang 2.39 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 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 23:37:20 -0000 I wrote: > >Sean Welch wrote: >> >>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. > >That's right - FreeBSD doesn't allow this AFAIK (it doesn't "make sense" >from a routing perspective). So that's a limitation that follows from >the use of one vmnet interface per vmware instance: Each vmware instance >must be in its own subnet. Unless you use bridged mode, of course... But it occurred to me that this limitation can be removed with a moderate amount of trickery - and best of all, trickery limited to the config file, the (patched) start script is all set to deal with it. The trick is to use a sort of "hybrid" mode (the "Unless..." is actually half the answer): If you want multiple instances to be in the same subnet, you just bridge the corresponding *vmnet* devices together, but *not* together with any "real" interface. I.e. in the config file Sean's case would look like: vmnet1.Bridged = "NO" vmnet1.BridgeInterface = "" vmnet1.HostOnlyAddress = "172.19.20.40" vmnet1.HostOnlyNetMask = "255.255.255.0" vmnet2.Bridged = "YES" vmnet2.BridgeInterface = "vmnet1" vmnet2.HostOnlyAddress = "192.168.0.1" vmnet2.HostOnlyNetMask = "255.255.255.0" (Using the "default bridge-interface IP address" for vmnet2...) And it's possible to add more vmnets like this of course, as long as they're all specified as bridged to vmnet1 (or whichever you chose to be the "non-bridged" one - it has to be before the others numerically though). Actually you can have multiple such "non-bridged bridges" too... With this setup, you can have the vmwares be e.g. 172.19.20.42 and 172.19.20.43, and everyone using 255.255.255.0 as netmask. --Per Hedeland per@hedeland.org From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 2 04:26:43 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 F252E16A4CE for ; Fri, 2 Jul 2004 04:26:42 +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 DAE1743D2D for ; Fri, 2 Jul 2004 04:26:42 +0000 (GMT) (envelope-from welchsm@earthlink.net) Received: from [66.173.16.120] (helo=NitroPhys.welchsmnet.net) by audiogram.mail.pas.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BgFcN-0006gV-0c; Thu, 01 Jul 2004 21:25:45 -0700 Received: from NitroPhys.welchsmnet.net (localhost [127.0.0.1]) i624PTae002155; Thu, 1 Jul 2004 23:25:29 -0500 (CDT) (envelope-from welchsm@localhost.welchsmnet.net) Received: (from welchsm@localhost)i624PSkZ002154; Thu, 1 Jul 2004 23:25:28 -0500 (CDT) (envelope-from welchsm) Date: Thu, 1 Jul 2004 23:25:28 -0500 From: Sean Welch To: Per Hedeland Message-ID: <20040702042528.GA1911@NitroPhys.welchsmnet.net> References: <200407011323.i61DNhZ6000679@pluto.hedeland.org> <200407012334.i61NYrRx009047@pluto.hedeland.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407012334.i61NYrRx009047@pluto.hedeland.org> User-Agent: Mutt/1.5.6i X-ELNK-Trace: 15d86f98c8ef8acad780f4a490ca69564776905774d2ac4bf3bc3414946ef6241227e9e8ed2de7e5350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.173.16.120 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: Fri, 02 Jul 2004 04:26:43 -0000 Thanks for the good suggestion -- it works excellently well! My current 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.1" vmnet1.HostOnlyNetMask = "255.255.255.0" vmnet2.Bridged = "YES" vmnet2.BridgeInterface = "vmnet1" vmnet2.HostOnlyAddress = "192.168.0.1" vmnet2.HostOnlyNetMask = "255.255.255.0" My first client is 172.19.20.34 and the second is 172.19.20.35 -- both able to get to the net, the host machine, and each other. Sean On Fri, Jul 02, 2004 at 01:34:53AM +0200, Per Hedeland wrote: > I wrote: > > > >Sean Welch wrote: > >> > >>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. > > > >That's right - FreeBSD doesn't allow this AFAIK (it doesn't "make sense" > >from a routing perspective). So that's a limitation that follows from > >the use of one vmnet interface per vmware instance: Each vmware instance > >must be in its own subnet. Unless you use bridged mode, of course... > > But it occurred to me that this limitation can be removed with a > moderate amount of trickery - and best of all, trickery limited to the > config file, the (patched) start script is all set to deal with it. > > The trick is to use a sort of "hybrid" mode (the "Unless..." is actually > half the answer): If you want multiple instances to be in the same > subnet, you just bridge the corresponding *vmnet* devices together, but > *not* together with any "real" interface. I.e. in the config file Sean's > case would look like: > > vmnet1.Bridged = "NO" > vmnet1.BridgeInterface = "" > vmnet1.HostOnlyAddress = "172.19.20.40" > vmnet1.HostOnlyNetMask = "255.255.255.0" > vmnet2.Bridged = "YES" > vmnet2.BridgeInterface = "vmnet1" > vmnet2.HostOnlyAddress = "192.168.0.1" > vmnet2.HostOnlyNetMask = "255.255.255.0" > > (Using the "default bridge-interface IP address" for vmnet2...) And it's > possible to add more vmnets like this of course, as long as they're all > specified as bridged to vmnet1 (or whichever you chose to be the > "non-bridged" one - it has to be before the others numerically > though). Actually you can have multiple such "non-bridged bridges" > too... With this setup, you can have the vmwares be e.g. 172.19.20.42 > and 172.19.20.43, and everyone using 255.255.255.0 as netmask. > > --Per Hedeland > per@hedeland.org From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 3 13:51:30 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 D6AE516A4CE; Sat, 3 Jul 2004 13:51:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B768843D39; Sat, 3 Jul 2004 13:51:30 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) i63DpU9W052698; Sat, 3 Jul 2004 13:51:30 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i63DpUX5052694; Sat, 3 Jul 2004 13:51:30 GMT (envelope-from linimon) Date: Sat, 3 Jul 2004 13:51:30 GMT From: Mark Linimon Message-Id: <200407031351.i63DpUX5052694@freefall.freebsd.org> To: marc@bowtie.nl, linimon@FreeBSD.org, emulation@FreeBSD.org Subject: Re: ports/68202: [patch] Make vmware2 compile on -current X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2004 13:51:31 -0000 Synopsis: [patch] Make vmware2 compile on -current State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Sat Jul 3 13:50:06 GMT 2004 State-Changed-Why: To the maintainer: do you approve or disapprove of these changes? To the submitter: please be sure to Cc: the maintainer when submitting PRs, it helps PRs to not get lost. http://www.freebsd.org/cgi/query-pr.cgi?pr=68202 From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 3 13:57:52 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 BEDB016A4CE; Sat, 3 Jul 2004 13:57:52 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A25F743D31; Sat, 3 Jul 2004 13:57:52 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) i63DvqKG052901; Sat, 3 Jul 2004 13:57:52 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i63DvqeD052897; Sat, 3 Jul 2004 13:57:52 GMT (envelope-from linimon) Date: Sat, 3 Jul 2004 13:57:52 GMT From: Mark Linimon Message-Id: <200407031357.i63DvqeD052897@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, emulation@FreeBSD.org Subject: Re: ports/68532: Add support for multiple VMWare instances X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2004 13:57:52 -0000 Synopsis: Add support for multiple VMWare instances Responsible-Changed-From-To: freebsd-ports-bugs->emulation Responsible-Changed-By: linimon Responsible-Changed-When: Sat Jul 3 13:57:30 GMT 2004 Responsible-Changed-Why: Over to the mailing list. http://www.freebsd.org/cgi/query-pr.cgi?pr=68532