Beruflich Dokumente
Kultur Dokumente
Network Models
2.1
Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2.2
Figure 2.1
2.3
Note
ISO is the organization.
OSI is the model.
2.5
2.6
2.7
2.8
Transport Layer
Session Layer
Presentation Layer
Application Layer
2.9
2.11
Note
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
Also Concerned with
Physical Characteristics: Chr. Of the interface b/t devices and transmission
medium, also defines the type od transmission medium.
Representation of bits: contains streams of bits with no interpretation.
Data Rate: transmission rate, number of bits sent each second, duration of bit.
Synchronization of the bits: S/R not only use same bit rate but also must be
synchronized at bit level. (Clock must be synchronized)
Line Configuration: Connection of devices (point to point/multipoint).
Physical Topology: (Mesh, Star, Bus, Ring, Hybrid)
Transmission Mode: (simplex, half duplex, full duplex)
2.12
2.13
Note
The data link layer is responsible for moving
frames from one hop (node) to the next.
Framing: it divides the stream of bits received from the network layer into
manageable data units called frames
Physical Addressing: Adds a header to the frame to define the sender and / or receiver
of the frame.
Flow Control: data rate, avoid overwhelming the receiver
Error Control: adds reliability
Access Control: Which device has control over the link at any given time
2.14
2.15
2.16
Note
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
Also Responsible for
Logical Addressing: (Data link layer-> Physical Addressing) if packet gets out from
network boundary then logical address helps the packet to distinguish its source &
destination.
Routing: In internetworks (network of networks)/large networks, Routers/Switches
are used to deliver the packets to their final destination. Network layer also contain
this mechanism.
2.17
2.18
2.19
Note
The transport layer is responsible for the delivery
of a message from one process to another.
Also responsible for
Service point Addressing: For this layer, source to destination mean delivery not
only from one computer to another but also but also from a specific program to
program.
Segmentation and Reassembly: A message is divided into transmittable segments,
with each segment contain a sequence number. Through these numbers transport
layer is able to reassemble the message correctly.
Connection Control: Connectionless and Connection-oriented
Connectionless: Each segment is treated as independent packet.
Connection Oriented: Before delivering, T.L. of source make a connection
with T.L. of destination and transmit packets, and then connection get
terminated
2.20
2.21
2.22
Note
The session layer is responsible for dialog
control and synchronization.
Responsibilities
Dialog Control: it allows the communication between two processes to take place in
either half duplex or full duplex.
Synchronization: it allows a process to add checkpoints, or synchronization points to
a stream of data.
Example: if a system sending a file of 200 pages, it is advisable to insert checkpoints
after every 20 pages (10 checkpoints) to ensure that each 20-page unit is received
and acknowledged independently. In this case if crash happens during the
transmission of page 112, the only pages that need to be resent after system recovery
are pages 101 to 120.
2.23
2.24
Note
The presentation layer is responsible for translation,
compression, and encryption.
Responsible for:
Translation: the processes in two systems are usually exchanging information in the
form of character strings, numbers, and so on. The information must be changed to
bit streams before being transmitted. Different computers use different encoding
systems, the presentation layer is responsible for interoperability b/t these different
encoding methods.
Encryption: to carry sensitive information, a system must be able to ensure privacy.
Encryption means that the sender transforms the original information to another
form and sends the resulting message out over the network. Decryption reverses the
original process to transform the message back to its original form.
Compression: Data compression reduces the number of bits contained in the
information. Data Compression becomes particularly important in the transmission
of multimedia.
2.25
2.26
Note
The application layer is responsible for
providing services to the user.
Responsibilities and Services:
Network Virtual Terminal: is a software for physical terminal, and it allows a user
to log on to a remote host.
File Transfer Access and management: This allows a user to access files in a remote
host.
Mail Services: provides the basis for e-mail forwarding and storage.
Directory Services: provides distributed database sources and access for global
information about various objects and services.
2.27
2.28
OSI Layers
Host to Network
Internet
Network Layer
Application Layer
Transport Layer
2.30
2.31
2.32
Network Layer
At Network layer TCP/IP supports the internetworking protocol (IP). IP uses four
supporting protocols:
Address Resolution Protocol (ARP)
Reverse Address Resolution Protocol (RARP)
Internet Control Message Protocol (ICMP)
Internet Group Message Protocol (IGMP)
2.34
Application Layer
It is equivalent to the combined Session, Presentation and Application Layers of
the OSI model.
2.36
2-5 ADDRESSING
Four levels of addresses are used in an internet employing
the TCP/IP protocols: physical, logical, port, and specific.
2.37
2.38
2.39
Physical Address
Also known as link address, is a address of node as defined by
its LAN or WAN. It is included in the frame used by the data
link layer.
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.
2.40
2.41
Example 2.2
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.
2.42
Example 2.3
Logical Address
Necessary for universal communication that are independent
of underlying physical networks.
Logical Address currently used is 32-bit address
2.44
Example 2.4
Port Address
The IP (logical) address and physical address are necessary for a quantity
of data to travel from S/D. However, arrival at the destination host is not
the final objective of data communication on the Internet. Which process is
communicating and with whom it is communicating, this is known by Port
Addresses.
2.46
Note
The physical addresses will change from hop to hop,
but the logical addresses usually remain the same.
2.47
Example 2.5
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.
2.48
Specific Address
Email Addresses (e.g. xyz@abc.com)
URL (e.g. www.google.com)
These are kind of Specific Addresses.
2.49