2. Unit 1
īąIntroduction:
ī Data Communication, Components,
ī Data Representations, Dataflow,
ī Network Topologies, categories of networks,
ī Internet, protocols and standards.
ī Internet, protocols and standards.
īąNetwork Models:
ī Layered tasks, OSI Reference model, layers in OSI model,
ī TCP/IP Protocol suite,
īąAddressing â
īąPhysical address, Logical address, port
3. Unit 1
ī¨ Data Communications
ī¤ Definition
ī¤ Components of DC
ī¤ Data representation
Data flow
ī¨ Protocols and
Standards
ī¤ Definition
Standards
ī¤ Data flow
ī¨ Networks
ī¤ Network criteria
ī¤ Types of connections
ī¤ Categories of topology
ī¤ Network Models
ī¤ Standards
4. Data Communication: Definition
ī¨ Data communications
are the exchange of
data between two
data between two
devices via some
form of transmission
medium such as a
wire cable.
5. Data Communication
ī¨ The effectiveness of a data communications system depends
on four fundamental characteristics:
ī¤ Delivery: deliver data to the correct destination
ī¤ Accuracy: system must deliver the data accurately
ī¤ Timeliness: system must deliver data in a timely manner
ī¤ Jitter: refers to the variation in the packet arrival time
7. Protocol & its elements
ī¨ Definition: Set of rules that governs data communications.
ī¨ Syntax
ī¤ Structure or format of the data
ī¤ Indicates how to read the bits - field delineation
ī¤ Indicates how to read the bits - field delineation
ī¨ Semantics
ī¤ Interprets the meaning of the bits
ī¤ Knows which fields define what action
ī¨ Timing
ī¤ When data should be sent and what
ī¤ Speed at which data should be sent or speed at which it is being received.
9. Data Representation
ī¨ Text:
ī¤ Text is represented as a bit pattern.
ī¤ Unicode uses 32 bits to represent a symbol or character
ī¨ Numbers
ī¤ Numbers are also represented by bit patterns.
ī¤ Numbers are also represented by bit patterns.
ī¤ number is directly converted to a binary number
ī¨ Images
ī¤ Images are also represented by bit patterns.
ī¤ image is composed of a matrix of pixels
ī¤ each pixel is assigned a bit pattern.
ī¨ Audio and Video:
11. Networks
ī¨ A network is a set of devices (nodes) connected by
communication links.
ī¨ Node:
ī¨ Node:
ī¤ computer, printer, or any other device capable of
sending and/or receiving data.
ī¨ Link:
ī¤ can be a cable, air, optical fiber, or any medium which
can transport a signal carrying information.
12. Network Criteria
ī¨ Performance:
ī¤ Measured: transit time and response time
īŽ Transit time: time required for a message to travel from Aī B
īŽ Transit time: time required for a message to travel from Aī B
īŽ Response time: elapsed time between inquiry and response
ī¤ Evaluated using two metrics:
īŽ throughput and delay (more throughput and less delay).
ī¨ Reliability: measured by the frequency of failure
ī¨ Security: Network security issues include protecting data from
unauthorized access
13. Network Topology
ī¨ Physical Topology
ī¤ The way a network is laid out physically
ī¤ Two or more links form a topology
ī¤ Two or more links form a topology
ī¤ The topology of a network is the geometric
representation of the relationship of all the links
and linking devices (nodes) to one another.
14. Topology
ī¨ Physical topology
ī¤ Is how the wires are run
ī¤ The way in which a network is laid out physically
ī¨ Logical topology is how the signal travels.
ī¤ A device can be wired to implement any logical topology.
ī¤ A device can be wired to implement any logical topology.
ī¤ LANs are logical busses or rings, depending on how the hub is wired
ī¨ 4 basic types: mesh, star, bus, ring
ī¤ The most common physical topology is the star.
ī¤ All the wires come back to a central point
ī¨ May often hybrid
15. Mesh Topology
ī¨ Every link is dedicated point-to-point link
ī¨ The term dedicated means that the link
carries traffic only between the two
carries traffic only between the two
devices it connects
ī¨ To link n devices fully connected mesh has:
n ( n - 1) / 2 physical channels (Full-Duplex)
ī¨ Every Device on the network must have
n - 1 ports
16. ī¤ Advantages
īŽEach connection carry
its own data load (no
traffic problems)
ī¤ Disadvantages
īŽBig amount of cabling
īŽBig number of I/O ports
īŽInstallation and
Mesh Topology
traffic problems)
īŽA mesh topology is
robust
īŽPrivacy or security
īŽFault identification
and fault isolation
īŽInstallation and
reconnection are difficult
īŽSheer bulk of the wiring
can be greater than the
available space
īŽHardware connect to each
I/O could be expensive
17. A star topology
each device needs only one link and one
I/O port to connect it to any number of
others
Advantages
less expensive than a mesh topology.
robust: If one link fails, only that link is
robust: If one link fails, only that link is
affected
Disadvantages
If the hub goes down, the whole system goes
down.
The star topology is used in local-area
networks (LANs)
18. bus topology
Nodes are connected to the bus cable by drop lines and taps
A drop line is a connection running between device and main cable.
A tap is a connector
A tap is a connector
One long cable acts as a backbone to link all the devices in a network
Advantages
bus uses less cabling than mesh or star topologies
Disadvantages
difficult reconnection and fault isolation
Signal reflection at the taps can cause degradation
a fault or break in the bus cable stops all transmission
20. Ring Topology
īļEach device has a dedicated point to point connection with only two devices on either
side of it.
īļSignal is passed along the ring in one direction till it reaches destination
īļEach device has a repeater
īļWhen a device receives signal to be passed, its repeater regenerates bits and
passes along.
Advantages
Easy to install and reconfigure
Fault isolation is simple
Disadvantages
Unidirectional traffic
Break in the ring disables entire network; solved by dual ring
21. A hybrid topology: a star backbone with three bus networks
Main Star topology with each branch connecting several stations in a
bus topology
22. Networks Categories
ī¨ Network category is determined by its size, ownership, the
distance it cover and its physical architecture
23. LAN: Local Area Network
ī¨ Privately owned and links the devices in a single office, building or campus
ī¨ LANs designed to allow resources to be shared between PCs or workstations. The
resources may be hardware or software.
ī¨ In LANs one of the computers has a large capacity drive and becomes a server to other
clients.
ī¨ Software stored on server and used as needed by the whole group.
23
ī¨ Software stored on server and used as needed by the whole group.
ī¨ LAN use only one type of transmission medium.
ī¨ The most common LAN topologies are bus, ring and star.
ī¨ LAN speed can be 100Mbps or 1000MBps(1G)
24. MAN: Metropolitan Area Network
ī¨ Owned by private company or it may be a service provided by public company (
such as local tel.-company)
ī¨ Extended over an entire city.
ī¨ May be single network such as a cable television network, or it may be connected
number of LANs into a large network so that resources may be shared LAN-TO-LAN.
ī¨ Examples:
24
ī¨ Examples:
ī¤ Company can use MAN to connect the LANs in all its offices throughout the city.
ī¤ A part of the telephone line network that can provide DSL line to the customer
25. WAN: Wide Area Networks
ī¨ Provides long distance transmission of data, voice , image and video
information over large areas ( country or whole world)
ī¨ In contrast to LAN, WAN may utilize public or private communication
equipment's or combination
25
26. LAN MAN WAN
LAN is a wired network, i.e., all the
computers and printers are connected
through wires.
The connections in MAN are connected
through modem or cables/ wires.
The network of WAN is
connected through broadband
services, 3G or 4G internet
services, etc.
The ownership of LAN is private.
Ownership of MAN might be public or
private.
private or public.
The internet speed of LAN is very high,
i.e., 1000 Mbps.
The sped of MAN is moderate, i.e., 44-155
Mbps.
The speed of WAN is relatively
less than MAN and LAN, i.e.,
150 Mbps.
26
The maintenance cost of LAN is easy. The maintenance cost of MAN is difficult.
The maintenance cost of WAN is
difficult.
The bandwidth of LAN is high. The bandwidth of MAN is less.
The bandwidth of WAN is
relatively low.
Examples:
īˇ College
īˇ School
īˇ University
īˇ Hospital
Examples:
īˇ City
īˇ Building
Examples:
īˇ Broadband and internet
throughout the country or
continent.
27. Elements of Protocol
ī¨ Elements of a protocol:
ī¤ Syntax
ī¤ Semantics
ī¤ Timing
ī¤ Timing
Syntax: structure or format of data
28. Elements of protocol
ī¤ Semantics: meaning of each section of bits
Timing: when data should be sent and how fast they can be sent
29. Standards
ī¨ Two categories
ī¤ De facto: not approved by an organized body but adopted
ī¤ De jure: Legislated by an officially recognized body
Standards Creation Committees
a) International Standards Organization (ISO): product: quality, safety
b) International Telecommunications Union (ITU): commâ spectrum
b) International Telecommunications Union (ITU): commâ spectrum
c) American National Standards Institute (ANSI): standards
d) Institute of Electrical and Electronics Engineers (IEEE): promote
technology, education, innovation
e) Electronic Industries Association (EIA): protection to envronment, health
f) Internet Engineering Task Force (IETF): standards for TCP/IP
30. OSI Model
ī¨ OSI: Open Systems Interconnection
ī¨ Established in 1947, International Standards
Organization (ISO) is a multinational body
Organization (ISO) is a multinational body
dedicated to worldwide agreement on international
standards.
ī¨ An ISO standard that covers all aspects of network
communications is the OSI model. It was first
introduced in the late 1970s.
31. OSI Model: Layers
ī¨ Application Layer
ī¨ Presentation Layer
ī¨ Session Layer
ī¨ Transport Layer
ī¨ Network Layer
ī¨ Data Link Layer
ī¨ Physical Layer
33. 7 Application
6 Presentation
5 Session
4 Transport
OSI REFERENCE MODEL
1. Physical Layer
1. Movements of individual bits
2. Physical characteristics of interface, medium
3. Representation of bits
4. Data rate
5. Synchronization of bits
4 Transport
1 Physical
2 Data Link
3 Network
5. Synchronization of bits
6. Line configuration
7. Topology
8. Transmission mode
34. Physical Layer
Responsibilities
1. Movements of individual
bits
2. Physical characteristics of
interface, medium
3. Representation of bits
3. Representation of bits
4. Data rate
5. Synchronization of bits
6. Line configuration
7. Topology
8. Transmission mode
35. Duties of the Physical layer
ī¨ Responsible for movements of individual bits from one hop
(node) to the next
ī¨ Physical characteristics of interfaces and media
ī¤ It defines the characteristic of the interface between devices and media. It also define
the type of transmission media
ī¨ Representation of bits
ī¨ Representation of bits
ī¤ The bit stream must be encoded into signals. It defines the type of representation ( how
0, 1 are changed to signal).
ī¨ Data rate
ī¤ It defines the number of bits sent per second and also the duration of bits
ī¨ Synchronization of bits
ī¤ The sender and receiver must be use the same bit rate also the receiver clock must be synchronized
36. Duties of the Physical layer
ī¨ Line configuration
ī¤ Physical layer is concerned with the connection of devices to the media (
point-to point or multipoint)
ī¨ Physical topology
How devices connected to make a network
ī¤ How devices connected to make a network
ī¤ Devices can connected by using Star, mesh , bus, ring or hybrid topology
ī¨ Transmission mode
ī¤ It defines the direction of transmission between two devices (simplex,
half-duplex, or full duplex)
37. 7 Application
6 Presentation
5 Session
4 Transport
OSI REFERENCE MODEL
2. Data Link Layer
a) Frames
b) Physical addressing (MAC)
c) Flow control
d) Error control
e) Access control
âĸError detection and correction methods
4 Transport
1 Physical
2 Data Link
3 Network
âĸError detection and correction methods
âĸIEEE LAN standards
âĸ Bridges
âĸ Switches
46. 7 Application
6 Presentation
5 Session
4 Transport
OSI REFERENCE MODEL
3. Network Layer
a)Logical Addressing
b)Routing packets from source to destination.
âĸ Internetworking
âĸ Routing algorithms
âĸ Internet Protocol (IP) addressing
âĸ Routers
4 Transport
1 Physical
2 Data Link
3 Network
49. 7 Application
6 Presentation
5 Session
4 Transport
OSI REFERENCE MODEL
4.Transport Layer
a)Port Address
b)Segmentation and Reassembly
c)Connection control
d)Flow control
e)Error control
âĸ Provides additional Quality of Service.
4 Transport
1 Physical
2 Data Link
3 Network
âĸ Provides additional Quality of Service.
âĸTCP, UDP
54. 7 Application
6 Presentation
5 Session
4 Transport
OSI REFERENCE MODEL
5.Session Layer
a)Allows users on different machines to establish sessions between them.
b)dialogue control.
c) Token management.
d) Synchronization.
4 Transport
1 Physical
2 Data Link
3 Network
55. 7 Application
6 Presentation
5 Session
4 Transport
OSI REFERENCE MODEL
6. Presentation Layer
a) Concerned with the syntax and semantics of the
information (Translation)
b) Data compression.
c) Data encryption.
4 Transport
1 Physical
2 Data Link
3 Network
c) Data encryption.
56. 7 Application
6 Presentation
5 Session
4 Transport
OSI REFERENCE MODEL
7. Application Layer
a) Provides protocols that are commonly needed.
Main topics:
âĸ File Transfer Protocol (FTP)
âĸ HyperText Transfer Protocol (HTTP)
âĸ Simple Mail Transfer Protocol (SMTP)
âĸ Simple Network Management Protocol (SNMP)
4 Transport
1 Physical
2 Data Link
3 Network
âĸ Simple Network Management Protocol (SNMP)
âĸ Network File System (NFS)
âĸ Telnet
60. ARP
Address Resolution Protocol (ARP) is a communication
protocol used for discovering MAC address, associated
with a given IP address.
Map a logical Address to a physical Address
An ARP request is broadcast; an ARP reply is unicast.
61. RARP
Reverse Address Resolution Protocol:
Map a Physical Address to a logical Address
RARP request packets are broadcast;RARP reply packets are unicast.
63. IP Protocol
IP Protocol
âĸ
âĸIP provides unreliable and connectionless
IP provides unreliable and connectionless
datagram delivery.
datagram delivery.
âĸ
âĸIP protocol has no error
IP protocol has no error-
-reporting or error
reporting or error-
-
correcting mechanism.
correcting mechanism.
correcting mechanism.
correcting mechanism.
âĸ
âĸLogical Address in TCP/IP are called IP Address
Logical Address in TCP/IP are called IP Address
64. ī¨ ICMP: Internet Control Message Protocol
ī¤ used by network devices (routers etc.,) to send error messages.
ī¨ IGMP: Internet Group Management Protocol
ī¤ is a communications protocol used by hosts and adjacent routers
on IPv4 networks to establish multicast group memberships
ī¨ TCP: Transmission Control Protocol
ī¨ TCP: Transmission Control Protocol
ī¤ provides Connection oriented service such as reliable, ordered,
and error-checked delivery of data.
ī¨ UDP: User Datagram Protocol
ī¤ uses a connectionless communication where error checking and
correction are not necessary. Used for time-sensitive applications.
65. ī¨ SMTP: Simple mail transfer protocol
ī¤ is an Internet standard for electronic mail (email)
transmission
ī¨ HTTP: Hyper Text Transfer Protocol
ī¤ is an application protocol and forms foundation for
ī¤ is an application protocol and forms foundation for
data communication using World Wide Web(www)
ī¨ FTP: File Transfer Protocol
ī¤ is a standard network protocol used for transfer of
computer files between a client and server on a
computer network
66. ī¨ DNS: Domain Name System
ī¤ hierarchical decentralized naming system, responsible for assigning
domain names and mapping those names to Internet resources
(Phonebook of Internet)
ī¨ SNMP: Simple Network Management Protocol
ī¤ used for collecting and organizing information about managed devices
on IP networks. Monitor and manage network devices over an IP.
on IP networks. Monitor and manage network devices over an IP.
ī¨ RPC: remote procedure call
ī¤ Computer program can execute a procedure in a different address
space. Used to communicate bw processes on different workstations.
ī¨ POP: Post Office Protocol
ī¤ used by e-mail clients to retrieve e-mail from a server in an IP network
68. Example : physical addresses
Data
87 10
1
packet
discarded
2
packet
discarded
3
packet
accepted
Data
87 10
4
Image is copied from Forouzan
69. logical addresses
Data
A P
20 10 Data
A P
20 10
Physical
addresses
changed
Data
A P
33 99
69
changed
Data
A P
33 99
Physical
addresses
changed
Data
A P
95 66 Data
A P
95 66
Image is copied from Forouzan
70. A Sender Receiver P
port numbers
Data Data
Internet
a Data
j
A P
H2
a Data
j
A P
a Data
j
Data
a Data
j
A P
H2
a Data
j
A P
a Data
j
Data
Image is copied from Forouzan