Date: 26 Jan 1998 13:45:48 -0500 From: Allan Strand <astrand@linum.cofc.edu> To: freebsd-questions@FreeBSD.ORG Subject: IP Masquerading, NAT, etc Message-ID: <861zxvm5ur.fsf@linum.cofc.edu>
next in thread | raw e-mail | index | archive | help
Hi all,
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.
A simple diagram:
ed0 serial
outside world <===> desktop machine <======> laptop
My questions are:
1) Am I right in thinking that this is possible
2) If the answer to 1 is yes, what software should I use to achieve the
connection.
a) should I use ppp on both the laptop and desktop or
b) should I run natd on the desktop and use slip or ppp on the laptop,
or
c) is there some solution that is better (or actually works).
Any pointers or comments would be greatly appreciated.
Cheers,
A.
--
Allan E. Strand Internet: stranda@cofc.edu
Department of Biology Phone: (803) 953-8085
College of Charleston Fax: (803) 953-5453
Charleston, SC 29424
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861zxvm5ur.fsf>
