Professional Documents
Culture Documents
2
OSI-Model
3
OSI-Model
• Physical Layer
– Physical connectors
– Provides access to the cables
– Everything you can “touch” since it's physical
• Data Link
– Add MAC Addresses (Physical Address)
– Ensure data is delivered reliably “error detection”
• Network
– Add IPv4 and IPv6
– Path selection (routing)
5
OSI-Model
• Transport
– Describe how data is sent
– Define Port # used
– TCP : it's a protocol which send data in a reliable way
– UDP : it's a protocol which sends data in an unreliable way
Networking
Applications
6
OSI-Model
• Transport
– Port Number : the server need to know the received fame application
7
OSI-Model
• Session
– Enable end-to-end bidirectional flow between endpoints
– Start & end sessions
– Keep sessions separate
• Presentation
– Convert data to standard format before transmission
– Data Compression, decompression, encryption & decryption
• Application
– Interface that allow application
– E-mail, browsing the web (HTTP), FTP and many others
8
OSI-Model
9
OSI-Model
Source Destination
encapsulation.
de-encapsulation
10
OSI-Model
Source Destination
Packet IP Address
Bits
11
TCP/IP Model
12
TCP/IP Model
13
TCP/IP Model
14
Port Numbers
Port numbers 0 65535
15
Port Numbers
Well Known
16
The Transport Layer: TCP and UDP
17
TCP
• Reliable protocol
– It will “setup” a connection before we start sending any data
18
TCP
• Reliable protocol
– It will “setup” a connection before we start sending any data
19
TCP
• Reliable protocol
– It will “setup” a connection before we start sending any data
20
TCP
• Computer A sends a TCP ACK. ( I accept that you want to talk to me)
21
TCP
TCP Header
22
UDP
UDP Header
23
TCP & UDP
• TCP • UDP
– Acknowledge – No Acknowledge
– No errors – Errors
– Slow – Fast
– Real time application
– No sequence numbers
24