Internet Engineering Task Force Glenn Stump, IBM INTERNET DRAFT Ralph Droms, Bucknell University Date: February 2000 Ye Gu, Ramesh Vyaghrapuri, Expires: July 2000 Ann Demirtjis, Microsoft Burcak Beser, 3Com Jerome Privat, BT The User Class Option for DHCP <draft-ietf-dhc-userclass-05.txt> Status of this Memo The document is an Internet-Draft and is in full conformance with all of the provisions of Section 10 of RFC 2026. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Intenet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. Abstract This option is used by a DHCP client to optionally identify the type or category of user or applications it represents. The information contained in this option is an opaque field that represents the user class of which the client is a member. Based on this class, a DHCP server selects the appropriate address pool to assign an address to the client and the appropriate configuration parameters. This option should be configurable by a user. 1. Introduction It is often desirable to provide different levels of service to different users of an IP network. In order for an IP network to implement this service differentiation, it needs a way to classify users. A simple solution to this is to use source IP addresses for classification. Under this scheme, network administrators first configure network devices such as routers to recognize traffic from a particular source IP address (or address range) and handle it specially to meet the desired level of service. Next, they assign the IP addresses to the hosts of the intended users so that the user will receive the appropriate level of service. They can configure the hosts manually with these addresses. However, they cannot use DHCP for address assignment, even if they are already running a DHCP server in their network. A current RFC-compliant DHCP server assigns IP addresses based on the location of the DHCP Client in the network topology, not the type of user it supports. This document describes a simple extension of the DHCP protocol that enables a DHCP server to assign IP addresses from different address pools depending on the type of users from which it receives DHCP requests. With this new extension, network administrators will be able to use DHCP to hand out the appropriate addresses to clients. An example intended usage is a corporate network subnet consisting of different departments of users, such as Accounting, Legal, Staff, etc. It may be desirable to allocate logical address pools to each of the departments so that network policies may be implemented easily on IP address ranges; and this would facilitate providing differential services, such as network reachibility. A DHCP server can also use the information contained in the User Class to allocate other configuration parameters than the IP address. For example, a DHCP server receiving a request from a client with the User Class set to "accounting auditors" may return an option with the address of a particular database server. Indeed a DHCP server may have a single pool of addresses and only use the user class to select parameters other than IP addresses. Note: This document combines ideas from draft-ietf-dhc-userclass-03.txt and draft-ietf-dhc-useraddr-00.txt. It has been published as a revision to draft-ietf-dhc-userclass-03.txt. 2. Requirements Terminology The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY" and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 . 3. DHCP Terminology o "DHCP client" A DHCP client or "client" is an Internet host using DHCP to obtain configuration parameters such as a network address. o "DHCP server" A DHCP server of "server"is an Internet host that returns configuration parameters to DHCP clients. o "binding" A binding is a collection of configuration parameters, including at least an IP address, associated with or "bound to" a DHCP client. Bindings are managed by DHCP servers. 4. User Class option This option is used by a DHCP client to optionally identify the type or category of user or applications it represents. A DHCP server uses the User Class option to choose the address pool it allocates an address from and/or to select any other configuration option. This option is a DHCP option [1, 2]. This option MAY carry multiple User Classes. The code for this option is TBD. Each User Class value is indicated in an opaque field and is preceded by a one-byte field giving its length. If i is the number of User Classes carried in the option, its total length N is equal to i + sum(Li). Code Len Len1 Len2 +-----+-----+-----+----------+-----+--------------+---- | TBD | N | L1 | class 1 | L2 | class 2 |... +-----+-----+-----+----------+-----+--------------+---- Servers not equipped to interpret the user class specified by a client MUST ignore it (although it may be reported). DHCP clients implementing this option SHOULD allow users to enter their User Class. 5. Security Considerations DHCP currently provides no authentication or security mechanisms. Potential exposures to attack are discussed is section 7 of the protocol specification . 6. References  Droms, R., "Dynamic Host Configuration Protocol", RFC 2131, March 1997.  S. Alexander, R. Droms, "DHCP Options and BOOTP Vendor Extensions", RFC 2132, March 1997.  Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels," RFC 2119, March 1997. 7. Acknowledgments This document combines ideas from draft-ietf-dhc-userclass-03.txt (by Glenn Stump and Ralph Droms) and draft-ietf-dhc-useraddr-00.txt (by Ye Gu, Ramesh Vyaghrapuri and Burcak Beser). It has been published as a revision to draft-ietf-dhc-userclass-03.txt. 8. Author Information Glenn Stump IBM Networking Software P.O. Box 12195 RTP, NC 27709 Phone: (919) 301-4277 Email: email@example.com Ralph Droms Computer Science Department 323 Dana Engineering Bucknell University Lewisburg, PA 17837 Phone: (717) 524-1145 Email: firstname.lastname@example.org Ye Gu Microsoft Corporation One Microsoft Way Redmond, WA 98052 Phone: 425 936 8601 Email: email@example.com Ramesh Vyaghrapuri Microsoft Corporation One Microsoft Way Redmond, WA 98052 Phone: 425 703 9581 Email: firstname.lastname@example.org Burcak Beser 3Com Corporation 3800 Golf Road Rolling Meadows, IL Phone: 847 262 2195 Email: Burcak_Beser@3com.com Ann Demirtjis Microsoft Corporation One Microsoft Way Redmond WA 98052 Phone: 425-705-2254 Email: email@example.com Jerome Privat BT Advanced Communications Technology Centre Adastral Park, Martlesham Heath, IP5 3RE UK Phone: +44 1473 648910 Email: firstname.lastname@example.org 9. Expiration This document will expire on July 2000.