Download - DHCP Basics
![Page 1: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/1.jpg)
104/09/23 Lucent Technologies - Proprietary
DHCP – Managed Configuration of TCP/IP Hosts
![Page 2: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/2.jpg)
204/09/23 Lucent Technologies - Proprietary
Outline• DHCP purpose and goals
• Background and history of DHCP
• Case Study
• Operational details
• Using DHCP
![Page 3: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/3.jpg)
304/09/23 Lucent Technologies - Proprietary
Purpose of DHCPFrom RFC2131: The Dynamic Host Configuration Protocol (DHCP) provides a framework for passing configuration information to hosts on a TCP/IP network. DHCP consists of two components: a protocol for delivering host-specific configuration parameters from a DHCP server to a host and a mechanism for allocation of network addresses to hosts.
![Page 4: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/4.jpg)
404/09/23 Lucent Technologies - Proprietary
DHCP functional goals• A host without a valid IP address locates and
communicates with a DHCP server
• A DHCP server passes configuration parameters, including an IP address, to the host
• The DHCP server may dynamically allocate addresses to hosts and reuse addresses
![Page 5: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/5.jpg)
504/09/23 Lucent Technologies - Proprietary
DHCP functional goals• Hosts can detect when they require a new IP
address
• Unavailability of DHCP server has minimal effect on operation of hosts
![Page 6: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/6.jpg)
604/09/23 Lucent Technologies - Proprietary
What does DHCP do?• Provides protocol stack, application and
other configuration parameters to hosts
• Eliminates need for individual, manual configuration for hosts
• Includes administrative controls for network administrators
![Page 7: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/7.jpg)
704/09/23 Lucent Technologies - Proprietary
What does DHCP do?• Backward compatible packet format for
BOOTP interoperation (RFC 1542)
• Can coexist with hosts that have pre-assigned IP addresses and hosts that do not participate in DHCP
![Page 8: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/8.jpg)
804/09/23 Lucent Technologies - Proprietary
Design Goals• Eliminate manual configuration of hosts
• Prevent use of any IP address by more than one host
• Should not require a server on every subnet
• Allow for multiple servers
![Page 9: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/9.jpg)
904/09/23 Lucent Technologies - Proprietary
Design Goals• Provide a mechanism, not a policy
• Provide same configuration - including IP address - to a host whenever possible
![Page 10: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/10.jpg)
1004/09/23 Lucent Technologies - Proprietary
What can you do with DHCP• Plug-and-play
• Move desktop PCs between offices
• Renumber
• Other restructuring - change subnet masks
• Mobile IP - laptops
• Moving equipment - cartable
![Page 11: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/11.jpg)
1104/09/23 Lucent Technologies - Proprietary
What DHCP doesn’t do• Support multiple addresses per interface
• Inform running host that parameters have changed
• Propagate new addresses to DNS
• Support inter-server communication
• Provide authenticated message delivery
![Page 12: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/12.jpg)
1204/09/23 Lucent Technologies - Proprietary
What DHCP doesn’t do• Configure routers and other network
equipment
• Design network addressing plan
• Determine other configuration parameters
• Locate other servers
![Page 13: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/13.jpg)
1304/09/23 Lucent Technologies - Proprietary
Outline• DHCP purpose and goals
• Background and history of DHCP
• Case Study
• Operational details
• Using DHCP
![Page 14: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/14.jpg)
1404/09/23 Lucent Technologies - Proprietary
What is DHCP and where does it come from?
• Internet Engineering Task Force (IETF)
• Dynamic Host Configuration Working Group (DHC WG)
• BOOTP
![Page 15: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/15.jpg)
1504/09/23 Lucent Technologies - Proprietary
IETF standards• Formal process for development, review and
acceptance of TCP/IP protocol suite standards
• Initial specifications published as Internet Drafts (I-Ds)
• Accepted specifications published as Request for Comments (RFCs)
![Page 16: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/16.jpg)
1604/09/23 Lucent Technologies - Proprietary
Protocol status• DHCP has been accepted as a Draft Standard;
the specifications are published in:– RFC 2131: Dynamic Host Configuration Protocol
– RFC 2132: DHCP Options and BOOTP Vendor Extensions
• Several additional options are in development
![Page 17: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/17.jpg)
1704/09/23 Lucent Technologies - Proprietary
Implementation status• DHCP is an open standard, with freely available
specifications
• Can be (and has been) implemented entirely from the specification
• Commercial implementations are widely available• Non-commerical implementations are also
available
![Page 18: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/18.jpg)
1804/09/23 Lucent Technologies - Proprietary
DHCP Resources• Compilation of DHCP-related WWW links and
other information: http://www.dhcp.org
• DHCP FAQ (maintained by John Wobus)• [email protected] mailing list
(admin requests to [email protected])
![Page 19: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/19.jpg)
1904/09/23 Lucent Technologies - Proprietary
DHCP Resources• IETF information can be retrieved from:
http://www.ietf.cnri.reston.va.us
• I-Ds and RFCs can also be retrieved from:http://www.rfc-editor.org
![Page 20: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/20.jpg)
2004/09/23 Lucent Technologies - Proprietary
Related work• RARP/DRARP
• TFTP
• ICMP
• Router Discovery
• Mobile IP
• Wireless/cellular IP
![Page 21: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/21.jpg)
2104/09/23 Lucent Technologies - Proprietary
Outline• DHCP purpose and goals
• Background and history of DHCP
• Case Study
• Operational details
• Using DHCP
![Page 22: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/22.jpg)
2204/09/23 Lucent Technologies - Proprietary
Generic Startup, Inc. – GSI• GSI is a medium–sized startup with about
200 employees
• Internal TCP/IP network – “intranet”
• Network Architect is responsible for network design, planning and operation
![Page 23: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/23.jpg)
2304/09/23 Lucent Technologies - Proprietary
Intranet architecture• Intranet uses Ethernet throughout
• 5 internal Ethernet segments– 4 segments for desktops– 1 segment for servers
• Connected through single router
![Page 24: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/24.jpg)
2404/09/23 Lucent Technologies - Proprietary
TCP/IP addressing• Network architect has obtained Class C
network address 201.155.7.0 for GSI
• Subnetted for segments– /27 subnet mask– 8 possible subnets, 32 hosts per subnet
![Page 25: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/25.jpg)
2504/09/23 Lucent Technologies - Proprietary
201.157.7.32
Intranet addressing
201.157.7.64
201.157.7.128
201.157.7.96
201.157.7.192Router
![Page 26: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/26.jpg)
2604/09/23 Lucent Technologies - Proprietary
DHCP on the GSI intranet• Network architect plans addressing scheme
and locations of servers
• DHCP server attached to 201.157.7.192 subnet
• Desktop clients contact server at startup for IP address and configuration parameters
![Page 27: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/27.jpg)
2704/09/23 Lucent Technologies - Proprietary
GSI uses DHCP to…• Configure new computers
• Reconfigure relocated computers
• Accommodate laptops
• Renumber network
![Page 28: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/28.jpg)
2804/09/23 Lucent Technologies - Proprietary
Planning for DHCP• Preparation for DHCP requires careful
planning
• IP addressing strategy– Consider current needs– Allow for growth
• Network architect configures rules for addressing strategy into DHCP server
![Page 29: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/29.jpg)
2904/09/23 Lucent Technologies - Proprietary
Newly installed computer• Newly installed computer locates DHCP
server
• Server consults address scheme rules – Picks an address– Determines other configuration parameters
• “Plug-and-play”
![Page 30: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/30.jpg)
3004/09/23 Lucent Technologies - Proprietary
Newly installed computer
201.157.7.96
201.157.7.198Router
New computer
DHCP server
![Page 31: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/31.jpg)
3104/09/23 Lucent Technologies - Proprietary
Relocated computer• Computer retains address
• When restarted, computer checks with server to confirm address
• If address OK, computer retains old address
• If computer attached to different subnet, obtains new address
![Page 32: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/32.jpg)
3204/09/23 Lucent Technologies - Proprietary
Relocated computer
201.157.7.64
201.157.7.96
201.157.7.198Router
201.157.7.98
DHCP server
![Page 33: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/33.jpg)
3304/09/23 Lucent Technologies - Proprietary
Using DHCP with legacy equipment
• DHCP server not required to make every address on a subnet available for allocation
• DHCP server not required to answer every incoming request
• Network architect can configure server to reserve (not allocate) addresses
![Page 34: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/34.jpg)
3404/09/23 Lucent Technologies - Proprietary
Growth – new computers on a subnet
• So … GSI grows and hires new employees
• Each gets a new computer; new computers are allocated addresses from DHCP pool
• Suppose addresses in a subnet are all allocated?
![Page 35: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/35.jpg)
3504/09/23 Lucent Technologies - Proprietary
DHCP and new computers• DHCP server will hand out all available
addresses
• Limited number of addresses can be shared (if all computers not on simultaneously)
• Eventually, network architect will have to allocate more addresses
![Page 36: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/36.jpg)
3604/09/23 Lucent Technologies - Proprietary
Reusing addresses• Server can reuse abandoned addresses
– Address initially allocated for fixed time called a lease
– Client can extend lease
• If lease expires, server can reallocate
• Reallocation only when necessary (e.g., LRU) is a good idea…
![Page 37: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/37.jpg)
3704/09/23 Lucent Technologies - Proprietary
Growth – multiple IP networks on a subnet
• /27 subnet accommodates only 30 computers
• Suppose application development group grows to 40?
• Add second IP subnet to existing Ethernet segment
![Page 38: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/38.jpg)
3804/09/23 Lucent Technologies - Proprietary
Multiple IP networks on a subnet
201.157.7.32
201.157.7.64
201.157.7.128
201.157.7.96201.157.7.160
201.157.7.192Router
![Page 39: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/39.jpg)
3904/09/23 Lucent Technologies - Proprietary
Reconfiguring the server for multiple networks
• Server configuration file defines multiple subnets and address pools on one physical segment
• Server chooses address from pools for the segment
• Server checks DHCP client address against all subnets on the segment
![Page 40: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/40.jpg)
4004/09/23 Lucent Technologies - Proprietary
Growth – changing subnet masks• In some cases, subnet growth can be managed
with a change to the subnet mask– 201.157.7.128/27 and 201.157.7.160/27 can be
combined into 201.157.7.128/26– Network infrastructure must accommodate
VLSMs
• Must change subnet masks on attached clients
![Page 41: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/41.jpg)
4104/09/23 Lucent Technologies - Proprietary
Passing new subnet masks to clients
• At next reboot, DHCP client will contact server
• Server returns new subnet mask with acknowledgment
• Client records and uses new mask
![Page 42: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/42.jpg)
4204/09/23 Lucent Technologies - Proprietary
Growth – renumbering• Eventually, GIS network architect obtains
second class C address: 202.5.77.0
• Subnet numbers are reallocated among network segments
• Many computers now on “wrong” subnet
![Page 43: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/43.jpg)
4304/09/23 Lucent Technologies - Proprietary
Renumbered GSI network
202.5.77.128
201.157.7.64
201.157.7.32
202.5.77.64
201.157.7.128Router
201.157.7.98
![Page 44: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/44.jpg)
4404/09/23 Lucent Technologies - Proprietary
Using DHCP for renumbering• Set up plan for renumbering
– New network architecture– Network addresses, server addresses– Timing of cutovers
• Force DHCP clients to contact server for notification about new address– Set short leases– Require all clients be rebooted
![Page 45: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/45.jpg)
4504/09/23 Lucent Technologies - Proprietary
Using DHCP for renumbering• Rebooting, although not elegant, probably
most reliable
• Schedule subnet cutover for overnight or weekend, force reboot through “alternate protocol” (e.g.., e–mail to all users)
![Page 46: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/46.jpg)
4604/09/23 Lucent Technologies - Proprietary
Outline• DHCP purpose and goals
• Background and history of DHCP
• Case Study
• Operational details
• Using DHCP
![Page 47: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/47.jpg)
4704/09/23 Lucent Technologies - Proprietary
Server manages client configurations
• Provide a variety of mechanisms for controlled configuration
• Can override default parameters from Host Requirements
![Page 48: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/48.jpg)
4804/09/23 Lucent Technologies - Proprietary
Address allocation• Static (BOOTP): client must be pre-
configured into database
• Automatic: server can allocate new address to client
• Dynamic: server can allocate and reuse addresses
![Page 49: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/49.jpg)
4904/09/23 Lucent Technologies - Proprietary
Leases• Dynamic addresses are allocated for a
period of time known as the lease
• Client is allowed to use the address until the lease expires
![Page 50: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/50.jpg)
5004/09/23 Lucent Technologies - Proprietary
Leases• Client MUST NOT use the address after the
lease expires, even if there are active connections using the address
• Server MUST NOT reuse the address before the lease expires
![Page 51: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/51.jpg)
5104/09/23 Lucent Technologies - Proprietary
Motivation for leases• An IP internet may not always be completely
operational; there may not always be connectivity between any two hosts, so:– Can’t use distributed (client-based) assignment of
addresses– Can’t use “address defense” before server reuse of
addresses
![Page 52: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/52.jpg)
5204/09/23 Lucent Technologies - Proprietary
Motivation for leases• Leases guarantee an agreement as to when
an address may be safely reused even if the server can’t contact the client
![Page 53: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/53.jpg)
5304/09/23 Lucent Technologies - Proprietary
Address reuse• Server MAY choose to reuse an address by
reassigning it to a different client after the lease has expired
• Server can check using ICMP echo to see if the address is still in use (but no response is not a definitive answer!)
![Page 54: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/54.jpg)
5404/09/23 Lucent Technologies - Proprietary
Address reuse• Allows address sharing
– From old computers replaced by new ones– Among a pool of computers not always using
TCP/IP– For transient hosts like laptops
![Page 55: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/55.jpg)
5504/09/23 Lucent Technologies - Proprietary
Address allocation details• Clients check on address validity at reboot
time (renumbering)
• Clients can extend the lease on an address at startup time
![Page 56: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/56.jpg)
5604/09/23 Lucent Technologies - Proprietary
Address allocation details• Clients can extend the lease on an address as
expiration time approaches (without closing and restarting existing connections)
• Clients with addresses that have been configured manually can use DHCP to obtain other configuration parameters
![Page 57: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/57.jpg)
5704/09/23 Lucent Technologies - Proprietary
Four ways a client uses DHCP• INIT - acquire an IP address and
configuration information• INIT-REBOOT - confirm validity of
previously acquired address and configuration• RENEWING - extend a lease from the
original server• REBINDING - extend a lease from any
server
![Page 58: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/58.jpg)
5804/09/23 Lucent Technologies - Proprietary
Obtaining an initial address• Client broadcasts DISCOVER to locate
servers
• Server chooses address and replies
• Client selects a server and sends REQUEST for address
• Server commits allocation and returns ACK
![Page 59: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/59.jpg)
5904/09/23 Lucent Technologies - Proprietary
Rebooting client• Client puts address in REQUEST and
broadcasts
• Server checks validity and returns ACK with parameters
• If client address is invalid – e.g., client is attached to a new network – server replies with NAK and client restarts
![Page 60: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/60.jpg)
6004/09/23 Lucent Technologies - Proprietary
Extending a lease• Client puts requested lease extension in
REQUEST and sends to server
• Server commits extension and returns ACK with parameters
![Page 61: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/61.jpg)
6104/09/23 Lucent Technologies - Proprietary
DHCP options• Options carry additional configuration
information to client– DHCP message type– Subnet mask, default routers, DNS server– Many others …
• Carried as fields in DHCP message
![Page 62: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/62.jpg)
6204/09/23 Lucent Technologies - Proprietary
Configuration with options• Network architect configures server to select
and return options and values
• Client can explicitly request specific options
![Page 63: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/63.jpg)
6304/09/23 Lucent Technologies - Proprietary
Relay agents• Using hardware and IP broadcast still limits
DHCP message from client to single physical network
• Relay agent, on same subnet as client, forwards DHCP messages between clients and servers
![Page 64: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/64.jpg)
6404/09/23 Lucent Technologies - Proprietary
Relay agents• Relay agent and server exchange messages
using unicast UDP– Servers can be located anywhere on intranet– Servers can be centrally located for ease of
administration
• Very simple in function, implementation• Usually, but not necessarily, located in routers
![Page 65: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/65.jpg)
6504/09/23 Lucent Technologies - Proprietary
Outline• DHCP purpose and goals
• Background and history of DHCP
• Case Study
• Operational details
• Using DHCP
![Page 66: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/66.jpg)
6604/09/23 Lucent Technologies - Proprietary
Using multiple servers• Clients must be implemented for multiple
servers; e.g., receiving multiple OFFER messages
• Using multiple servers can provide increased reliability through redundancy
![Page 67: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/67.jpg)
6704/09/23 Lucent Technologies - Proprietary
Using multiple servers• All coordination must be managed by
DHCP administrator– Distributed database– Off-line batch updates– Manually
![Page 68: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/68.jpg)
6804/09/23 Lucent Technologies - Proprietary
Strategies for using multiple servers
• Split address pool for each subnet among servers
• Coordinate leases off-line
• Reallocate addresses when needed
![Page 69: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/69.jpg)
6904/09/23 Lucent Technologies - Proprietary
Lease times and strategies• Choice of lease times made by DHCP
administrator
• Long lease times decrease traffic and server load, short lease times increase flexibility
![Page 70: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/70.jpg)
7004/09/23 Lucent Technologies - Proprietary
Lease times and strategies• Should choose lease time allow for server
unavailability– Allows clients to use old addresses– For example, long enough to span weekends
• Can assign different leases to desktop computers, cartable systems and laptops
![Page 71: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/71.jpg)
7104/09/23 Lucent Technologies - Proprietary
Changing other configuration parameters
• Other configuration parameters such as print servers may change
• Reconfigure DHCP server with new parameters
• At next reconfirmation, clients will get new addresses
![Page 72: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/72.jpg)
7204/09/23 Lucent Technologies - Proprietary
Moving a client to a new location• User may get moved to a new location on a
different subnet
• User may arrange to move computer system without contacting network administrator
• DHCP will allocate address for new location
![Page 73: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/73.jpg)
7304/09/23 Lucent Technologies - Proprietary
Moving a client to a new location• What about old lease?
– New server can notify network administrator about address allocation
– Client can issue RELEASE before moving from old location
• Or, might be appropriate to leave old lease in place…
![Page 74: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/74.jpg)
7404/09/23 Lucent Technologies - Proprietary
Replacing a system• User may get new computer on desktop
• Network administrator wants to allocate same IP address to the new computer – but, new computer will have different hardware address
• Use client id as system identifier and transfer to new system
![Page 75: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/75.jpg)
7504/09/23 Lucent Technologies - Proprietary
Limitations to DHCP
• Coordination among multiple servers
• DHCP interaction with DNS
• Security/authentication
• New options
• IPv6
Opportunities for enhancement
![Page 76: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/76.jpg)
7604/09/23 Lucent Technologies - Proprietary
Coordination among multiple servers
• Becomes a distributed database problem
• Several strategies have been proposed
• “Failover protocol” now in development
![Page 77: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/77.jpg)
7704/09/23 Lucent Technologies - Proprietary
Dynamic DNS• When client is allocated a new address, DNS
records need to be updated– A record: Name to IP address– PTR record: IP address to name
• DHCP to be extended to allow coordination between client and server– Which does updates?– Error conditions?
![Page 78: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/78.jpg)
7804/09/23 Lucent Technologies - Proprietary
Security/Authentication• Unauthorized – either intentional or
accidental – server can cause denial of service problems
• Some sites may want to limit IP address allocation to authorized client
![Page 79: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/79.jpg)
7904/09/23 Lucent Technologies - Proprietary
Security/Authentication• Authentication based on shared secret key,
an authentication ticket and a message digest
• Assures source of message is valid and message hasn’t been tampered with en route
• Schiller/Huitema/Droms/Arbaugh proposal in process
![Page 80: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/80.jpg)
8004/09/23 Lucent Technologies - Proprietary
New options acceptance• New options must have non–overlapping
option codes
• Codes handed out by Internet Assigned Numbers Authority (IANA)
• New mechanism will approve each new option as a separate RFC (like TELNET)
![Page 81: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/81.jpg)
8104/09/23 Lucent Technologies - Proprietary
IPv6• IP Version 6 (aka IPv6 or IPng) is a new
internet protocol to replace IP
• Includes new features for host configuration:– Router advertisement– Autoconfiguration– Link-local addresses
![Page 82: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/82.jpg)
8204/09/23 Lucent Technologies - Proprietary
IPv6• To accommodate sites that want centralized
management of addresses, DHCP for IPv6 (DHCPv6) is being developed by the DHC WG.
![Page 83: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/83.jpg)
8304/09/23 Lucent Technologies - Proprietary
Summary• DHCP works today as a tool for automatic
configuration of TCP/IP hosts
• It is an open Internet standard and interoperable client implementations are widely available
![Page 84: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/84.jpg)
8404/09/23 Lucent Technologies - Proprietary
Summary• Provides automation for routine
configuration tasks, once network architect has configured network and addressing plan
• Ongoing work will extend DHCP with authentication, DHCP-DNS interaction and inter-server communication
![Page 85: DHCP Basics](https://reader036.vdocuments.us/reader036/viewer/2022081413/5477e0245906b564318b46d1/html5/thumbnails/85.jpg)
8504/09/23 Lucent Technologies - Proprietary