Day 23 - DHCP & DNS Flashcards

1
Q

When a DHCPv4-configured device boots up or connects to the network, the client broadcasts what type of message?

A

DHCPDISCOVER broadcast message

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

After a DHCP client sends a DHCPDISCOVER broadcast message, what does the DHCP server respond with?

A

DHCPOFFER unicast message

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

After a DHCP server sends a DHCPOFFER unicast message, what does the DHCP client respond with?

A

DHCPREQUEST broadcast message

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

After the DHCP client sends the DHCPREQUEST broadcast message, what does the DHCP server respond with?

A

DHCPACK

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

If a client is powered down or taken off the network, the IP address given by DHCP is what?

A

Returned to the pool for reuse

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

In what ways can a Cisco router be involved with DHCP

A

As a DHCP server
A DHCP relay agent
A DHCP client

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

What are the commands to configure a Cisco DHCP server to hand out ip addresses?

A

ip dhcp excluded-address {starting-ip-address} {ending-ip-address}
ip dhcp pool {name-of-pool}
network {network-address} {subnet}
default-router {ip-address}
dns-server {ip-address}

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

What command would you check to see if DHCP for a Router is being used a DHCP client?

A

show dhcp lease

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

What commands would you use on a Router to set it up as a DHCP client?

A

int {int}
-outside facing interface to the ISP
ip address dhcp
no shutdown

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

What command would you use to disable DHCP service on a device?

A

no service dhcp

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

What command would you use to verify DHCPv4 operation?

A

show ip dhcp binding

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

On a DHCP client, how would you release and renew DHCP configurations?

A

ipconfig /release
ipconfig /renew

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

To ensure that broadcasted DHCPDISCOVER messages are sent to the remote DHCPv4 server, what command would you use on a Cisco device?

A

ip helper-address

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

How many UDP services does the ip helper-address command forward?

A

8

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

What services does the ip helper-address command forward?

A

Port 37: Time
Port 49: TACACS
Port 53: DNS
Port 67: DHCP/BOOTP Server
Port 68: DHCP/BOOTP Client
Port 69: TFTP
Port 137: NetBios name service
Port 138: NetBios datagram service

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

How would you specify additional protocols other than DHCP to be forwarded by the ip helper-address command?

A

ip forward-protocol udp {port-number} {protocol}

17
Q

IPv6 has two methods for obtaining a global unicast address. What are they?

A

SLAAC (Stateless address autoconfiguration)
Stateful DHCPv6

18
Q

This method of obtaining an IPv6 address uses ICMPv6 Router Solicitation and Router Advertisement messages to provide addressing and other configuration information

A

SLAAC

19
Q

When a client is configured to obtain its addressing information automatically using SLAAC, the client sends a __________ __________ __________ to the router. This message is then sent to the IPv6 all-routers __________ __________

A

Router Solicitation message
Multicast address

20
Q

An IPv6 DHCP client uses this type of Neighbor Discovery protocol message to create its own IP address

A

Router advertisement (RA)

21
Q

This type of message is normally used to learn the data link layer address of a neighbor on the same network

A

Neighbor Solicitation message

22
Q

What type of message informs a client how to obtain automatic IPv6 addressing?

A

Router Advertisement message

23
Q

To configure a router as a stateless DHCP server, you need to make sure what is enabled?

A

ipv6 unicast-routing

24
Q

What are some types of record address for DNS?

A

A
NS
AAAA
MX

25
Q

What does URI stand for?

A

Uniform resource identifier

26
Q

What command would you use on a MacOS or Linux client to verify network information such as gateway address, IP address, etc.

A

ifconfig

27
Q

With IPv6 SLAAC, routers respond to RS messages with what?

A

Router advertisements