Professional Documents
Culture Documents
Broadcasting Network:
• All computers shared
a common
communication
channel
• One computer
transmits, all others
can receive
• At any instance, only
one computer can
transmit
Classifying Computer networks
by data transmission method
REPEATER
HUB
• Broadcast network
• High bandwidth network
• Topology: Bus, Star, Ring
Bus topology
• Scope:
– A city
– A metropolitan area
WAN – Wide Area Network
• Wireless WAN
Internetwork
Internetwork
Host 1 Host 2
Layer 5
Layer 5 Protocol
Layer 5
Interface
Layer 4
Layer 4 Protocol
Layer 4
Interface
Layer 3
Layer 3 Protocol
Layer 3
Interface
Layer 2
Layer 2 Protocol
Layer 2
Interface
Layer 1
Layer 1 Protocol
Layer 1
Physical Medium
Hierarchy of computer network
protocols
Three layer file transfer model
• Connection-oriented services
– Operate using the similar model as that of telephone
network
– Establish and terminate communication Channel
• Connectionless services
– Postal model
– Data sent in packets
– Packet header contains address of receiver
Network Services
Primitives of connection oriented
services
• A service is formally specified by a set of primitives
(functions) to a user process to us the service.
• Following are primitives of the connection-oriented
service
Primitive Function
LISTEN Block and wait for a connection request
CONNECT Request to establish a connection
RECIEVE Block and wait for a message arrival
SEND Send a message
DISCONNECT Terminate a connection
Primitives of connection oriented
services
Server Client
LISTEN
CONNECT
RECIEVE SEND
SEND RECIEVE
DISCONNECT DISCONNECT
Service vs Protocol
Application
Protocol
Interface 4/3
Physical layer
n+1 n+1
entity n+1-PDU entity • n Entity (thực thể) = một
tiến trình ở tầng n
n-SDU n-SDU
• SAP = Service Access
n-SAP n-SAP Point
n-SDU H • SDU = Service Data Unit
n n • PDU = Protocol Data Unit
entity entity • H=Header
H n-SDU
n-PDU
Example of layer hierarchy
Example of layer hierarchy