IP Headers Flashcards

1
Q

Version

A

Identifies the versio of IP used (4 bits)
IPv4
IPv6

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

IHL (Internet Header Length)

A

4 bits
Min value = 5 (5 x 4 bytes = 20 bytes with an empty options field)
Max value = 15 (15 x 4 bytes = 60 bytes)

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

Options

A

variable in length, and necessary to indicate the total length of the header. (0 - 320 bits)
Specifies the length of the header in 4-byte increments.
If the value in this field is 5 then:
5 x 4 bytes = 20 bytes

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

DSCP (Differentiated Services Code Point)

A

Length: 6 bits
Used for QoS (Quality of Service)
Used to prioritize delay-sensitive data

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

ECN (Explicit Congestion Notification)

A

Length 2 bits
Provides end-to-end notification of network congestion without dropping packets

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

Total Length

A

Indicates the total length of the packet (L3 Header + L4 Segment)
Lenght: 16 bits

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

Identification

A

Length: 16 bits
If a packet is fragmented due to being too large this field will be used to identify which packet the frame belongs to.
All fragments of the same packet will have their own IPv4 header with the same value in this field

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

Flags

A

Used to control/identify fragments
Bit 0 Reserved, always set to 0
Bit 1 Dont Fragment
Bit 2 More Fragments

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

Fragment Offset

A

Used to indicate the position of the fragment within the original unfragmented IP packet
Length: 13 bits
Allows fragments to be reassembled in the correct order even if they arrive out of order.

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

TTL (Time to Live)

A

A router will drop a TTL of 0
Used to prevent infinite loops

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

Protocol

A

Indicates the protocol
TCP (6) / UDP (17) / ICMP (1) / OSPF (89)

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

Header Checksum

A

Checks for errors in IPv4 header

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