Date: Mon, 4 Oct 1999 15:39:05 +0200 From: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> To: Danny LaPrade <dsl@ipass.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: network with single Modem Message-ID: <19991004153905.C63946@daemon.ninth-circle.org> In-Reply-To: <37F8A55B.207F4CA@ipass.net> References: <37F8A55B.207F4CA@ipass.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On [19991004 15:11], Danny LaPrade (dsl@ipass.net) wrote: > >Situation: > Client Machine is RedHat, I will call machine C. > Server Machine is FreeBSD3.3, I will call machine S > C has default gateway set to S. > C and S have hosts file containing information about each other. > C can ping S and vice versus. > S can ping www.freebsd.org (it has auto dial modem configured). > And yes, when S dials modem it adds the IP given by ISP as default. > S machine has rc.conf w/ gateway_enable="YES" and >router_enable="YES" > >Question: > Why can't the C machine use S machine as gateway to the outside >world? > What am I missing? Simple. You need NAT. Basically the host you try to ping does not know the way back to your host C. To do that you need to network address translate between C and the outside world. Since the above tends to to believe you use ppp, you will be interested into the -nat (former -alias) flag to enable NAT with ppp. Also, natd(8) might be of interest/help to you. HTH, -- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai> Network/Security Specialist BSD: Technical excellence at its best All art is but imitation of Nature... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991004153905.C63946>