9. DHCP, NAT, Mobile IP Flashcards
(47 cards)
What is DHCP?
Dynamic Host Configuration Protocol is an application layer program that assigns and manages IPs to devices connected on the network.
What paradigm does DHCP use?
Client-Server Paradigm where the client requests to the DHCP host an IP to be assigned to itself.
Can DHCP be configured only for routers?
False, it can be assigned to hosts too.
What can ISP customers do with IP addresses?
Share IP addresses assuming they do not use the Internet at the same time.
What additional information does a computer need besides its IP address?
The network prefix (or address mask).
What are two additional addresses most computers need?
- Address of the gateway
- Domain name server
What is the role of a DHCP server in a network?
Responsible for configuration of the network
What action does a client take to request an IP address?
Broadcasts a request using a DHCP DISCOVER packet
What must happen to the DHCP DISCOVER packet?
It must reach the DHCP server
What happens if the DHCP server is not directly attached to the network?
The gateway relays DHCP broadcasts to the server
Fill in the blank: A client broadcasts a request for an IP address using a _______.
DHCP DISCOVER packet
True or False: A DHCP server can be located anywhere as long as the DHCP DISCOVER packet reaches it.
True
What is the function of the gateway in relation to DHCP?
Configured to receive and relay DHCP broadcasts
What does a server do when it receives a request in DHCP?
It allocates a free IP address and sends it to the host in a DHCP OFFER packet
The DHCP OFFER packet may be relayed via the router.
How does a DHCP server identify a host that does not have an IP address?
Using its Ethernet address carried in the DHCP DISCOVER packet
This allows the server to identify hosts even without assigned IP addresses.
What is the duration for which IP address assignments are made in DHCP?
For a fixed period of time, called leasing.
What must a host do just before the DHCP lease expires?
Ask for a DHCP renewal.
What does the client do after receiving DHCP Offers?
The client selects one of the offers based on certain criteria, such as the first offer received.
Criteria for selection can include factors like offer speed or server preference.
What message does the client broadcast to indicate acceptance of a DHCP offer?
The client broadcasts a DHCP Request message.
This message is crucial for the DHCP process as it finalizes the selection.
What is the purpose of the DHCP Request message besides indicating acceptance?
It serves as a notification to other DHCP servers that their offers were declined.
This helps in managing the offers made by multiple DHCP servers.
What type of message does the selected DHCP server send to confirm that the client can use the assigned IP address?
DHCP Acknowledgment (ACK) message
The ACK message contains the same configuration parameters as the DHCP OFFER.
What does the DHCP Acknowledgment (ACK) message confirm for the client?
The client can use the assigned IP address
The client can configure its network interface with the received parameters.
What happens if the DHCP server cannot allocate the requested IP address?
The server sends a DHCP Negative Acknowledgment (NAK) message
This message prompts the client to restart the DHCP process.
What is the purpose of the DHCP Negative Acknowledgment (NAK) message?
To prompt the client to restart the process
This occurs if there is an issue or conflict preventing IP address allocation.