From owner-freebsd-questions Tue Mar 14 14:15:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.utexas.edu (wb1-a.mail.utexas.edu [128.83.126.134]) by hub.freebsd.org (Postfix) with SMTP id 3C76237B7A2 for ; Tue, 14 Mar 2000 14:15:30 -0800 (PST) (envelope-from oscars@mail.utexas.edu) Received: (qmail 17781 invoked by uid 0); 14 Mar 2000 22:15:27 -0000 Received: from chepe.cc.utexas.edu (HELO chepe) (128.83.135.25) by umbs-smtp-1 with SMTP; 14 Mar 2000 22:15:27 -0000 Message-Id: <4.2.2.20000314160835.00a75b90@mail.utexas.edu> X-Sender: oscars@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 14 Mar 2000 16:14:28 -0600 To: questions@freebsd.org From: Oscar Ricardo Silva Subject: Re: how to test health of dhcp server on FreeBSD 3.4? In-Reply-To: References: <4.2.2.20000313174650.00a388f0@mail.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After trying to "wade" through the dhclient-script file, I'm throwing my hands in the air and going with the way we were doing this. Basically, in order to test the health of a dhcp server, to see if it was serving addresses, a dhcp request was made from the machine and then when a response was received, the ethernet interface was reset with the static address. One question is that our last dhcp server was running Red Hat Linux 6.0 and the command to reset the interface back to a static was: /etc/rc.d/init.d/network restart I'm not sure how to do this in FreeBSD 3.4. Any suggestions/ideas? Oscar "Don't believe the hype" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message