Dynamic Host Conf Protocol (DHCP) Flashcards

1
Q

What is Dynamic Dost Configuration Protocol (DHCP)?

A

Dynamic Host Configuration Protocol (DHCP) automatically assigns IP addresses and other network configuration settings to devices on a network.
Since a client-server network already includes a server, it uses DHCP instead of static configuration (manual).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does (DHCP) work?

A

When a device connects to a network, it sends a request for an IP address to the DHCP server. The DHCP server then assigns an available IP address to the device, along with other network configuration settings such as:
* Subnet mask
* Default gateway
* DNS server addresses

DHCP uses a process called leasing to assign IP addresses. When a device needs IP addresses and sends the request to the DHC server, the server assigns an address to it from the available pool of IP addresses. Additionally, the server then assigns a lease time to the IP address which is the amount of time the device can use the IP address before it needs to be renewed.
When the lease time expires, the device must renew the IP address by requesting a new lease from the DHCP server. If the IP address is still available, the server will renew the lease and extend the lease time. If the IP address is no longer available, the server will assign a new IP address to the device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the (DHCP) IP assignment steps?

A

-DHCP Discover
(ie Mac address 02A4C67890BD can be written as 02:a4:c6:78:90:bd or 02-A4-C6-78-90-BD)
-“ Offer
-“ Request
-“ Acknowledgement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the (DHCP) IP renewal process?

A

-DHCP Lease Time
-“ Renewal
-“ Server Response
-“ Address Release

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the pros and cons of (DHCP)?

A

Its automated process simplifies network configuration, reduces administrative overhead and configuration errors, especially for large networks.

But there are also some disadvantages of DHCP because it relies on a single DHCP server to manage the assignment of IP addresses and other configuration information. If the DHCP server goes down, devices on the network may not be able to obtain IP addresses or connect to the network. DHCP can also introduce security risks if not configured properly. For example, rogue DHCP servers can be used to assign IP addresses and other configuration information to devices on the network, potentially exposing sensitive data to attackers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a (DHCP) Relay Agent?

A

A DHCP Relay Agent is a special program that’s installed on the switches. It intercepts and forwards DHCP messages between devices on other subnets and the DHCP server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly