From owner-freebsd-emulation Mon Dec 20 10:23: 1 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (Postfix) with ESMTP id D25501529E for ; Mon, 20 Dec 1999 10:22:58 -0800 (PST) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 71064A84F; Mon, 20 Dec 1999 19:22:57 +0100 (CET) Date: Mon, 20 Dec 1999 19:22:57 +0100 From: Guido van Rooij To: freebsd-emulation@freebsd.org Subject: Re: FAQ: how to set up networking transparently Message-ID: <19991220192257.A92941@gvr.gvr.org> References: <19991220191919.A92871@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <19991220191919.A92871@gvr.gvr.org>; from Guido van Rooij on Mon, Dec 20, 1999 at 07:19:19PM +0100 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Eh...I forgot to mention that this refers to the VMWare port ;-) -Guido On Mon, Dec 20, 1999 at 07:19:19PM +0100, Guido van Rooij wrote: > > What I do is the following: > > Suppose the FreeBSD box has interface if0 on your ethernet. > Suppose further it has ip address x.1 where x is the network number. > Suppose further that you want your guest os to be known as ip x.2. > > You then do the following: > > 1) Setup the vmnet interface in the guest OS with ip x.2 and ip alias > 192.168.254.1 (in any case an ip number on an unused network in your > environment) > 2) Set up the FreeBSD box with vmnet interface 192.168.254.2 and ping > the guest. > 3) do an arp -na and write down the mac address (say M) that matches > 192.168.254.1 > 4) On the FreeBSD box do: > arp -s 192.168.254.1 M pub > arp -s x.2 M pub > route add x.2 192.168.254.1 > sysctl -w net.inet.ip.forwarding=1 > sysctl -w net.link.ether.inet.proxyall=1 > > This should do it. Remember that ethernet broadcasts will not be passed through > the FreeBSD box. If you need that, don't set the proxyall and fowarding > sysctls, but use dummynet on the FreeBSD box. > > With Windows NT you will want to hard configure your WINS server. > > -Guido > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message -- Guido van Rooij | guido@gvr.org Herman heijermanslaan 21 | Phone: ++31.40.2127794 5644 TG Eindhoven | The Netherlands | FreeBSD ex-core-team member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message