Chapter 5 Flashcards

(37 cards)

1
Q

What does the transport layer do?

A

Links application layer to the network; breaks messages into packets and reassembles them at the destination.

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

What does the network layer do?

A

Handles addressing, routing, and breaking messages into packets for the data link layer.

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

What does TCP do in TCP/IP?

A

Performs packetizing, ensures reliable delivery, and reorders packets at the destination.

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

What does IP do in TCP/IP?

A

Handles routing and addressing through intermediate devices.

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

Who uses TCP/IP?

A

The Internet and most backbone, metropolitan, and wide area networks.

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

What are the three types of network addresses?

A

Application layer (e.g., web address), network layer (IP address), data link layer (MAC/Ethernet address).

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

What is the difference between TCP and UDP?

A

TCP is connection-oriented and reliable; UDP is connectionless and faster but unreliable.

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

What is connection-oriented routing?

A

Sets up a virtual circuit where all packets follow the same path; reliable and ordered delivery.

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

What is connectionless routing?

A

Each packet travels independently; packets may take different routes and arrive out of order.

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

How does TCP establish a session?

A

Sends a SYN packet to request a connection; receiver accepts and agrees on packet size.

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

What is a subnet?

A

A logical group of devices within a network, sharing similar IP address prefixes.

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

What is a subnet mask?

A

A number used to identify which portion of an IP address represents the subnet.

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

What is dynamic addressing?

A

A method where a DHCP or BOOTP server assigns IP addresses to devices on request.

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

What are benefits of dynamic addressing?

A

Simplifies network management; addresses can be leased and reused.

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

What is address resolution?

A

The process of translating names into IP addresses and IP addresses into MAC addresses.

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

How does TCP/IP resolve domain names?

A

Uses DNS servers to translate domain names to IP addresses.

17
Q

How does TCP/IP resolve MAC addresses?

A

Uses ARP to broadcast a request on the subnet asking for the MAC address of an IP address.

18
Q

What is routing?

A

The process of determining the path messages take through the network from source to destination.

19
Q

What is centralized routing?

A

Routing decisions made by a single host computer; simple and used in small networks.

20
Q

What is decentralized routing?

A

Each device makes its own routing decisions using routing protocols; used in larger networks.

21
Q

What is a session?

A

A logical connection or conversation between two computers for data exchange.

22
Q

What is QoS (Quality of Service) routing?

A

Connection-oriented routing that prioritizes packets (e.g., video > email).

23
Q

What is unicast?

A

A message sent from one computer to another single computer.

24
Q

What is broadcast?

A

A message sent to all computers on a LAN or subnet.

25
What is multicast?
A message sent to a specific group of computers.
26
How does multicast work?
Computers join a multicast group using IGMP and receive messages sent to a special Class D IP address.
27
How does a client find the MAC address of its gateway?
It sends an ARP broadcast asking for the MAC address of the known gateway IP.
28
How does HTTP use TCP?
HTTP sends messages through TCP for reliable delivery between client and server.
29
How does DNS use UDP?
DNS uses connectionless UDP to quickly send domain name queries and responses.
30
What is static routing?
Routing paths manually set by the network admin; used in simple or stable networks.
31
What is dynamic routing?
Routers automatically adjust routes based on network conditions; used in complex networks.
32
What type of routing does a TCP/IP client use?
Static routing — it always sends traffic to a set gateway.
33
What type of routing does a TCP/IP gateway use?
Dynamic routing — it chooses routes based on current network conditions.
34
What is the transmission efficiency of a 10-byte web request?
10/192 = 0.05 or 5%
35
What is the efficiency of a 1000-byte file in HTTP, TCP/IP, and Ethernet?
1000/1171 = 0.85 or 85%
36
What is the overall efficiency of a 5000-byte file split into packets?
Average efficiency is 0.83 or 83%
37
What is a router made of?
CPU, memory, and ports; no hard disk, monitor, or keyboard like a standard computer.