From owner-freebsd-questions Wed Sep 30 03:48:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11126 for freebsd-questions-outgoing; Wed, 30 Sep 1998 03:48:39 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.cityip.co.za (ns.cityip.co.za [196.25.223.140]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA11111 for ; Wed, 30 Sep 1998 03:48:21 -0700 (PDT) (envelope-from wjv@cityip.co.za) Received: from wjv by ns.cityip.co.za with local (Exim 1.82 #2) id 0zOJlW-0007T1-00; Wed, 30 Sep 1998 12:45:50 +0200 Message-ID: <19980930124550.A28691@cityip.co.za> Date: Wed, 30 Sep 1998 12:45:50 +0200 From: Johann Visagie To: Craig Beasland , freebsd-questions@FreeBSD.ORG Subject: Re: IP Aliasing Mail-Followup-To: Craig Beasland , freebsd-questions@FreeBSD.ORG References: <001d01bdec5c$37313500$0a1e21cb@superbruce.hotmix.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <001d01bdec5c$37313500$0a1e21cb@superbruce.hotmix.com.au>; from Craig Beasland on Wed, Sep 30, 1998 at 06:24:03PM +0800 X-PGP: ftp://ftp.cityip.co.za/users/wjv/pubkey.asc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 30 Sep 1998 at 18:24 SAT, Craig Beasland wrote: > > I have a machine which is permanently connected to the net via a valid IP > address. I would like to set up a second machine which is connected via > Ethernet to the first machine which does aliasing for a number of machines > with IP's in the non-routable tables 10.10.10.*. I know with a dial up > connection and ppp, I can ppp -alias. > > My question is > 1) can I do a similar thing to ppp -alias using ethernet (IPFW & NATD) Indeed you can. The natd(8) man page should answer most of your questions. > 2) would it be easier to connect the two machines via a serial cable and use > ppp. Serial cable would be cheaper. Ethernet wins in all the other categories, e.g.: - faster - more flexible "masquerading" via natd - "it just feels right" :) Once you know ipfw & natd, I would even say it's easier than struggling with PPP. And even if you go the PPP route, I would still advise you to set up ipfw on the permanently connected box to protect it. -- V Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message