From owner-freebsd-questions Sun Jan 11 23:23:12 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA09991 for questions-outgoing; Sun, 11 Jan 1998 23:23:12 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gilberto.physik.RWTH-Aachen.DE (gilberto.physik.rwth-aachen.de [137.226.30.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA09982 for ; Sun, 11 Jan 1998 23:23:08 -0800 (PST) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: (from kuku@localhost) by gilberto.physik.RWTH-Aachen.DE (8.8.7/8.8.7) id IAA17942; Mon, 12 Jan 1998 08:24:40 GMT (envelope-from kuku) Message-ID: <19980112082439.43153@gil.physik.rwth-aachen.de> Date: Mon, 12 Jan 1998 08:24:39 +0000 From: Christoph Kukulies To: Doug White Cc: Christoph Kukulies , freebsd-questions@freefall.FreeBSD.org Subject: Re: dhcps Q: References: <199801111631.QAA15198@gilberto.physik.RWTH-Aachen.DE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: ; from Doug White on Sun, Jan 11, 1998 at 07:53:52PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, Jan 11, 1998 at 07:53:52PM -0800, Doug White wrote: > On Sun, 11 Jan 1998, Christoph Kukulies wrote: > > > > > dhcps[17050]: Assign 192.168.0.12 to the client(cid is "1:0x0080c88428ab:192.168 > > .0.0") till "Thu Jan 1 00:59:59 1970". > > > > Just a question: Is that a configuration problem or just the > > value that is taken to indicate eternity in unix ? > > > > Jan 1 1970 at midnight is the UNIX epoch. How did the client configure > itself, using BOOTP, or do you give infinite leases? I chose manual allocation in /etc/dhcpdb.pool (BTW, there seems to be a discrepancy between the dhcps man page and the port. Some files go into /etc some in /var while the man page says in BSD os's this is /var/db/dhcbdb.xxx) /etc/dhcps.pool: # define a global entry which specifies the stuff every host uses. global:!snmk=255.255.255.0:tmof=32400: # define different master entries for each subnet. . . # `dnsv' is IP address of DNS server. # `dnsd' is domain name of your domain. subnet0:tblc=global:rout=192.168.0.1:dht1=500:dht2=850:\ :brda=192.168.0.255:dnsv=192.168.0.1:dnsd=physik.rwth-aachen.de: # entries for manual allocation (DHCP, BOOTP) 3001: :ipad=192.168.0.12:hstn="lebook.kuku.de":tblc=subnet0:clid="1:0x0080c88428ab": And the .relay file: 192.168.0.1 192.168.0.0 that's all I configured. > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de