IP Flashcards

1
Q

What happens if everyone sets their packets to the fastest service in Type of Service?

A

The service becomes ineffective as all packets are treated equally

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

Why are fragments not commonly used anymore?

A

Fragments are not commonly used anymore because they create security risks, such as enabling DDoS attacks and packet reassembly vulnerabilities, which attackers can exploit to bypass security measures or disrupt networks.

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

What happens if an attacker sends unfinished fragments repeatedly?

A

The system buffers indefinitely leading to a DDOS attack

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

What is fragmentation in IP?

A

Breaking large packets into smaller ones to fit the MTU

(MTU (Maximum Transmission Unit) is the largest size of a packet that can be sent over a network without needing fragmentation.)

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

Where does fragmentation happen?

A

At networks with smaller MTU sizes

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

Where does packet reassembly happen?

A

Only at at the destination host (e.g., the client or server receiving the data).

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

What happens if one fragment is lost?

A

The entire packet must be retransmitted

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

What does MTU stand for?

A

Maximum Transmission Unit

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

What is the primary issue with fragmentation?

A

It is inefficient and unreliable

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

Does IPv6 support fragmentation?

A

No IPv6 does not support fragmentation

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

What does TTL stand for in IP?

A

Time To Live

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

What happens when a packet’s TTL reaches zero?

A

The packet is discarded and an ICMP error is generated

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

What is the default initial TTL value?

A

Commonly 64 hops but varies by system

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

Does IP guarantee delivery of packets?

A

No IP does not guarantee delivery

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

Does IP provide sequencing for packets?

A

No IP does not provide sequencing.

(it treats each packet independently and does not ensure they arrive in order)

Sequencing and reassembly of packets are handled by higher-layer protocols like TCP.

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

Does IP ensure packet reliability?

A

No IP does not ensure reliability

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

How large are IPv4 addresses?

A

IPv4 addresses are 32 bits long

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

What is the role of the IP header checksum?

A

To detect accidental corruption in the header

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

Does the header checksum improve security?

A

No it does not improve security

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

What are the fields in the IP header measured in?

A

They are measured in bytes

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

What is the typical size of an IP header without options?

A

Twenty bytes

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

What is the purpose of the Version field in the IP header?

A

To specify the version of the protocol

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

What does the IHL field in the IP header represent?

A

The length of the header in 32-bit words (aka 4 bytes)

(Internet Header Length)

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

What happens if the IHL field is greater than five?

A

It indicates that options are present in the header

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Why are IP options generally removed by firewalls?
They are insecure and largely obsolete (IP options are insecure as they can bypass firewalls, exhaust resources, and exploit outdated features, making them a target for attacks.)
26
What is the purpose of the Type of Service field?
It is used for tagging packets based on priority or security
27
Is the Type of Service field widely used today?
No it is not widely used
28
What is the Total Length field in the IP header?
It specifies the total size of the packet in bytes
29
What is the Identification field used for?
To group fragments of the same packet together
30
What is the purpose of the More Fragments flag?
It indicates whether more fragments are expected
31
What is the Fragment Offset field?
It specifies the position of a fragment in the original packet
32
Why are fragments often dropped by firewalls?
Fragments are often dropped by firewalls because they lack enough information for security checks, making them harder to verify and increasing the risk of exploitation.
33
What is Path MTU Discovery?
A process to find the smallest MTU along a packet's route (MTU - maximum transmission unit)
34
How does Path MTU Discovery work?
It sends packets with the DF (don’t fragment) flag set. If they get an error back with that packet, then it reduces size and tries again until it receives no error.
35
What happens if ICMP messages are blocked by firewalls?
Path MTU Discovery fails causing transmission issues
36
What does ICMP stand for?
Internet Control Message Protocol
37
What is the purpose of ICMP?
To send error and diagnostic messages (Internet control message protocol)
38
What is an Echo Request in ICMP?
A message used for pinging another device
39
What is the role of Protocol Numbers in IP?
To identify the next layer protocol such as TCP or UDP
40
What is the protocol number for TCP?
Protocol number six (used in the IP header)
41
What is the protocol number for UDP?
Protocol number seventeen
42
What does the Source Address field in the IP header specify?
The address of the sender
43
What does the Destination Address field in the IP header specify?
The address of the receiver
44
What is RFC791?
The standard that defines IPv4
45
What is RFC1122?
A document providing implementation guidance for IPv4
46
What is the significance of the ARPANET?
It was the precursor to the modern internet
47
Why were IPv4 addresses limited to 32 bits?
Due to hardware limitations (constrained storage and processing power) and anticipated small network sizes
48
Why was classful addressing initially used?
It simplified routing for early hardware
49
What are Class A addresses?
Addresses where the first eight bits identify the network
50
What are Class B addresses?
Addresses where the first sixteen bits identify the network Remaining 16 bits used for host allocations. Provides a good network to host allocation balance.
51
What are Class C addresses?
Addresses where the first twenty-four bits identify the network
52
What are Class D addresses used for?
Multicast
53
What are Class E addresses reserved for?
Experimental purposes
54
What is CIDR?
Classless Interdomain Routing which replaced classful addressing
55
What is the benefit of CIDR?
It allows flexible allocation of address space
56
What does /24 mean in CIDR notation?
It means the first twenty-four bits represent the network
57
What is the private IP range for Class A?
10.0.0.0/8 - 10.255.255.255 The first 8 bits are fixed.
58
What is the private IP range for Class B?
One seventy-two dot sixteen dot zero dot zero slash twelve
59
What is the private IP range for Class C?
One ninety-two dot one sixty-eight dot zero dot zero slash sixteen
60
What is NAT?
Network Address Translation
61
What is the main reason IPv4 addresses are exhausted?
The rapid growth of the internet and devices
62
How many bits are IPv6 addresses?
IPv6 addresses are 128 bits long
63
What is the primary advantage of IPv6 over IPv4?
IPv6 provides a vastly larger address space
64
What does the Flow Label field in IPv6 do?
It groups related traffic to minimize delay (Ex: realtime streaming)
65
What does the Hop Limit field in IPv6 represent?
The maximum number of hops a packet can take
66
What is the purpose of link-local addresses in IPv6?
They are used for communication only within a local network
67
What is the standard notation for IPv6 addresses?
Hexadecimal separated by colons
68
What does double colon in IPv6 addresses mean?
It represents consecutive zeros
69
How does IPv6 simplify routing compared to IPv4?
It reduces reliance on NAT and allows direct global addressing
70
How likely are we to run out of IPv6 addresses?
Extremely unlikely due to the enormous address space
71
What is the minimum MTU size for IPv6?
One thousand two hundred eighty bytes
72
What happens if IPv6 packets are too large for a link?
The source must adjust and resend smaller packets
73
What is the purpose of Neighbour Discovery Protocol in IPv6?
It replaces ARP for address resolution
74
What is the main goal of IPv6 adoption?
To address scalability and future growth of the internet