4th SLÜ Flashcards

1
Q

Which message is sent by a DHCPv4 client to initiate the lease obtaining process?

A

DHCPDISCOVER
Explanation: DHCPv4 clients initiate the lease process by sending a DHCPDISCOVER message as a broadcast onto the network to locate a DHCPv4 server.

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

Which two DHCPv4 messages are sent by the server in the lease obtaining process? (Choose two.)

A

DHCPOFFER
DHCPACK

Explanation: DCHPv4 servers send two messages in the lease origination process, the DHCPOFFER and the DHCPACK.

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

Which two DHCPv4 messages are used in the lease renewal process? (Choose two.)

A

DHCPREQUEST
DHCPACK
Explanation: The lease renewal process involves two messages. The client sends a DHCPREQUEST and the server responds with a DHCPAK.

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

Describe the steps necessary to configure a router as a dhcp client.

A

Enter interface configuration mode. Use g0/0/1 as the interface name.
SOHO(config)#interface g0/0/1

Configure the interface to acquire IPv4 addressing information from the ISP.
SOHO(config-if)#ip address dhcp

Activate the interface.
SOHO(config-if)#no shutdown

Sep 12 10:01:25.773: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet0/0/1 assigned DHCP address 209.165.201.12, mask 255.255.255.224, hostname SOHO

Return to privileged EXEC mode.
SOHO(config-if)#end

Use the show ip interface g0/0/1 command to verify the IPv4 information.
SOHO#show ip interface g0/0/1

GigabitEthernet0/0/1 is up, line protocol is up
Internet address is 209.165.201.12/27
Broadcast address is 255.255.255.255
Address determined by DHCP
(output omitted)

You have successfully configured the router as a DHCP client.

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

A DHCP-enabled client PC has just booted. During which two steps will the client PC use broadcast messages when communicating with a DHCP server? (Choose two.)

A

DHCPDISCOVER
DHCPREQUEST

All DHCP messages between a DHCP-enabled client and a DHCP server are using broadcast messages until after the DHCPACK message. The DHCPDISCOVER and DHCPREQUEST messages are the only messages that are sent by a DHCP-enabled client. All DHCP messages between a DHCP-enabled client and a DHCP server use broadcast messages when the client is obtaining a lease for the first time.

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

An administrator issues the commands:

Router(config)# interface g0/1
Router(config-if)# ip address dhcp

What is the administrator trying to achieve?

A

configuring the router to obtain the IP parameters from a DHCPv4 server

The ip address dhcp command activates the DHCPv4 client on a given interface. By doing this, the router will obtain the IP parameters from a DHCPv4 server.

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

When a client is requesting an initial address lease from a DHCP server, why is the DHCPREQUEST message sent as a broadcast?

A

The client may have received offers from multiple servers, and the broadcast serves to implicitly decline those other offers.

During the initial DHCP exchange between a client and server, the client broadcasts a DHCPDISCOVER message looking for DHCP servers. Multiple servers may be configured to respond to this request with DHCPOFFER messages. The client will choose the lease from one of the servers by sending a DHCPREQUEST message. It sends this message as a broadcast so that the other DHCP servers that sent offers will know that their offers were declined and the corresponding address can go back into the pool.

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