From owner-freebsd-questions Tue Jul 14 07:07:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07099 for freebsd-questions-outgoing; Tue, 14 Jul 1998 07:07:38 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from www.infothuis.nl (www.infothuis.nl [195.96.98.232]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07093 for ; Tue, 14 Jul 1998 07:07:35 -0700 (PDT) (envelope-from floris@infothuis.nl) Received: from pc-14 (proxy.infothuis.nl [195.96.98.243]) by www.infothuis.nl (Netscape Mail Server v2.0) with ESMTP id AAA320 for ; Tue, 14 Jul 1998 16:07:40 +0200 Message-ID: <35AB66B8.DCC239A5@infothuis.nl> Date: Tue, 14 Jul 1998 16:10:00 +0200 From: The Mad Maniac Organization: InfoThuis BV X-Mailer: Mozilla 4.01 [en] (WinNT; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: gateway="yes" and what else? X-Priority: 3 (Normal) References: <35AB4DBD.66C39205@infothuis.nl> <19980714144457.C1993@dcs.qmw.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Scott Mitchell wrote: > > On Tue, Jul 14, 1998 at 02:23:25PM +0200, The Mad Maniac wrote: > > hello, > > > > i just figured out how to run named for a local network, enabling every > > computer on the lan to use names (local names and inet names). > > this works quite well. > > > > However, when i ping from a client to the gateway machine (also the > > named server) the ping get's it's name ok, but then there is no route to > > host. So i guess the gateway isn't really working ok. However, i did set > > gateway="yes" and routed="yes" in rc.conf. For the rest one can assume i > > didn't change anything (besides changes needed for named) > > > > since i usually babble random, here some drawing to clarify what i want > > :) > > > > client(lan) -> freebsd-machine(gateway) -> inet > > > > the freebsd machine can 'talk' to the inet, and to the client, the > > client doesn't get any farther than the freebsd-machine. > > > > Could someone tell me what i forgot to do? > > Did you tell all your client machines to use the FreeBSD box as their > default gateway? Can you ping the clients from the gateway? yes to both :) > You probably don't need routed for your particular network setup -- static > routing will be fine. ok. It sounded important :) > Also make sure you're using some kind of IP aliasing > on the gateway box so your local IP numbers don't leak out into the > Internet (unless they are real, officially assigned numbers...) Well, they aren't. I use ip 192.168.0.x for the local network. The gateway has an ip assigned by an ISP (modem using ppp), and also a 192.168.0.x ip for the local network. How would i use ip aliasing? (if it's in some man page, just tell me which one, since it's not under aliasing, ip-aliasing or gateway) FlorizzzZz ********************* * When all is done, * * the next is ahead * ********************* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message