.B -d
]
[
+.B -q
+]
+[
.B -i
.I if0
[
.SH OPERATION
.PP
The DHCP Relay Agent listens for DHCP requests on all interfaces
-attached to a host, or only on those interfaces specified on the
+attached to a host, unless one or more interfaces are specified on the
command line with the
.I -i
-flag. When a query is received, it forwards it to the list of DHCP
+flag.
+.PP
+When a query is received, dhcrelay forwards it to the list of DHCP
servers specified on the command line. When a reply is received, it
is broadcast or unicast on the network from whence the original
request came.
flag may used. It should be followed by the udp port number that
dhcrelay should use. This is mostly useful for debugging purposes.
.PP
-Dhclient will normally run in the foreground until it has configured
+Dhcrelay will normally run in the foreground until it has configured
an interface, and then will revert to running in the background.
To run force dhcrelay to always run as a foreground process, the
.B -d
flag should be specified. This is useful when running dhcrelay under
a debugger, or when running it out of inittab on System V systems.
.PP
+Dhcrelay will normally print its network configuration on startup.
+This can be annoying in a system startup script - to disable this
+behaviour, specify the
+.I -q
+flag.
+.PP
The name of at least one DHCP server to which DHCP and BOOTP requests
should be relayed must be specified on the command line.
.PP
.SH SEE ALSO
-dhclient(8), dhcpd(8), dhcrelay.conf(5), dhcrelay.leases(5)
+dhclient(8), dhcpd(8), RFC2132, RFC2131.
.SH AUTHOR
.B dhcrelay(8)
has been written for the Internet Software Consortium