How to connect laptop and desktop w/NICs
jcm at FreeBSD-uk.eu.org
Sun Apr 13 12:30:36 PDT 2003
On Sun, Apr 13, 2003 at 12:04:12PM -0400, taxman wrote:
: On Sunday 13 April 2003 11:26 am, Wayne Pascoe wrote:
: > On Sun, Apr 13, 2003 at 01:13:55PM +0100, Jonathon McKitrick wrote:
: > > So far, so good. I can ping each machine from the other, and reset these
: > > settings on startup.
: > >
: > > However, the laptop (which I decided to make a client of the desktop, now
: > > that I have a modem for the desktop) cannot ping past the gateway. I
: > > have the default router set to the desktop, but something else must be
: > > wrong.
: > >
: > > Do I need to have inetd or natd running explicitly for this to work?
: > Do you have
: > gateway_enable="YES"
: > in /etc/rc.conf ? If not you need to add this.
: from rc.conf(5) it doesn't seem that gateway_enable starts natd. Then what is
: the difference?
: I'm a networking moron and in a similiar situation as Jonathon, and I was
: wondering which options to use.
>From what I have learned, and this may be the blind leading the blind, but
the gateway simply forwards packets that are not address for that machine
out to the net. However, natd seems to allow them to be received back as
well, since the IP address of the machine behind the gateway is privately
assigned and unknown outside that network.
Consulting: If you aren't part of the solution, there is
a lot of money to be made in prolonging the problem.
More information about the freebsd-questions