Network Layer Flashcards

1
Q

What is the main responsibility of the network layer?

A

Routing. This is the mechanism for exchanging packets between different local area networks and delivering them across multiple intermediate networks to their correct destinations

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

What does each device need per NIC in order to send, receive and route messages?

A

Each device needs at least one IP address for reach Network Interface Card.

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

What is the original Internet Protocol used for building the Internet?

A

IPv4, which is still the most widely used protocol

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

How long is an IP address in IPv4?

A

32 bits long

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

What is “dotted-decimal-notation”?

A

4 decimal numbers representing 4 bytes separates by dots. This is to make the addresses more human-readable

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

Explain the hierarchical order of IP addresses?

A

The first two bytes, (ex 130.194) identifies the network. (ex Monash University).
The network is then divided into subnets which are identified by a number of extra bits on the IP address. So an address beginning with 130.194.66.43 will identify a subnet of the Monash Network. The remaining 8 bits identify the host (the device in the subnet)

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

What is a subnet mask?

A

It tells but how many bits of an IP address are used for the network and how many are used for the subnet mask. So 130.194.66/24 where 24 identifies the number of bits for network and subnet. Then the subnet mask is written as 255.255.255.0 ( 24 1s and 8 0s)

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

In general, how many subnets correspond to how many LANs?

A

1 subnet to 1 LAN. All the devices inside an LAN typically those connected to the same switch, belonging to the same subnet
1:1

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

When was IPv6 was introduced?

A

1998

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

What is the difference between IPv4 and IPv6?

A

IPv6 has the address size from 32 bits to 128 bits. 2^128.

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

What are the three different types of addresses we’ve seen?

A
  • Human-readable addresses (URLs or email addresses)
  • IP addresses
  • MAC addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the DNS responsible for?

A

The Domain Name System is responsible for mapping human-readable addresses to IP addresses. it is implemented as an application-layer protocol, where clients send a DNS request to a special DNS server, which would ask the IP address, and the DNS server would send a reply.

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

What is iterative DNS?

A

A client wants find out the IP address of a domain name,

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