diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-01 17:07:04 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-01 17:07:04 +0000 |
commit | 96cc71db7208ba0a9308325c4bddb3f1962c7f76 (patch) | |
tree | 8782a72d6f57112741b57000a4014c5c373f46af /usr.sbin/bootpd/bootptest.8 | |
parent | 26c8825f1ec210bd98ef227f2dadc7fb73fdfeb5 (diff) |
new mdoc'd bootpef(8), bootptest(8), vttest(1) man pages; kwesterback@home.com
also repairs to mdoc.samples(7) and tcpdump(8)
Diffstat (limited to 'usr.sbin/bootpd/bootptest.8')
-rw-r--r-- | usr.sbin/bootpd/bootptest.8 | 91 |
1 files changed, 41 insertions, 50 deletions
diff --git a/usr.sbin/bootpd/bootptest.8 b/usr.sbin/bootpd/bootptest.8 index 4a142e90d1b..9950ed0a21c 100644 --- a/usr.sbin/bootpd/bootptest.8 +++ b/usr.sbin/bootpd/bootptest.8 @@ -1,72 +1,63 @@ .\" bootptest.8 -.TH BOOTPTEST 8 "10 June 1993" "MAINTENANCE COMMANDS" -.SH NAME -bootptest \- send BOOTP queries and print responses -.SH SYNOPSIS -.LP -.B bootptest -[ -.B \-f -.I bootfile -] -[ -.B \-h -] -[ -.B \-m -.I magic_number -] -.I server\-name -.RI [ template-file ] -.SH DESCRIPTION -.B bootptest +.Dd 12 June, 1999 +.Os +.Dt BOOTPTEST 8 +.Sh NAME +.Nm bootptest +.Nd send BOOTP queries and print responses +.Sh SYNOPSIS +.Nm bootptest +.Op Fl f Ar bootfile +.Op Fl h +.Op Fl m Ar magic_number +.Ar server-name +.Op Ar template-file +.Sh DESCRIPTION +.Nm sends BOOTP requests to the host specified as -.I server\-name -at one\-second intervals until either a response is received, +.Ar server-name +at one-second intervals until either a response is received, or until ten requests have gone unanswered. After a response is received, -.B bootptest +.Nm will wait one more second listening for additional responses. -.SH OPTIONS -.TP -.BI \-f \ bootfile +.Sh OPTIONS +.Bl -tag -width "-m magic_number" +.It Fl f Ar bootfile Fill in the boot file field of the request with -.IR bootfile . -.TP -.B \-h +.Ar bootfile . +.It Fl h Use the hardware (Ethernet) address to identify the client. By default, the IP address is copied into the request indicating that this client already knows its IP address. -.TP -.BI \-m \ magic_number +.It Fl m Ar magic_number Initialize the first word of the vendor options field with -.IR magic_number . -.LP +.Ar magic_number . +.El +.Pp A -.I template-file +.Ar template-file may be specified, in which case -.B bootptest +.Nm uses the (binary) contents of this file to initialize the -.I options +.Fa options area of the request packet. -.SH CREDITS -.LP +.Sh CREDITS The bootptest program is a combination of original and derived works. The main program module (bootptest.c) is original work by Gordon W. Ross <gwr@mc.com>. The packet printing module (print-bootp.c) is a slightly modified version of a file from the BSD tcpdump program. -.LP +.Pp This program includes software developed by the University of California, Lawrence Berkeley Laboratory and its contributors. (See the copyright notice in print-bootp.c) -.SH "SEE ALSO" -.LP -bootpd(8) -.SH REFERENCES -.TP -RFC951 -BOOTSTRAP PROTOCOL (BOOTP) -.TP -RFC1048 -BOOTP Vendor Information Extensions +.Sh SEE ALSO +.Xr bootpd 8 +.Pp +.Bl -tag -width "RFC 2132" -compact +.It Tn RFC 951 +Bootstrap Protocol (BOOTP) +.It RFC 2132 +DHCP Options and BOOTP Vendor Extensions +.El |