diff options
author | Shawn Routhier <sar@isc.org> | 2013-11-25 21:00:41 -0800 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2013-11-25 21:00:41 -0800 |
commit | 619304cd878299078b5dde9ad0fe30c3a7592026 (patch) | |
tree | 610293de37d4323a820b284dbbd3fece27fde1b3 /common/dhcp-options.5 | |
parent | 0895c955d16a957107771e442397c6260d92cbc2 (diff) | |
download | isc-dhcp-619304cd878299078b5dde9ad0fe30c3a7592026.tar.gz |
[master] Support using v6 relay options in server decicions.
Diffstat (limited to 'common/dhcp-options.5')
-rw-r--r-- | common/dhcp-options.5 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/common/dhcp-options.5 b/common/dhcp-options.5 index f57fd731..7dee4117 100644 --- a/common/dhcp-options.5 +++ b/common/dhcp-options.5 @@ -1712,6 +1712,22 @@ The \fBlq-relay-data\fR option is used internally by for lease query. .PP The \fBlq-client-link\fR option is used internally by for lease query. .RE +.SH ACCESSING DHCPV6 RELAY OPTIONS +.PP +.B v6relay (\fBrelay-number\f, \fBoption\f) +This option allows access to an option that has been added to a packet +by a relay agent. Relay-number value selects the relay to examine +and option is the option to find. In DHCPv6 each relay encapsulates +the entire previous message into an option, adds its own options (if +any) and sends the result onwards. The RFC specifies a limit of 32 +hops. A relay-number of 0 is a no-op and means don't look at the relays. +1 is the relay that is closest to the client, 2 would be the next in +from the client and so on. Any value greater than the max number of hops +is which is closest to the server independent of number. To use this +option in a class statement you would have something like this: +.PP +match if v6relay(1, option dhcp6.subscriber-id) = "client_1"; +.RE .PP .RE .SH DEFINING NEW OPTIONS |