From owner-freebsd-questions Wed Jan 28 12:27:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12091 for questions-outgoing; Wed, 28 Jan 1998 12:27:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12076 for ; Wed, 28 Jan 1998 12:27:09 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id MAA18467; Wed, 28 Jan 1998 12:27:02 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 28 Jan 1998 12:27:02 -0800 (PST) From: Doug White Reply-To: Doug White To: Allan Strand cc: freebsd-questions@FreeBSD.ORG Subject: Re: IP Masquerading, NAT, etc In-Reply-To: <861zxvm5ur.fsf@linum.cofc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On 26 Jan 1998, Allan Strand wrote: > I have two machines. Both run FreeBSD 2.2.5. One is a desktop that is > hard wired into the outside network via the ed0 interface. The other > is a laptop that I currently use via user-mode ppp over a modem at > home. My ISP (my employer) provides me with a dynamically assigned IP > address every time I log on to the network via the phone. The laptop > does not have a "real" IP address as of yet. When I bring my laptop > to work, I'd like to communicate with the rest of the outside world > via a serial connection. I think I can do this by using the desktop > machine as a gateway that implements NAT between the ed0 interface and > some serial interface. OK. > ed0 serial > outside world <===> desktop machine <======> laptop > > My questions are: > > 1) Am I right in thinking that this is possible Yes, but why not buy an Ethernet card for the laptop and plug it straight into the network? :-) Is this an old laptop w/o PCCARD slots? 3c589 cards are ~$100 if you get them from the right place (but go fast -- the 3c574's will probably supplant them). If you can dial into the desktop already, it's a matter of running ppp on a different serial port and using a null modem cable between the laptop and desktop. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major