IP: Internet Protocol Flashcards

0
Q

What path are two consecutive IP datagrams guaranteed to take?

A

None, IP is a connectionless protocol.

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

What happens when something goes wrong delivering a Datagram? (Such as a router with a full buffer)

A

The Datagram is dropped and a ICMP message is send to the source address.

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

What byte ordering is required of all data in an IP header?

A

Big-Endian.

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

What is in the header length field of a 20 byte IP header?

A
  1. Header length is the number of 32-bit words in a header.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How large is the header length field in an IP header and what limitations does that put on the size of the header?

A

4 bits. Which limits the header size to 60 bytes.

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

What does TOS stand for in an IP header?

A

Type of service.

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

How large is the TOS field in an IP header and how is it laid out at the bit level?

A

8 bits. 3-bit precedence field (now ignored), 4-bit TOS, 1-bit trailer that must be set to zero.

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

What types of service can be specified in the TOS field in the IP header?

A

Minimize delay, maximize throughput, maximize reliability, minimize monetary cost.

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

How many of the TOS bits in the IP header can be set at one time?

A

1

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

If none of the bits in the TOS field of the IP header are set, what type of service does that signify?

A

Normal service.

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

What does the total length field in an IP header represent?

A

The total size of the datagram in bytes.

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

How large is the total length field in an IP header and what is the size limitation that imposes?

A

Total length field is 16-bits which limits the total datagram size to 65535 bytes (64k).

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

What does Ethernet do to an IP datagram that is less than 46 bytes in length?

A

Adds padding of zeroes until the minimum length (46 bytes) is reached.

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

What does the identification field in an IP header do?

A

Uniquely identifies each datagram sent by a host.

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

What is the maximum size of an IP datagram that a host is required to receive?

A

576 bytes

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

What layer of the OSI model populates the identification field in an IP header and what are the implications of that?

A

The transport layer, meaning it’s possible to receive a TCP and UDP datagram with the same identifier.

16
Q

What does the time-to-live (TTL) field in an IP header represent?

A

The maximum number of routers the datagram can pass through.

17
Q

What happens to the TTL field every time it passes through a router?

A

It is decremented by one.

18
Q

What happens when the TTL field reaches zero?

A

The datagram is dropped and an ICMP message is sent back to the source.

19
Q

How large is the protocol field in an IP header and what does it represent?

A

8-bits. It represents the protocol that is asking IP to send the datagram.

20
Q

What protocol value in an IP header signifies TCP?

21
Q

What protocol value in an IP header signifies UDP?

22
Q

What is the range for class A IP addresses?

A

0.0.0.0 - 127.255.255.255

23
Q

What is the range for class B IP addresses?

A

128.0.0.0 - 191.255.255.255

24
What is the range for class C IP addresses?
192.0.0.0 - 223.255.255.255
25
What is the range for class D IP addresses?
224.0.0.0 - 239.255.255.255
26
What is the range for class E IP addresses?
240.0.0.0 - 247.255.255.255
27
What in memory data structure does IP use to determine where to send the Datagrams it receives?
Routing table
28
What destination address changes when routing IP packets?
The link layer address (usually MAC address). Destination IP address does not change only the encapsulating frame.
30
What are the 3 types of routes found in a routing table?
Host-specific routes, network-specific routes, and default route.
31
What Windows command allows you to view the routing table?
route print or netstat -r
32
What is the subnet for Class A IP addresses?
255.0.0.0
33
What is the subnet for Class B IP Addresses?
255.255.0.0
34
What is the subnet for Class C IP Addresses?
255.255.255.0
35
How is a Class A subnet denoted using the CIDR notation?
/8
36
How is a Class B subnet denoted using the CIDR notation?
/16
37
How is a Class C subnet denoted using the CIDR notation?
/24