CP1402 Week 2 I OSI and Troubleshooting STUDENT
CP1402 Week 2 I OSI and Troubleshooting STUDENT
Fundamentals
OSI Model
The Seven-Layer OSI Model
2
The Seven-Layer OSI Model
All
People
Seem
To
Need
Data
Processing
Please
Do
Not
Tell
Stupid
People
Anything 3
Layer 7: Application Layer
• Application layer - describes the interface between
two applications, on separate computers
• Application layer protocols are used by programs that
fall into two categories:
– Provide services to a user, such as a browser and Web
server
– Utility programs that provide services to the system, such
as SNMP that monitor and gather information about
network traffic
• Note: applications themselves are not considered
part of the application layer!
4
Layer 6: Presentation Layer
5
Layer 5: Session Layer
8
Layer 3: Network Layer
• Network layer - responsible for moving
messages from one node to another until
reaches destination
• IP adds its own Network layer header to the
segment or datagram
– The entire Network layer message is called a
packet
• IP address - assigned to each node on a
network
– Network layer uses it to uniquely identify each
host 9
Layer 2: Data Link Layer
10
Layer 2: Data Link Layer
11
Layer 2: Data Link Layer
12
Layer 2: Data Link Layer
• Two Data Link layer sublayers
– LLC (Logical Link Control) sublayer
– MAC (Media Access Control) sublayer
• MAC sublayer
– Manages access to the physical medium
– Appends physical address of destination computer onto
data frame
Layer 1: Physical Layer
14
Protocol Data Unit or PDU
15
Protocol Data Unit or PDU
• Layers 5-7
– PDU is called the data or payload
• Layer 4
– PDU is called a segment (TCP) or datagram (UTP)
• Layer 3
– PDU is called a packet
• Layer 2
– PDU is called a frame
• Layer 1
– PDU consists of bits
16
Summary of How the Layers Work Together
17
Summary of How the Layers Work Together
18
Summary of How the Layers Work Together
Sending host
1. The browser, involving the Application, Presentation, and Session layers, creates an
HTTP message or payload on its source computer and passes it down to the Transport
layer.
2. The Transport layer (TCP, which is part of the OS) encapsulates the payload by adding
its own header and passes the segment down to the Network layer.
3. IP at the Network layer in the OS receives the segment, adds its header and trailer,
and passes the frame to the Physical layer.
4. The Data Link layer on the NIC firmware receives the packet, adds its header and
trailer, and passes the frame to the Physical layer.
5. The Physical layer on the NIC hardware puts bits on the network.
Switch
6. The network transmission is received by a Data Link layer switch, which passes the
frame up to the Data Link layer (firmware on the switch), which looks at the
destination MAC address to decide where to send the frame.
7. The pass-through frame is sent to the correct port on the switch and on to the router.
19
Summary of How the Layers Work Together
Router
8. The router has two NICs, one for each of the two networks to which it belongs. The
Physical layer of the first NIC receives the frame and passes it up to the Data Link layer
(NIC firmware), which removes the frame header and trailer and passes the packet up
to IP at the Network layer (firmware program or other software) on the router.
9. This Network layer IP program looks at the destination IP address and determines the
node en route for the packet and passes the packet back down to the Data Link layer
on the second NIC. The Data Link layer adds a new frame header and trailer
appropriate for this second NIC’s LAN, including the MAC address of the next
destination node. It passes this frame to its Physical layer (NIC hardware), which
sends the bits on their way.
Destination host
10. When the frame reaches the destination host NIC, the Data Link layer NIC firmware
receives it, removes the frame header and trailer, and passes the packet up to IP at the
Network layer, which removes its header and passes the segment up to TCP at the
Transport layer.
11. TCP removes its header and passes the payload up to HTTP at the Application layer.
HTTP presents the message to the Web server.
20
HTTP Example
Summary
Introduction to Troubleshooting
Troubleshooting Network Problems
24
Troubleshooting Network Problems
• Troubleshooting steps
3. Test theory to determine cause
• If theory confirmed, determine next steps
• If theory not confirmed, establish new theory or
escalate
4. Establish action plan
5. Implement solution or escalate the problem
6. Verify full functionality
• Implement preventative measures if applicable
7. Document findings, actions, outcomes
25
26
Summary
• Troubleshooting steps
1. Identify the problem
2. Establish theory of probable cause
3. Test theory to determine cause
4. Establish action plan
5. Implement solution or escalate
6. Verify full functionality
7. Document findings, actions, outcomes
27