chapter 18 host configuration:...
TRANSCRIPT
![Page 1: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/1.jpg)
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 18
Host
Configuration:
DHCP
![Page 2: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/2.jpg)
TCP/IP Protocol Suite 2
OBJECTIVES: To give the reasons why we need host configuration.
To give a historical background of two protocols used for host
configuration in the past.
To define DHCP as the current Dynamic Host Configuration
Protocol.
To discuss DHCP operation when the client and server are on the
same network or on different networks.
To show how DHCP uses two well-known ports of UDP to
achieve configuration.
To discuss the states the clients go through to lease an IP address
from a DHCP server.
![Page 3: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/3.jpg)
TCP/IP Protocol Suite 3
Chapter
Outline
![Page 4: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/4.jpg)
TCP/IP Protocol Suite 4
18-1 INTRODUCTION
Each computer that uses the TCP/IP protocol suite
needs to know its IP address. If the computer uses
classless addressing or is a member of a subnet, it
also needs to know its subnet mask. Most
computers today need two other pieces of
information: the address of a default router to be
able to communicate with other networks and the
address of a name server to be able to use names
instead of addresses as we will see in the next
chapter. In other words, four pieces of information
are normally needed.
![Page 5: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/5.jpg)
TCP/IP Protocol Suite 5
18-1 INTRODUCTION
Configuration File:
1. The IP address of the computer
2. The subnet mask of the computer
3. The IP address of a router
4. The IP address of a name server
![Page 6: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/6.jpg)
TCP/IP Protocol Suite 6
18-2 DHCP OPERATION
The DHCP client and server can either be on the
same network or on different networks. Let us
discuss each situation separately.
![Page 7: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/7.jpg)
TCP/IP Protocol Suite 7
Topics Discussed in the Section
Same Network
Different Networks
UDP Ports
Using TFTP
Error Control
Packet Format
![Page 8: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/8.jpg)
TCP/IP Protocol Suite 8
Figure 18.1 Client and server on the same network
![Page 9: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/9.jpg)
TCP/IP Protocol Suite 9
Figure 18.2 Client and server on two different networks
1
2
3
![Page 10: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/10.jpg)
TCP/IP Protocol Suite 10
Figure 18.3 Use of UDP ports
![Page 11: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/11.jpg)
TCP/IP Protocol Suite 11
Error Control
Two strategies:
1. DHCP requires that UDP uses the checksum
2. The DHCP client uses timers and a
retransmission policy if it does not receive
the DHCP reply to a request.
![Page 12: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/12.jpg)
TCP/IP Protocol Suite 12
Figure 18.4 DHCP packet format
![Page 13: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/13.jpg)
TCP/IP Protocol Suite 13
Figure 18.5 Flag format
![Page 14: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/14.jpg)
TCP/IP Protocol Suite 14
Figure 18.6 Option format
![Page 15: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/15.jpg)
TCP/IP Protocol Suite 15
![Page 16: Chapter 18 Host Configuration: DHCPksuweb.kennesaw.edu/~she4/2013Fall/cs4500/slides_TCPIP/Ch18.pdf · To define DHCP as the current Dynamic Host Configuration Protocol. To discuss](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f771f7cb879fd59fa3a59e4/html5/thumbnails/16.jpg)
TCP/IP Protocol Suite 16
18-3 CONFIGURATION
The DHCP has been devised to provide static and
dynamic address allocation.
• Static Address Allocation
• Dynamic Address Allocation