From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 07:40:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1F5316A41F for ; Fri, 9 Dec 2005 07:40:33 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A58D43D64 for ; Fri, 9 Dec 2005 07:40:28 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 9DD7E56423; Fri, 9 Dec 2005 20:40:26 +1300 (NZDT) Date: Fri, 9 Dec 2005 20:40:26 +1300 From: Jonathan Chen To: Dave Webster Message-ID: <20051209074026.GA33211@osiris.chen.org.nz> References: <1133930828.1092.9.camel@localhost> <20051208153846.H29033@wonkity.com> <1134111051.1067.13.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1134111051.1067.13.camel@localhost> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD questions Subject: Re: HP 4M plus network printer question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2005 07:40:34 -0000 On Thu, Dec 08, 2005 at 10:50:51PM -0800, Dave Webster wrote: [...] > Everthing's printing fine now. But I do have another question. I'm > using DHCP on the server to assign IP addresses to the hp printer, the > LAN FBSD and hopefully another LAN FBSD for my kids. How do you put the > IP addresses in /etc/hosts if they are assigned dynamically without > having to edit /etc/hosts evertime the lease assignment changes? You can configure your DHCP server to assign a particular IP address for a MAC address. If you're using the isc-dhcp server, this can be done the following entry in /usr/local/etc/dhcpd.conf: host hpprinter { hardware ethernet 00:12:23:56:78:9a; fixed-address 10.0.0.1; } You'll have put in the correct MAC and IP address. -- Jonathan Chen ---------------------------------------------------------------------- "If you wish your merit to be known, acknowledge that of other people"