From owner-freebsd-questions Tue Jul 14 06:51:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA04913 for freebsd-questions-outgoing; Tue, 14 Jul 1998 06:51:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hotpoint.dcs.qmw.ac.uk (hotpoint.dcs.qmw.ac.uk [138.37.88.162]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA04908 for ; Tue, 14 Jul 1998 06:51:02 -0700 (PDT) (envelope-from scott@dcs.qmw.ac.uk) Received: from brunos-sun.dcs.qmw.ac.uk [138.37.88.185]; by hotpoint.dcs.qmw.ac.uk (8.8.7/8.8.5/S-4.0) with SMTP; id OAA21409; Tue, 14 Jul 1998 14:50:50 +0100 (BST) Received: locally by brunos-sun (SMI-8.6/QMW-client-3.2b); poster "scott"; id OAA02060; Tue, 14 Jul 1998 14:44:58 +0100 Message-ID: <19980714144457.C1993@dcs.qmw.ac.uk> Date: Tue, 14 Jul 1998 14:44:57 +0100 From: Scott Mitchell To: The Mad Maniac , freebsd-questions@FreeBSD.ORG Subject: Re: gateway="yes" and what else? References: <35AB4DBD.66C39205@infothuis.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <35AB4DBD.66C39205@infothuis.nl>; from The Mad Maniac on Tue, Jul 14, 1998 at 02:23:25PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? You probably don't need routed for your particular network setup -- static routing will be fine. 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...) Scott -- =========================================================================== Scott Mitchell | PGP Key ID |"If I can't have my coffee, I'm just | 0x54B171B9 | like a dried up piece of roast goat" QMW College, London, UK | 0xAA775B8B | -- J. S. Bach. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message