summaryrefslogtreecommitdiff
path: root/relay/dhcrelay.8
diff options
context:
space:
mode:
Diffstat (limited to 'relay/dhcrelay.8')
-rw-r--r--relay/dhcrelay.810
1 files changed, 10 insertions, 0 deletions
diff --git a/relay/dhcrelay.8 b/relay/dhcrelay.8
index b7183f9a..9667e608 100644
--- a/relay/dhcrelay.8
+++ b/relay/dhcrelay.8
@@ -103,6 +103,10 @@ dhcrelay - Dynamic Host Configuration Protocol Relay Agent
.B -U
.I interface
]
+[
+.B -g
+.I ipaddr
+]
.I server0
[
.I ...serverN
@@ -234,6 +238,12 @@ Information options that indicate they were generated in response to
a query that came via a different relay agent. If this option is not
specified, such packets will be relayed anyway.
.TP
+-g \fIipaddr\fR
+When a package gets sent back to the client, replace the gateway's IP
+address (giaddr) with the given \fIipaddr\fR. This can be used as a
+workaround for bogus clients like Solaris 11 grub, which use the giaddr
+instead of the announced router (3) to setup its default route.
+.TP
-i \fIifname\fR
Listen for DHCPv4/BOOTP traffic on interface \fIifname\fR. Multiple
interfaces may be specified by using more than one \fB-i\fR option. If