DHCP & DNS Flashcards

1
Q

What does DHCP stand for?

A

Dynamic Host Configuration Protocol

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

What does DHCP do?

A

It automatically allocates and IP address to a device that requests one from a given pool of IP addresses

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

How many steps does DHCP handshake have?

Name them.

A

4 Steps.
Discover, Offer, Recquest, Acknowledge.
Also known as DORA handshake

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

What is the source address when a device requests an IP address?

A

0.0.0.0

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

What is the destination address when a device requests and IP address?

A

255.255.255.255

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

What extra configuration is required if a DHCP server is not located on the local subnet?

A

Connecting router(s) need to be configured with ‘ip helper’ address that will forward DHCP Requests outside of the local subnet

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

What layer 4 protocol does DHCP use and what ports does that protocol use?

A

UDP (User Datagram Protocol). Ports 67 and 68

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

How to exclude a range of addresses from a DHCP pool?

A

use ‘ip dhcp excluded-address [first address in range] [last address in range]’ command

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

What are the steps to configure a DHCP server on a Cisco router?
Provide commands as well.

A
  1. Create range of excluded addresses - ‘ip dhcp excluded-address [first] [last]
  2. Create a new DHCP pool - ‘ip dhcp pool [name]’
  3. Provide the pool with range of ip addresses to offer - (while in dhcp-config) ‘network [subnet address] [subnet mask]
  4. Define default router - (in dhcp-config) ‘default-router [ip address]’
  5. Define DNS server - (in dhcp-config) ‘dns-server [ip address]’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What command is used to get information of the DHCP pool(s) configured on a L3 device

A

show ip dhcp pool

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

What is a DHCP binding?

A

It’s an entry in DHCP database that shows mapings between MAC addresses of devices asking for IP addresses and IP addresses given to them

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

Is ‘ip helper-address’ a global command?

A

No. It’s an interface command

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

Why is it important to make the dhcp server aware of vlans on the network?
How can this be done?

A

DHCP server needs to know where to send the DHCP messages when asked for IP address allocations.
Via static routes or dynamic routing protocols like RIP, EIGRP or OSPF.

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

What does DNS stand for and what does it do?

A

DNS stands for Domain Name System.

It translates IP addresses used my machines to human readable names like ‘google.com’

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

Can a device have more than one DNS server addresses configured?

A

Yes

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

What is an ‘A record’ in DNS?

A

A record holding a Domain name

17
Q

What is AAAA record in DNS

A

That’s a record holding a domain name in IPv6

18
Q

Does DNS use TCP or UDP Layer 4 protocol?

A

It uses both

19
Q

What is the well known port number used by DNS?

A

53