130 likes | 294 Views
Dynamic Host Configuration Protocol CSI 5321. Presented by Junaid Taqui. What is DHCP ?. Two Components of DHCP DHCP is built on a client-server model DHCP supports three modes of IP-Address allocation Automatic Manual Dynamic. Related Work.
E N D
Dynamic Host Configuration ProtocolCSI 5321 Presented by Junaid Taqui
What is DHCP ? • Two Components of DHCP • DHCP is built on a client-server model • DHCP supports three modes of IP-Address allocation Automatic Manual Dynamic
Related Work • RARP • TFTP • ICMP • BOOTP NIP • ARP • RLP
Definition of useful terms • DHCP client • DHCP server • BOOTP relay agent • Binding • Lease
DHCP Messages • DHCPDISCOVER - Client broadcast to locate available servers. • DHCPOFFER - Server to client in response to DHCPDISCOVER with offer of configuration parameters.
DHCP Messages • DHCPACK - Server to client with configuration parameters, including committed network address. • DHCPNAK - Server to client indicating client's notion of network address is incorrect (e.g., client has moved to new subnet) or client's lease as expired • DHCPDECLINE - Client to server indicating network address is already in use.
DHCP Messages • DHCPRELEASE - Client to server relinquishing network address and canceling remaining lease. • DHCPINFORM - Client to server, asking only for local configuration parameters; client already has externally configured network address.
The Client-Server Protocol • Client-server interaction - allocating a network address • Client-server interaction - reusing a previously allocated network address
Allocating a network address SERVER CLIENT SERVER DHCPDISCOVER DHCPDISCOVER DHCPOFFER DHCPOFFER DHCPREQUEST DHCPREQUEST DHCPACK DHCPRELEASE
Reusing a previously allocated network address SERVER CLIENT SERVER DHCPREQUEST DHCPREQUEST DHCPACK DHCPACK Initialization complete Subsequent DHCPACKS ignored
References • Request for Comments:2132 – Dynamic Host Configuration Protocol • http://www.dhcp.org