Chapter 3: IPv4 Addressing Flashcards

1
Q

Explain the differences between TCP, UDP, and ICMP.

A

TCP (Transmission Control Protocol): Connection-oriented, reliable, ensures data is received in the correct order. Uses handshaking (SYN, SYN-ACK, ACK).

UDP (User Datagram Protocol): Connectionless, unreliable, faster, used for streaming and gaming. No handshaking, best-effort delivery.

ICMP (Internet Control Message Protocol): Used for diagnostic and error messages, such as ping and traceroute. Not used for data transfer.

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

What is the significance of the Time to Live (TTL) field in an IP packet?

A

TTL prevents packets from looping indefinitely in the network by limiting the number of hops a packet can take before being discarded. Each router decreases the TTL by 1; when it reaches 0, the packet is discarded.

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

Given the IP address 192.168.1.10 and subnet mask 255.255.255.0, calculate the network address, broadcast address, and range of valid host addresses.

A

Network address: 192.168.1.0
Broadcast address: 192.168.1.255
Range of valid host addresses: 192.168.1.1 to 192.168.1.254

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

Describe the differences between classful and classless IP addressing.

A

Classful addressing: Uses fixed IP address classes (A, B, C, D, E) with predetermined subnet masks.

Classless addressing: Uses variable-length subnet masks (VLSM) to allocate IP addresses more efficiently, defined by CIDR notation (e.g., 192.168.1.0/24).

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

List the ranges of private IP addresses for Class A, B, and C.

A

Class A: 10.0.0.0 to 10.255.255.255

Class B: 172.16.0.0 to 172.31.255.255

Class C: 192.168.0.0 to 192.168.255.255

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