From owner-freebsd-questions Tue Feb 1 0:16:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lamb.sas.com (lamb.sas.com [192.35.83.8]) by builder.freebsd.org (Postfix) with ESMTP id C8ABA3D2E for ; Tue, 1 Feb 2000 00:16:37 -0800 (PST) Received: from mozart (mozart.unx.sas.com [192.58.184.28]) by lamb.sas.com (8.9.3/8.9.1) with SMTP id VAA27135; Mon, 31 Jan 2000 21:24:52 -0500 (EST) Received: from dean.pc.sas.com by mozart (5.65c/SAS/Domains/5-6-90) id AA18103; Mon, 31 Jan 2000 21:24:21 -0500 Received: (from brdean@localhost) by dean.pc.sas.com (8.9.3/8.9.1) id VAA43074; Mon, 31 Jan 2000 21:24:21 -0500 (EST) (envelope-from brdean) From: Brian Dean Message-Id: <200002010224.VAA43074@dean.pc.sas.com> Subject: Re: DHCP routing..... In-Reply-To: <38963FED.65FDAC13@ds.net> from "James A. Mutter" at "Jan 31, 2000 09:07:41 pm" To: jmutter@ds.net Date: Mon, 31 Jan 2000 21:24:21 -0500 (EST) Cc: William Woods , freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG James A. Mutter wrote: > Brian Dean wrote: > > host nebula { > > hardware ethernet 00:50:e4:ba:1c:22; > > fixed-address nebula; > > option routers 192.168.220.1; > > option domain-name-servers 207.69.188.185, 207.69.188.186, 207.69.188.187; > > option domain-name "foo.com"; > > default-lease-time 604800; > > max-lease-time 2592000; > > } > > > > In this case "nebula" is an entry in the /etc/hosts file. You can > > then install that host file on your 4 hosts. Since it's only 4 hosts, > > it's not too much to keep track of and maintain. Not as elegant as > > the BIND method, but it works for small installations. > > > > I had considered adding that as a solution - but if he's just testing > this idea for a larger installation then it quickly becomes > impractical. If you're going to go to the trouble of adding all that > information on a per host basis you might as well just set them up > manually. :/ > > If there's really a practical reason (And I'm sure that there is) to do > that I'd love to hear about it. Well, he did say that it was only 4 hosts ... It only becomes a maintenance chore if you are often adding new hosts. For a small "home network" or small office, say 10 systems or less, this is practical and I know quite a few folks who do this, myself included. Also, I don't think that all the information needs to be repeated. The stuff that stays the same across hosts can be defined as global parameters. Then, only the "hardware ethernet" and "fixed-address" lines need to be repeated for each host. But you are correct, for anything larger this becomes impractical due to keeping track of all the ethernect address associations with IP addresses, though host file replication can be solved easily with NIS. -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message