Beruflich Dokumente
Kultur Dokumente
ECE345
Standards
Standards Organizations
ITU-T Recommendations
What is a Protocol?
Syntax
Data formats
Signal levels
Semantics
Control information for coordination( meaning of each
section ).
Error handling
Timing
When data should be send.
How fast they can be sent
OSI cont.
A layer model
Each layer performs a subset of the required
communication functions
Each layer depends on the next lower layer to
perform more primitive functions
Each layer provides services to the next higher layer
Changes in one layer should not require changes in
other layers
OSI layer
Application
Presentation
Session
Transport
Network
Data Link
Physical
OSI layer
Physical Layer
Layer 1.
Responsible of:
Layer 1
Applicati
on
Presentat
ion
Session
Transpor
t
Network
Data
Link
Physical
Layer-1
Device
Layer-1
Device
Applicati
on
Presentat
ion
Session
Transpor
t
Network
Data
Link
Physical
Layer 2.
Responsible of:
Moving frames from one hop (node) to the next.
Framing: divided the stream of bits received from the network layer
manageable data units called frames.
Flow control.
Access control.
Hop-to-Hop( node-to-node).
10110110101
01100010011
10110000001
Hop-to-Hop delivery
Layer 2
Applicati
on
Presentat
ion
Session
Transpor
t
Network
Data
Link
Physical
Applicati
on
Presentat
ion
Session
Transpor
t
Network
Data
Link
Physical
Layer
Layer
-2
-2
Devic
Devic
e
e
layer 2 addressing scheme needed
Network Layer
Layer 3.
The network layer is responsible:
Logical addressing:
if the packet passes the network boundary we need another
addressing system to help (source to destination) connection.
Routing :
route or switch the packet to final destination.
Source-to-Destination delivery
Layer 3
Applicati
on
Presentat
ion
Session
Transpor
t
Network
Data
Link
Physical
Layer
-3
Devic
e
Layer
-3
Devic
e
Applicati
on
Presentat
ion
Session
Transpor
t
Network
Data
Link
Physical
Transport Layer
Layer 4.
The transport layer is responsible for:
Port addressing : get the message to the correct process on the computer via
port address.
Flow control :
Error control:
Session Layer
Layer 5.
Is the network dialog controller , design to
establish, maintain, and synchronize the
interaction between communicating systems.
Presentation Layer
Layer 6.
Design to the handle the syntax and semantic
of the information exchanged between 2
systems.
And design for data translation, encryption,
decryption, and compression.
Application Layer
Layer 7.
The application layer is responsible for
providing services to the user.
Mail services:
File transfer and access:
Remote log-in:
Accessing the World Wide Web.
Anything not provided by any of the other layers.
SMTP Telnet
HTTP
SMTP
Telnet
HTTP
Summary
Application
data stream
Presentation
data stream
Session
data stream
Transport
data
Network
Data link
data
Network header
Frame H
Network H
data
data
data
data
From trailer
Segments
packets
Frames
Bits
Assignment
24TCP/IPPROTOCOLSUITE
25ADDRESSING
Four levels of addresses are used in an internet employing
the TCP/IP protocols: physical, logical, port, and specific.
Addresses in TCP/IP
Research assignment
Chapter 20
Address
Chapter 21
Internet
Chapter 21
Internet
Chapter 21
Reverse
Protocol (IP)
Chapter 22
Example 2.1
In Figure 2.19 a node with physical address 10 sends a
frame to a node with physical address 87. The two nodes
are connected by a link (bus topology LAN). As the
figure shows, the computer with physical address 10 is
the sender, and the computer with physical address 87 is
the receiver.
Example 2.2
As it can be seen in Chapter 13, most local-area
networks use a 48-bit (6-byte) physical address written as
12 hexadecimal digits; every byte (2 hexadecimal digits)
is separated by a colon, as shown below:
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address.
Example 2.3
Figure 2.20 shows a part of an internet with two routers
connecting three LANs. Each device (computer or
router) has a pair of addresses (logical and physical) for
each connection. In this case, each computer is
connected to only one link and therefore has only one
pair of addresses. Each router, however, is connected to
three networks (only two are shown in the figure). So
each router has three pairs of addresses, one for each
connection.
Example 2.4
Figure 2.21 shows two computers communicating
via the Internet. The sending computer is running
three processes at this time with port addresses a, b,
and c. The receiving computer is running two
processes at this time with port addresses j and k.
Process a in the sending computer needs to
communicate with process j in the receiving
computer.
Note
The physical addresses will change from hop to hop,
but the logical addresses usually remain the same.
Example 2.5
As it can be seen in Chapter 23, a port address is a 16-bit
address represented by one decimal number as shown.
753
A 16-bit port address represented
as one single number.
The physical addresses change from hop to hop,
but the logical and port addresses usually remain the same.