5. Naming and Addressing Flashcards

1
Q

What addresses do switching and routing use?

A

Switching: hardware addresses, link layer
Routing: IP addresses, network layer

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

What is a MAC address?

A

Each device has a hardware address for each interface. (WiFi interface, ethernet interface etc…)
48 bits long e.g. 00-16-c7-33-9b-c6 so 2^48 unique addresses
Batches of addresses are allocated by IEEE to manufacturers
Usually globally unique
Does not change (the IP address on a mobile device changes with it’s surrounding network)

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

What is the role of a MAC address in datagram delivery?

A

Only used in the context of LAN. Used in the transfer of IP datagrams because they refer to physical interfaces, whereas the IP address refers to the actual network.

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

What is the ARP protocol used for?

A

A node looking for the MAC address that corresponds to the destination IP broadcasts an ARP request. All nodes on the LAN see the request. The node with the correct IP responds with an ARP response. Sender saves the mapping. Other nodes may take note of this mapping too.

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

Describe the IPv4 exhaustion problem.

A

A class A network has 2^24 nodes - too many. A class C network has 2^8 - often not enough. Class B has 2^16 which is too many but is the best fit. This means many are not used and wasted. Having a bunch of class C’s would result in cluttered routing tables. The solution is IPv6 which has 2^128 address, but it is not backwardly compatible with IPv4.

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

What is the purpose of CIDR?

A

Allows for creation of flexible IP address ranges so just the right amount of addresses can be used, no waste. Notation is /n

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

What are the private network ranges?

A
  1. 0.0.0/8
  2. 16.0.0/12
  3. 168.0.0/16
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of the Domain Name System? (DNS)

A

Maps addresses to names. Application layer protocol. If the IP address is not found in memory the application will query DNS servers. Non-root servers forward queries they cannot answer to a root name server. Root name server refers to an authoritative server.

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

What is DHCP?

A

Assigns IP addresses to hosts. Can also return the address of the first-hop router for the client, the name and IP of a DNS server, and network mask. Expire after time to prevent waste of IP addressing.

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