Professional Documents
Culture Documents
Lesson 23 - (1 of 42)
Outline:
BOOTP and DHCP
Configuration Information Bootstrap Protocol (BOOTP): Efficiency Enhancements Message Format Bootstrap Procedure Specific Areas of the Message Dynamic Host Configuration Protocol DHCP Message Format: Difference Between BOOTP and DHCP DHCP Functionality Configuration and Compatibility Issues Address Leasing in DHCP Problems and Concerns of DHCP Acceptance of a New Standard
Lesson 23 - (2 of 42)
Configuration Information:
Most computers using TCP/IP need updated configuration information when they start up (boot). Examples of that type of information include: Default gateway Default file server and domain name server IP address and subnet mask. Etc.
Lesson 23 - (3 of 42)
Configuration Information:
Two protocols are commonly used to supply the client with this information: BOOTP (Bootstrap Protocol) DHCP (Dynamic Host Configuration Protocol)
Lesson 23 - (4 of 42)
Lesson 23 - (7 of 42)
Lesson 23 - (9 of 42)
0
OP
16
24
31
HTYPE HLEN HOPS TRANSACTION ID SECONDS UNUSED CLIENT IP ADDRESS YOUR IP ADDRESS SERVER IP ADDRESS ROUTER IP ADDRESS CLIENT HARDWARE ADDRESS ( 16 OCTETS ) . . . SERVER HOST NAME ( 64 OCTETS ) . . . BOOT FILE NAME ( 128 OCTETS ) . . . VENDOR-SPECIFIC .AREA ( 64 OCTETS ) . .
Lesson 23 - (11 of 42)
Bootstrap Procedure:
Two-step Bootstrap Procedure: BOOTP provides the client with information needed to obtain a bootstrap configuration image. The client uses the Trivial File Transfer Protocol (TFTP) to obtain the image from the specified server.
Bootstrap Procedure:
Separation of configuration and storage allows: Memory images to be stored on machines that are not BOOTP servers And for administrators to configure sets of machines to act independently or exactly the same.
End
255
0
OP
16
24
31
HTYPE HLEN HOPS TRANSACTION ID SECONDS FLAGS CLIENT IP ADDRESS YOUR IP ADDRESS SERVER IP ADDRESS ROUTER IP ADDRESS CLIENT HARDWARE ADDRESS ( 16 OCTETS ) . . . SERVER HOST NAME ( 64 OCTETS ) . . . BOOT FILE NAME ( 128 OCTETS ) . . . OPTIONS ( .VARIABLE ) . .
Lesson 23 - (26 of 42)
DHCP Functionality:
How it works: A client needing an IP address sends a DHCPDISCOVER broadcast message over the network which contains the clients MAC address (hardware).
DHCP Functionality:
Any DHCP server (may be several offers) can respond with a DHCPOFFER unicast message to the clients MAC address offering an: IP address Subnet mask IP address of the DHCP server Expiration time of the lease.
DHCP Functionality:
Client selects an offer by sending a DHCPREQUEST unicast message to the appropriate DHCP server and accepts the offered configuration information.
DHCP Functionality:
The DHCP server responds with a DHCPACK unicast message to the client and officially assigns the address to the client node. It then provides DNS and/or WINS (Windows Internet Name Service) server addresses, the default gateway IP address, etc.
What is WINS?
Windows Internet Naming Service (WINS): Microsoft has its own domain name service for use on many of its TCP/IP networks. WINS is not an official Internet name service, but is commonly used with many LANs. WINS, in part, allows a client node to identify and connect to another windows machine. Windows 95, NT, and Windows for Workgroups all use WINS servers.
Lesson 23 - (32 of 42)
Image source: Internetworking with TCP/IP vol I (1995 Prentice Hall, Douglas Comer)
Questions
BOOTP and DHCP
What advantages does DHCP provide over traditional RARP or BOOTP protocols? What is an optimal lease time-period when choosing an IP address to use through DHCP? To what advantage does it serve DHCP to use the same message format of BOOTP? Why? What are some types of vendor specific information that may be included in a BOOTP message? Lesson 23 - (41 of 42) Does your TCP/IP stack support DHCP?
Reference Materials
BOOTP and DHCP
RFC1534: Interoperation between DHCP and BOOTP: (http://www.cis.ohio-state.edu/htbin/rfc/rfc1534.html) DHCP FAQ: (http://web.syr.edu/~jmwobus/comfaqs/dhcp.faq.html) RFC1541: Dynamic Host Configuration Protocol (http://www.cis.ohio-state.edu/htbin/rfc/rfc1541.html) RFC1532: Clarifications and Extensions for the Bootstrap Protocol (http://www.cis.ohio-state.edu/htbin/rfc/rfc1532.html) Internetworking w/ TCP/IP vol 1, 3rd Edition: D. Comer.
Lesson 23 - (42 of 42)