
184 CHAPTER 5 NETWORK AND TRANSPORT LAYERS
QUESTIONS
1. What does the transport layer do?
2. What does the network layer do?
3. What are the parts of TCP/IP and what do they
do? Who is the primary user of TCP/IP?
4. Compare and contrast the three types of
addresses used in a network.
5. How is TCP different from UDP?
6. How does TCP establish a session?
7. What is a subnet and why do net-
works need them?
8. What is a subnet mask?
9. How does dynamic addressing work?
10. What benefits and problems does dynamic
addressing provide?
11. What is address resolution?
12. How does TCP/IP perform address resolution
from URLs into network layer addresses?
13. How does TCP/IP perform address resolution
from IP addresses into data link l ayer addresses?
14. What is routing?
15. How does decentralized routing differ
from centralized routing?
16. What are the differences between connection-
less and connection-oriented messaging?
17. What is a session?
18. What is QoS routing and why is it useful?
19. Compare and contrast unicast, broadcast,
and multicast messages.
20. Explain how multicasting works.
21. Explain how the client computer in Figure 5.14
(128.192.98.xx) would obtain the data link
layer address of its subnet router.
22. Why does HTTP use TCP and DNS use UDP?
23. How does static routing differ from dynamic
routing? When would you use static routing?
When would you use dynamic routing?
24. What type of routing does a TCP/IP client
use? What type of routing does a TCP/IP
gateway use? Explain.
25. What is the transmission efficiency
of a 10-byte Web request sent using
HTTP, TCP/IP, and Ethernet? Assume
the HTTP packet has 100 bytes in addi-
tion to the 10-byte URL. Hint: Remem-
ber from Chapter 4 that efficiency = user
data/total transmission size.
26. What i s the transmission efficiency of
a 1,000-byte file sent in response to a
Web request HTTP, TCP/IP, and Ether-
net? Assume the HTTP packet has 100
bytes in addition to the 1,000-byte file.
Hint: Remember from Chapter 4 that efficiency
= user data/total transmission size.
27. What is the transmission efficiency of a
5,000-byte file sent in response to a Web
request HTTP, TCP/IP, and Ethernet? Assume
the HTTP packet has 100 bytes in addi-
tion to the 5,000-byte file. Assume that the
maximum packet size is 1,200 bytes. Hint:
Remember from Chapter 4 that efficiency =
user data/total transmission size.
28. Describe the anatomy of a router. How does
a router differ from a computer?
EXERCISES
5-1. Would you recommend dynamic addressing for
your organization? Why?
5-2. Look at your network layer software (either on a
LAN or dial-in) and see what options are set—but
don’t change them! You can do this by using the
RUN command to run winipcfg. How do these
match the fundamental addressing and routing con-
cepts discussed in this chapter?
5-3. Suppose a client computer (128.192.95.32) in
Building B in Figure 5.13 requests a large Web page
from the server in Building A (www1.anyorg.com).
Assume that the client computer has just been