Date: Sun, 13 Apr 2003 14:29:38 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Jonathon McKitrick <jcm@FreeBSD-uk.eu.org> Cc: freebsd-questions@freebsd.org Subject: Re: How to connect laptop and desktop w/NICs Message-ID: <20030413132938.GA25131@happy-idiot-talk.infracaninophi> In-Reply-To: <20030413121355.GA96192@dogma.freebsd-uk.eu.org> References: <20030411121053.GA77709@dogma.freebsd-uk.eu.org> <3E96CEFE.4030605@potentialtech.com> <20030413121355.GA96192@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 13, 2003 at 01:13:55PM +0100, Jonathon McKitrick wrote: >=20 > So far, so good. I can ping each machine from the other, and reset these > settings on startup. >=20 > 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. >=20 > Do I need to have inetd or natd running explicitly for this to work? You don't need inetd(8) --- that's a completely different beast entirely. As for natd(8) --- you need some sort of NAT capability, assuming you don't have an internet netblock assigned to you. However, ppp(8) has a built in NAT capability, which is actually exactly the same code as used in natd(8) --- see libalias(3). Try putting: nat enable yes into your /etc/ppp/ppp.conf, or use '-nat' on the ppp command line. That should let you send packets from your laptop via your desktop out to the internet. See ppp(8) for a host of other NAT related options available in ppp(8). Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+mWZCdtESqEQa7a0RAnVuAJ9+ui9t/rtX7lROxzG95fLM0KLLdACfUbqH xSjeHVzM96t1s14OCQrUJmg= =sYJB -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030413132938.GA25131>