From owner-freebsd-questions Tue Feb 1 0:16:45 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 5227A3D46 for ; Tue, 1 Feb 2000 00:16:42 -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 VAA26603; Mon, 31 Jan 2000 21:00:37 -0500 (EST) Received: from dean.pc.sas.com by mozart (5.65c/SAS/Domains/5-6-90) id AA17309; Mon, 31 Jan 2000 21:00:07 -0500 Received: (from brdean@localhost) by dean.pc.sas.com (8.9.3/8.9.1) id VAA27171; Mon, 31 Jan 2000 21:00:06 -0500 (EST) (envelope-from brdean) From: Brian Dean Message-Id: <200002010200.VAA27171@dean.pc.sas.com> Subject: Re: DHCP routing..... In-Reply-To: <389524A4.D8815C85@ds.net> from "James A. Mutter" at "Jan 31, 2000 00:59:00 am" To: jmutter@ds.net Date: Mon, 31 Jan 2000 21:00:06 -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 Or ... you could set up your dhcpd.conf file to recognize each system by it's hardware address and set up a separate entry for each machine so that it always gets a specific IP address. For example: 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. -Brian James A. Mutter wrote: > The latest and greatest versions of BIND (Still BETA if I recall) have > support for dynamic DNS - this may or may not be a solution that you're > willing to work with. If that's not an acceptable solution you can just > hardcode the host/network info at each machine - after all it is only 4. > > > William Woods wrote: > > > > I have 4 systems, all get their ip's from a dhcp server. They all have > > "hostnames". is it possible to telnet/ping by hostname when useing dhcp? if so, > > how? I cant use a hosts table because the ip changes.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message