diff options
author | Jens Elkner <jel+git@iks.cs.uni-magdeburg.de> | 2022-01-29 09:32:04 +0100 |
---|---|---|
committer | Tomek Mrugalski <tomek@isc.org> | 2022-03-04 09:39:00 +0000 |
commit | 57913f7f7fc24b66372a5e144ce4a028fea5c61c (patch) | |
tree | 82f97debd9887657f530c5464e482a2769ef70f9 /relay/dhcrelay.8 | |
parent | 726912a1c955d15af11acdc9c190b24355ad3441 (diff) | |
download | isc-dhcp-57913f7f7fc24b66372a5e144ce4a028fea5c61c.tar.gz |
dhcrelay: option to force giaddr
Use option -g ipaddr to replace the giaddr sent to clients with
the given ipaddr to workaround bogus clients like Solaris 11 grub
which use giaddr instead of the announced router (3) to setup its
default route.
Diffstat (limited to 'relay/dhcrelay.8')
-rw-r--r-- | relay/dhcrelay.8 | 10 |
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 |