Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter 2
The TCP/IP and OSI Networking Models Networking architecture
An organized set of documents. Describe one small function required for a network.
Protocol
a set of logical rules that devices must follow to communicate.
Chapter Goal
Understand networking model and how it works
Do I know this?
Go through the Quiz5 minutes
1. Which of the following protocols are examples of TCP/IP transport layer protocols? a. Ethernet b. HTTP c. IP d. UDP e. SMTP f. TCP
1. Which of the following protocols are examples of TCP/IP transport layer protocols? a. Ethernet b. HTTP c. IP d. UDP e. SMTP f. TCP Answer: D & F
2. Which of the following protocols are examples of TCP/IP network access layer protocols? a. Ethernet b. HTTP c. IP d. UDP e. SMTP f. TCP g. PPP
2. Which of the following protocols are examples of TCP/IP network access layer protocols? a. Ethernet b. HTTP c. IP d. UDP e. SMTP f. TCP g. PPP Answer: A &G
3. The process of HTTP asking TCP to send some data and make sure that it is received correctly is an example of what? a. Same-layer interaction b. Adjacent-layer interaction c. The OSI model d. All the other answers are correct.
3. The process of HTTP asking TCP to send some data and make sure that it is received correctly is an example of what? a. Same-layer interaction b. Adjacent-layer interaction c. The OSI model d. All the other answers are correct. Answer: B
4. The process of TCP on one computer marking a segment as segment 1, and the receiving computer then acknowledging the receipt of segment 1, is an example of what? a. Data encapsulation b. Same-layer interaction c. Adjacent-layer interaction d. The OSI model e. None of these answers are correct.
4. The process of TCP on one computer marking a segment as segment 1, and the receiving computer then acknowledging the receipt of segment 1, is an example of what? a. Data encapsulation b. Same-layer interaction c. Adjacent-layer interaction d. The OSI model e. None of these answers are correct. Answer: B
5. The process of a web server adding a TCP header to a web page, followed by adding an IP header, and then a data link header and trailer is an example of what? a. Data encapsulation b. Same-layer interaction c. The OSI model d. All of these answers are correct.
5. The process of a web server adding a TCP header to a web page, followed by adding an IP header, and then a data link header and trailer is an example of what? a. Data encapsulation b. Same-layer interaction c. The OSI model d. All of these answers are correct. Answer: A
6. Which of the following terms is used specifically to identify the entity that is created when encapsulating data inside data link layer headers and trailers? a. Data b. Chunk c. Segment d. Frame e. Packet f. None of thesethere is no encapsulation by the data link layer.
6. Which of the following terms is used specifically to identify the entity that is created when encapsulating data inside data link layer headers and trailers? a. Data b. Chunk c. Segment d. Frame e. Packet f. None of thesethere is no encapsulation by the data link layer. Answer: D
7. Which OSI layer defines the functions of logical network-wide addressing and routing? a. Layer 1 b. Layer 2 c. Layer 3 d. Layer 4 e. Layer 5 f. Layer 6 g. Layer 7
7. Which OSI layer defines the functions of logical network-wide addressing and routing? a. Layer 1 b. Layer 2 c. Layer 3 d. Layer 4 e. Layer 5 f. Layer 6 g. Layer 7 Answer: C
8. Which OSI layer defines the standards for cabling and connectors? a. Layer 1 b. Layer 2 c. Layer 3 d. Layer 4 e. Layer 5 f. Layer 6 g. Layer 7
8. Which OSI layer defines the standards for cabling and connectors? a. Layer 1 b. Layer 2 c. Layer 3 d. Layer 4 e. Layer 5 f. Layer 6 g. Layer 7 Answer: A
. Which OSI layer defines the standards for data formats and encryption? a. Layer 1 b. Layer 2 c. Layer 3 d. Layer 4 e. Layer 5 f. Layer 6 g. Layer 7
. Which OSI layer defines the standards for data formats and encryption? a. Layer 1 b. Layer 2 c. Layer 3 d. Layer 4 e. Layer 5 f. Layer 6 g. Layer 7 Answer: F
10. Which of the following terms are not valid terms for the names of the seven OSI layers? a. Application b. Data link c. Transmission d. Presentation e. Internet f. Session
10. Which of the following terms are not valid terms for the names of the seven OSI layers? a. Application b. Data link c. Transmission d. Presentation e. Internet f. Session Answer: C & E
Any Questions?
Foundation Topics
TCP/IP is most widely supported protocol Early Protocols were owned by the company that wrote them
Each vendor had different network. Interoperability was difficult
ISO organized to write a standard in the late 1970s DARPA also started a standard
TCP/IP
Pg 21
TCP/IP Architecture
Pg 22
Pg 23
Pg 23
Request
HTTP Header-Get home.htm
Reply
HTTP OK-Sends contents
Pg 24
Any Questions?
Reliability by TCP
TCP headers manage the flow of data If data is lost, TCP resends the data Adjacent-layer interaction
Pg 26
Reliability by TCP
Application and Transport Layer can ignore lower layers Work the same way regardless of whether the computers are communicating on a LAN or over the Internet Lower layers deal with the physical network
Pg 27
Any Questions?
Another City
Goes to your post office, then to main post office, then to main post office in other city, then to friends post office, then to friend
Pg 27
IP Routing
So that routers can make decisions on where to send the packets of data
Pg 27
IP Packet
IP Header TCP Header Application Header Application Data (none in this case)
Pg 28
Bob Sends packet to router R2 R2 examines destination IP address R2 makes routing decision based on known topology
Knows that Larry must be on other side of R1
Any Questions?
R1 does the same strip of PPP information and adds new Ethernet information
Pg 29
Pg 29
Any Questions?
Application Layer
Encpasulates web page with HTTP header
Transport Layer
Encpasulated HTTP header and data in TCP header
Etc
Pg 30
Pg 30
Pg 31
Any Questions?
Pg 32
Pg 33
OSI Network Layer is like TCP/IP Internet Layer-why? Defines logical addressing Defines routing TCP/IP Transport layer defines error recovery-like OSI Transport layer TCP is called Layer 4 protocol
Pg 33
Many devices actually understand protocols at multiple layers, but highest is mentioned.
Pg 35
All People Seem To Need Data Processing Please Do Not Throw Sausage Pizza Away
Pg 35
Pg 36
Pg 37
Any Questions?
See CD in back of book for additional printable appendices Appendix H-Memory Tables
Pg 38
Any Questions?