Network Working Group C. Perkins
Request for Comments: 2610 E. Guttman
Category: Standards Track Sun Microsystems
June 1999
DHCP Options for Service Location Protocol
1. Introduction
The Dynamic Host Configuration Protocol [2] provides a framework for passing configuration information to hosts on a TCP/IP network. Entities using the Service Location Protocol, Version 2 [3] and Service Location Protocol, Version 1 [4] need to obtain the address of Directory Agents and Scope configuration. The Service Location Protocol (SLP) provides a default configuration for Scopes and Directory Agents may be discovered using multicast or broadcast. It is useful in a larger deployment to be able to configure SLP Agents using DHCP, so as to centralize the administration and to deploy SLP in networks where multicast routing is not available.
Perkins & Guttman Standards Track [Page 1]
RFC 2610 DHCP Options for Service Location Protocol June 1999 2. IntroductionThe DHCP options described below are used to configure Agents using the Service Location Protocol, Version 2 [3] and Version 1 [4].
3. SLP Directory Agent Option
This option specifies the location of one or more SLP Directory Agents.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Code = 78 | Length | Mandatory | a1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| a2 | a3 | a4 | ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The SLP Directory Agent Option specifies a list of IP addresses for Directory Agents. Directory Agents MUST be listed in order of preference, if there is an order of preference.
Perkins & Guttman Standards Track [Page 2]
RFC 2610 DHCP Options for Service Location Protocol June 1999 4. SLP Service Scope OptionThe scope list is a comma delimited list which indicates the scopes that a SLP Agent is configured to use.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Code = 79 | Length | Mandatory | <Scope List>...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The Length indicates the number of bytes which follow. Since the Scope-List String is encoded using UTF-8 [5] characters, it may be the cast that the Length is not the same as the number of characters in the Scope-List String. The Length value must include one for the 'Mandatory' byte.
4.1. Zero Length Scope-List String Configuration
A SLP Service Scope Option which indicates a Length of 1 (in other words, omitting the <Scope List> string entirely) validly configures the SLP User Agent to use "User Selectable Scopes."
Perkins & Guttman Standards Track [Page 3]
RFC 2610 DHCP Options for Service Location Protocol June 1999 5. Security ConsiderationsIf a malicious host is able to insert fraudulent information in DHCPOFFER packets sent to a prospective SLP Agent then the SLP Agent will be unable to obtain service, or may unwittingly be directed to use the incorrect services.
Perkins & Guttman Standards Track [Page 4]
RFC 2610 DHCP Options for Service Location Protocol June 1999
Authors' Addresses
Perkins & Guttman Standards Track [Page 5]
RFC 2610 DHCP Options for Service Location Protocol June 1999
Full Copyright Statement