From owner-freebsd-questions Mon Nov 15 15:24:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (Postfix) with ESMTP id 5DEF315119 for ; Mon, 15 Nov 1999 15:24:08 -0800 (PST) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id PAA80893; Mon, 15 Nov 1999 15:15:25 -0800 (PST) Date: Mon, 15 Nov 1999 15:15:25 -0800 (PST) From: Annelise Anderson To: taohuang Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Somequesitons about net! In-Reply-To: <19991115181419.4457.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Nov 1999, taohuang wrote: > I have two computer one is run freebsd. And I only have one real ip. I want to connect the two computer to the internet. Then must I have three net card? And use natd? Can I use ip alias? Or how can I do for it! > > thanks > Please wrap your lines at 74 letters or so. You need three network cards, two in the machine that connects to the Internet and one in the other machine. You compile IPFW into the kernel and run natd on the machine connecting to the Internet. Alternatively, the machine connecting to the Internet can do so with a modem, if it's a phone-line connection; then you only need one nic in it, and you can use ppp -alias instead of natd. The natd man page is quite good on steps to take to do this. Annelise To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message