Академический Документы
Профессиональный Документы
Культура Документы
Major Networking
Concepts: Reference
Kashif Amjad
Models
Packets
Bob
The
The
Internet
Internet
2
Intranet
Internet
TCP/IP
The Transmission Control Protocol (TCP) is
one of the core protocols of the Internet
protocol suite (IP), and is so common that the
entire suite is often called TCP/IP.
TCP provides reliable, ordered, error-checked
delivery of a stream of bits between programs
running on computers connected to a local
area network, intranet or the public Internet.
It resides at the transport layer.
Network Software
Protocol Hierarchies
10
2
11
Where is it on my computer?
Workstation or Server Service in
MS Windows
3
12
Presentation Layer
13
Session Layer
Allows applications to
maintain an ongoing
session
Where is it on my
computer?
Workstation and Server
Service (MS)
Windows Client for
NetWare (NetWare)
3
14
Transport Layer
15
Transport layer
Network Layer
Provides network-wide
addressing and a mechanism to
move packets between networks
(routing)
Responsibilities:
Network addressing
Routing
3
17
Example:
IP from TCP/IP
Network Addresses
Network-wide addresses
Used to transfer data across subnets
Used by routers for packet forwarding
Example:
IP Address
Where is it on my computer?
TCP/IP Software
18
19
21
Physical Layer
Examples:
22
Cabling
Interconnect methods (topology /
devices)
Data encoding (bits to waves)
Electrical properties
Ethernet (IEEE 802.3)
Token Ring (IEEE 802.5)
Wireless (IEEE 802.11b)
Physical layer
Cabling
Twister Pair
Fiber Optic
Coax Cable
24
25
OSI layers
26
Data Encapsulation In
TCP/IP
At each layer in the TCP/IP protocol stack
Header
27
Presentation
Session
Transport
Network
Data-Link
Physical
28
All
People
Seem
To
Need
Data
Processing
29
30
Layer 4: Application
Layer 3: Transport
Layer 2: Internet
Layer 1: Network access
32
33
The transport layer deals with the quality-ofservice issues of reliability, flow control, and
error correction.
34
Connection oriented
Reliable
Connectionless
35
36
37
Layer
Application
Protocols
HTTP
TELNET
FTP
SMTP
Transport
TCP
UDP
Internet
IP
ICMP
Network Access
(Host-to-network)
ETHERNET
SNMP
PACKET RADIO
38
HTTP:
FTP :
TELNET:
POP3 is designed to delete mail on the server as soon as the user has
downloaded it
Retrieve emails,
retaining e-mail on the server and for organizing it in folders on the serve
39
Connection oriented
Connection established before sending data
Reliable
Connectionless
Sending data without establishing connection
Fast but unreliable
40
IP
Path selection ,
routing and addressing
41
Ethernet
Uses CSMA/CD
Token Ring
42
Data Formats
Application data
application
layer
transport
layer
network
layer
data link
layer
TCP
header
TCP
header
data
IP
TCP
header header
data
Ethernet
IP
TCP
header header header
data
data
message
TCP
header
data
segment
packet
Ethernet
trailer
frame
43
Packet Encapsulation
The data is sent down the protocol stack
(TCP/IP)
22Bytes20Bytes20Bytes
4Bytes
64 to 1500 Bytes
44
7th
Application
Layer
6th
Presentation
Layer
5th
TCP/IP
Hierarchy
Protocols
Application
Layer
Session Layer
4th
Transport Layer
3rd
Network Layer
2nd
Link Layer
1st
Physical Layer
Transport
Layer
Network
Layer
Link Layer
Link Layer
: includes device driver and network interface
card
Network Layer
: handles the movement of packets, i.e.
Routing
Transport Layer : provides a reliable flow of data between two
hosts
45
Application Layer : handles the details of the particular
Internet applications
46
Client-Server model
Client and server processes operate on machines which are able to communicate through a
network:
Example of servers
File servers
Web servers
Browsers
Email clients
47
Ports
Port 0
Port 1
Port 65535
48