From owner-freebsd-questions@FreeBSD.ORG Mon Oct 11 10:27:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1EFC16A4CE for ; Mon, 11 Oct 2004 10:27:24 +0000 (GMT) Received: from nagual.st (cc20684-a.assen1.dr.home.nl [217.122.132.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B23243D1F for ; Mon, 11 Oct 2004 10:27:22 +0000 (GMT) (envelope-from dick@nagual.st) Received: from localhost (localhost [127.0.0.1]) (uid 1000) by nagual.st with local; Mon, 11 Oct 2004 12:27:21 +0200 Date: Mon, 11 Oct 2004 12:27:21 +0200 To: freebsd-questions Message-ID: <20041011102721.GB8806@nagual.st> References: <20041010160231.GA836@pooh.nagual.st> <200410110221.05289.4711@chello.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <200410110221.05289.4711@chello.at> User-Agent: Mutt/1.5.6i From: dick hoogendijk Subject: Re: route vmnet1 host server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 10:27:25 -0000 On 11 Oct Christian Hiris wrote: > The easiest solution is to assign a free ip-address of your localnet > (192.168.11.nnn) to your win-guest. Try to avoid a setup of two > subnets on one physical NIC. > > As /dev/vmnet1 acts as bridge it's ip-address isn't relevant. There is > only the requirement that it's ip-address should not conflict with any > already 'in-use' ip-address on your network. The above information says it all, I guess. I was confused, because the vmware3 ports speaks of no support for bridging. This must be some other kind of bridging ;-) As you tell me, this is a normal story and I don't expect to have difficulties with it. My next question is irrelevant too, I guess. If I give my vm-winbox a 'normal' local IP there is no need for the freebsd machine to act as gateway (away with it from rc.conf) and I also don't need ipnat. The normal firewall rules will do. If I'm wrong I like to hear it. That's why I'll leave the quetion intact. > > -did I get the ipnat rules correct? > > If you decide to use a ip-address in your localnet ip-range, just > duplicate the host-specfic rules and change the host-ip(192.168.11.22) > to your win-guest-ip (192.168.11.nnn) in theese rules. You maybe want > to do some extra-blocking of unwanted win-specific traffic. I only use > ipfw, so I'm not the one that can answer your ipnat question in > detail. -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody) + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya