Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 1998 12:27:02 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Allan Strand <astrand@linum.cofc.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: IP Masquerading, NAT, etc
Message-ID:  <Pine.BSF.3.96.980128122452.18405I-100000@gdi.uoregon.edu>
In-Reply-To: <861zxvm5ur.fsf@linum.cofc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980128122452.18405I-100000>