DHCP (Dynamic Host Configuration Protocol) Flashcards

1
Q

What is DHCP?

A

DHCP (Dynamic Host Configuration Protocol) is a protocol used to automatically assign IP addresses and other network configurations to devices on a network.

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

How does DHCP assign an IP address to a device?

A

DHCP assigns an IP address through a leasing process, where the server temporarily assigns an IP to a device for a specified period.

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

What is a DHCP lease?

A

A DHCP lease is a temporary assignment of an IP address to a device, with a specified lease time after which it must be renewed or released.

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

What is a DHCP Discover message?

A

A DHCP Discover message is sent by a client to locate a DHCP server and request IP configuration.

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

What does a DHCP Offer message contain?

A

A DHCP Offer message contains an available IP address, subnet mask, default gateway, and other network settings for the client.

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

How does a client accept a DHCP offer?

A

A client accepts a DHCP offer by sending a DHCP Request message to the server, confirming its intent to use the offered IP address.

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

What is the role of a DHCP Ack message?

A

A DHCP Ack message is sent by the server to confirm that the client has successfully obtained the IP address and other configurations.

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

What is the DHCP Release message used for?

A

A DHCP Release message is sent by a client to inform the server that it no longer needs the assigned IP address and is releasing the lease.

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

What port does a DHCP server listen on?

A

A DHCP server listens on UDP port 67 for incoming DHCP requests.

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

What port does a DHCP client use?

A

A DHCP client uses UDP port 68 to receive DHCP messages.

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

Can DHCP assign static IP addresses?

A

Yes, DHCP can assign static IP addresses through IP reservations based on MAC addresses.

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

What is the purpose of the DHCPACK message?

A

The DHCPACK message is used to confirm that the server has successfully assigned an IP address and associated network settings to the client.

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

What is a DHCP scope?

A

A DHCP scope is a range of IP addresses that a DHCP server can assign to clients within a network.

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

What happens when a DHCP lease expires?

A

When a DHCP lease expires, the client must either request a renewal or obtain a new IP address from the DHCP server.

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

Can DHCP be used on private networks?

A

Yes, DHCP is commonly used on private networks to dynamically assign IP addresses to devices.

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