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
Q

Why are IP options generally removed by firewalls?

A

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.)

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

What is the purpose of the Type of Service field?

A

It is used for tagging packets based on priority or security

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

Is the Type of Service field widely used today?

A

No it is not widely used

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

What is the Total Length field in the IP header?

A

It specifies the total size of the packet in bytes

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

What is the Identification field used for?

A

To group fragments of the same packet together

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

What is the purpose of the More Fragments flag?

A

It indicates whether more fragments are expected

31
Q

What is the Fragment Offset field?

A

It specifies the position of a fragment in the original packet

32
Q

Why are fragments often dropped by firewalls?

A

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
Q

What is Path MTU Discovery?

A

A process to find the smallest MTU along a packet’s route

34
Q

How does Path MTU Discovery work?

A

It sends packets with the DF flag set and reduces size if fragmentation is needed

35
Q

What happens if ICMP messages are blocked by firewalls?

A

Path MTU Discovery fails causing transmission issues

36
Q

What does ICMP stand for?

A

Internet Control Message Protocol

37
Q

What is the purpose of ICMP?

A

To send error and diagnostic messages

38
Q

What is an Echo Request in ICMP?

A

A message used for pinging another device

39
Q

What is the role of Protocol Numbers in IP?

A

To identify the next layer protocol such as TCP or UDP

40
Q

What is the protocol number for TCP?

A

Protocol number six

41
Q

What is the protocol number for UDP?

A

Protocol number seventeen

42
Q

What does the Source Address field in the IP header specify?

A

The address of the sender

43
Q

What does the Destination Address field in the IP header specify?

A

The address of the receiver

44
Q

What is RFC791?

A

The standard that defines IPv4

45
Q

What is RFC1122?

A

A document providing implementation guidance for IPv4

46
Q

What is the significance of the ARPANET?

A

It was the precursor to the modern internet

47
Q

Why were IPv4 addresses limited to 32 bits?

A

Due to hardware limitations and anticipated small network sizes

48
Q

Why was classful addressing initially used?

A

It simplified routing for early hardware

49
Q

What are Class A addresses?

A

Addresses where the first eight bits identify the network

50
Q

What are Class B addresses?

A

Addresses where the first sixteen bits identify the network

51
Q

What are Class C addresses?

A

Addresses where the first twenty-four bits identify the network

52
Q

What are Class D addresses used for?

A

Multicast

53
Q

What are Class E addresses reserved for?

A

Experimental purposes

54
Q

What is CIDR?

A

Classless Interdomain Routing which replaced classful addressing

55
Q

What is the benefit of CIDR?

A

It allows flexible allocation of address space

56
Q

What does /24 mean in CIDR notation?

A

It means the first twenty-four bits represent the network

57
Q

What is the private IP range for Class A?

A

Ten dot zero dot zero dot zero slash eight

58
Q

What is the private IP range for Class B?

A

One seventy-two dot sixteen dot zero dot zero slash twelve

59
Q

What is the private IP range for Class C?

A

One ninety-two dot one sixty-eight dot zero dot zero slash sixteen

60
Q

What is NAT?

A

Network Address Translation

61
Q

What is the main reason IPv4 addresses are exhausted?

A

The rapid growth of the internet and devices

62
Q

How many bits are IPv6 addresses?

A

IPv6 addresses are 128 bits long

63
Q

What is the primary advantage of IPv6 over IPv4?

A

IPv6 provides a vastly larger address space

64
Q

What does the Flow Label field in IPv6 do?

A

It groups related traffic to minimize delay

65
Q

What does the Hop Limit field in IPv6 represent?

A

The maximum number of hops a packet can take

66
Q

What is the purpose of link-local addresses in IPv6?

A

They are used for communication within a local network

67
Q

What is the standard notation for IPv6 addresses?

A

Hexadecimal separated by colons

68
Q

What does double colon in IPv6 addresses mean?

A

It represents consecutive zeros

69
Q

How does IPv6 simplify routing compared to IPv4?

A

It reduces reliance on NAT and allows direct global addressing

70
Q

How likely are we to run out of IPv6 addresses?

A

Extremely unlikely due to the enormous address space

71
Q

What is the minimum MTU size for IPv6?

A

One thousand two hundred eighty bytes

72
Q

What happens if IPv6 packets are too large for a link?

A

The source must adjust and resend smaller packets

73
Q

What is the purpose of Neighbour Discovery Protocol in IPv6?

A

It replaces ARP for address resolution

74
Q

What is the main goal of IPv6 adoption?

A

To address scalability and future growth of the internet