Professional Documents
Culture Documents
Netprog: OSI Reference Model
Netprog: OSI Reference Model
Network
n Point-to-point
– only 2 systems involved
– no doubt about where data came from !
Netprog: OSI Reference Model
3
Multiaccess Point-to-point
Internetwork
n Connection of 2 or more distinct (possibly
dissimilar) networks.
n Requires some kind of network device to
facilitate the connection.
Net A Net B
n Layered model:
7. Application
6. Presentation
5. Session
4. Transport
3. Network
2. Data Link
1. Physical
Netprog: OSI Reference Model
9
The Physical Layer
n Responsibility:
– transmission of raw bits over a communication
channel.
n Issues:
– mechanical and electrical interfaces
– time per bit
– distances
n Responsibilities:
– establishes, manages, and terminates sessions
between applications.
– service location lookup
n Responsibilities:
– data encryption
– data compression
– data conversion
n Many protocol suites do not include a
Presentation Layer.
n Responsibilities:
– anything not provided by any of the other layers
n Issues:
– application level protocols
– appropriate selection of “type of service”
Data Link:
– address of the receiving endpoints
– address of the sending endpoint
– length of the data
– checksum.
Connecting Networks
Repeater
REPEATER
BRIDGE
Router
n Copies packets from one network to another.
n Makes decisions about what route a packet
should take (looks at network headers).
ROUTER
Gateway
n Operates as a router
n Data conversions above the network layer.
n Conversions:
encapsulation - use an intermediate network
translation - connect different application protocols
encrpyption - could be done by a gateway
Gateway Gateway
Translation
Gateway
Encryption gateway
Secure Secure
Encryption/Decryption
Network Network
Gateways
GW ? GW
?
?
Insecure Network
Byte Ordering
n Different computer architectures use
different byte ordering to represent multibyte
values.
n 16 bit integer:
Byte Ordering
Little-Endian Big-Endian
Low Byte High Byte High Byte Low Byte
0000000000000010
Multiplexing
Connection-Oriented vs.
Connectionless Service
n A connection-oriented service includes the
establishment of a logical connection
between 2 processes.
– establish logical connection
– transfer data
– terminate connection.
n Connectionless services involve sending of
independent messages.
Netprog: OSI Reference Model
38
Sequencing
Flow Control
End-to-End
Process A
Process B
Process A
Process B
Buffering
Send Recv.
Process A Process B
Buffer Buffer
Addresses
Broadcasts