Date: Tue, 14 Mar 2000 19:42:03 -0800 (PST) From: Doug Barton <Doug@gorean.org> To: Oscar Ricardo Silva <oscars@mail.utexas.edu> Cc: questions@freebsd.org Subject: Re: how to test health of dhcp server on FreeBSD 3.4? Message-ID: <Pine.BSF.4.21.0003141940460.94785-100000@dt051n0b.san.rr.com> In-Reply-To: <4.2.2.20000314160835.00a75b90@mail.utexas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Mar 2000, Oscar Ricardo Silva wrote:
> 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?
man ifconfig, assuming all you want to do is change the
interface. If your dhcp test is doing more than that, you should cruise
through /etc/rc.network and see how it's done.
Good luck,
Doug
--
"Welcome to the desert of the real."
- Laurence Fishburne as Morpheus, "The Matrix"
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003141940460.94785-100000>
