summaryrefslogtreecommitdiffstats
path: root/src/bin/dhcp4/dhcp4o6.dox
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2016-07-01 22:50:10 +0200
committerFrancis Dupont <fdupont@isc.org>2016-07-01 22:50:10 +0200
commit2ab5f9df65f1cbcde48eb92e807a5b25e15bf8fb (patch)
tree263940fe79a6c1761e9554cf0dd14d18744edcac /src/bin/dhcp4/dhcp4o6.dox
parent[4274] Addressed comments (diff)
downloadkea-2ab5f9df65f1cbcde48eb92e807a5b25e15bf8fb.tar.xz
kea-2ab5f9df65f1cbcde48eb92e807a5b25e15bf8fb.zip
[4274] Moved subnet selections
Diffstat (limited to 'src/bin/dhcp4/dhcp4o6.dox')
-rw-r--r--src/bin/dhcp4/dhcp4o6.dox59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/bin/dhcp4/dhcp4o6.dox b/src/bin/dhcp4/dhcp4o6.dox
index 8282ae499b..134a235615 100644
--- a/src/bin/dhcp4/dhcp4o6.dox
+++ b/src/bin/dhcp4/dhcp4o6.dox
@@ -59,63 +59,4 @@ remote address is set to the query one (which is in fact an IPv6 address).
In @ref isc::dhcp::Dhcpv4Srv::acceptDirectRequest @c Pkt4o6 queries are
accepted (they are considered as being relayed).
-@section dhcp4SubnetSelect DHCPv4 Subnet Selection
-
-@todo Move this to libdhcpsrv
-
-Selectors (i.e., members of @c SubnetSelector class) are:
-- incoming interface name
-- gateway address - giaddr field
-- client address - ciaddr field
-- local address
-- remote address
-- option select - from the first Relay Agent Link Selection suboption or
- from a Subnet Selection option
-- client classes - used to reject a matching rule and try next rules
-
-First use the option select, next if the message was relayed (not undefined
-gateway address) use the gateway address as a subnet relay address.
-
-If a subnet was not already selected choose an address between:
-
-- if the gateway address is not undefined the gateway address
-- if the client address is not undefined and the local address not the
- broadcast address (i.e., renew or rebind) the client address
-- if the remote address is not undefined and the local address not the
- broadcast address (i.e., renew or rebind) the remote address
-- at this point try the interface name as a subnet interface
-- if the interface name does not select a subnet choose the interface address
- (last resort)
-
-Match the chosen address in a subnet address range.
-
-@section dhcp4o6SubnetSelect DHCPv4-over-DHCPv6 Subnet Selection
-
-@todo Move this to libdhcpsrv
-
-Selectors (i.e., members of @c SubnetSelector class) are:
-- incoming interface name
-- gateway address - giaddr field (should be always undefined)
-- client address - ciaddr field
-- local address - set to the interface IPv4 address
-- remote address - IPv6 address
-- option select - from a Subnet Selection option
-- first relay link address - (IPv6) undefined or the first relay link
- address which is not undefined or link local (i.e., usable)
-- interface ID - (IPv6) when a relay message includes an interface ID
- relay option
-- client classes - used to reject a matching rule and try next rules
-
-Check if DHCPv4-over-DHCPv6 is enabled for this particulat subnet and
-continue with the next subnet is if it is not.
-
-First the remote address is matched in a subnet IPv6 range, second
-the interface ID if it is set is matched, third the interface name.
-
-These rules are applied for each subnet configuration so if two
-subnets match the first one is returned (vs. the first matching rule).
-
-@todo better DHCPv4-over-DHCPv6 selection, e.g., handle relayed
-messages and return best (vs first) match.
-
*/