From owner-freebsd-emulation Mon Jul 31 14:52:17 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from baynet.baynetworks.com (ns1.BayNetworks.COM [134.177.3.20]) by hub.freebsd.org (Postfix) with ESMTP id 15BC937BD22 for ; Mon, 31 Jul 2000 14:52:14 -0700 (PDT) (envelope-from bwithrow@BayNetworks.COM) Received: from mailhost.BayNetworks.COM (h8754.s84f5.BayNetworks.COM [132.245.135.84]) by baynet.baynetworks.com (8.9.1/8.9.1) with ESMTP id OAA22531 for ; Mon, 31 Jul 2000 14:50:40 -0700 (PDT) Received: from pobox.engeast.BayNetworks.COM (pobox.engeast.baynetworks.com [192.32.61.6]) by mailhost.BayNetworks.COM (8.9.1/8.8.8) with ESMTP id RAA16666 for ; Mon, 31 Jul 2000 17:52:11 -0400 (EDT) Received: from baynetworks.com (kyzyl [192.32.150.103]) by pobox.engeast.BayNetworks.COM (SMI-8.6/BNET-97/04/24-S) with ESMTP id RAA03118; Mon, 31 Jul 2000 17:52:10 -0400 for Message-Id: <200007312152.RAA03118@pobox.engeast.BayNetworks.COM> X-Mailer: exmh version 2.1.1 10/15/1999 To: freebsd-emulation@freebsd.org Cc: bwithrow@engeast.BayNetworks.COM Subject: Host-only networking and NAT? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 31 Jul 2000 17:52:10 -0400 From: Robert Withrow Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Suppose you want to run VMWARE on your FreeBSD 4.0 system and have it "share" your system's IP address. Or suppose you want to have VMWARE use a static address on the same lan as your FBSD system, but you can't use bridged networking (because FBSD4.0 doesn't support it.) Seems like you should be able to use NAT for this, right? But I've followed the instructions: - Re-build the ipfw module with -DIPDIVERT - Turned on forwarding - Config IPFW with: /sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via xl0 /sbin/ipfw add pass all from any to any - Start natd with the -n xl0 option. And *no* traffic moves, not even normal xl0 traffic destined to adjacent nodes. If I delete the divert rule, traffic starts moving again (but, of course, no nat happens). It seems like this should work somehow, but I'm obviously confused. Does anyone do this sort of thing with VMWare? -- Robert Withrow -- (+1 978 288 8256) BWithrow@BayNetworks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message