Mod 1
Mod 1
Presentation Material
Department of Computer Science & Engineering
Faculty: Dr. Monika Goyal
Semester: V
1.5
Network Criteria
• Performance
• Depends on Network Elements
• Measured in terms of Delay and Throughput
• Reliability
• Failure rate of network components
• Measured in terms of availability/robustness
• Security
• Data protection against corruption/loss of data due to:
• Errors
• Malicious users
1.6
Network Physical Structures
• Type of Connection
• Point to Point - single transmitter and receiver
• Multipoint - multiple recipients of single transmission
• Physical Topology
• Connection of devices
• Type of transmission - unicast, mulitcast, broadcast
1.7
Figure 1.3 Types of connections: point-to-point and multipoint
1.8
Figure 1.4 Categories of topology
1.9
Figure 1.5 A fully connected mesh topology (five devices)
1.10
Figure 1.6 A star topology connecting four stations
1.11
Figure 1.7 A bus topology connecting three stations
1.12
Figure 1.8 A ring topology connecting six stations
1.13
Figure 1.9 A hybrid topology: a star backbone with three bus networks
1.14
Classification of Networks
1.15
Figure 1.10 An isolated LAN connecting 12 computers to a hub in a closet
1.16
Figure 1.11 WANs: a switched WAN and a point-to-point WAN
1.17
Figure 1.12 A heterogeneous network made of four WANs and two LANs
1.18
1-4 PROTOCOLS
1.19
Elements of a Protocol
• Syntax
• Structure or format of the data
• 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.
1.20
Standards
• Standards are essential in creating and maintaining an open and competitive market for equipment
manufacturers and in guaranteeing national and international interoperability of data and
telecommunications technology and processes
1. De facto. Standards that have not been approved by an organized body but have
been adopted as standards through widespread use are de facto standards. De facto
standards are often established originally by manufacturers who seek to define the
functionality of a new product or technology.
2. De jure. Those standards that have been legislated by an officially recognized body
are de jure standards.
Standards Organizations
• Standards Creation Committees
• 1. International Organization for Standardization (ISO). The ISO is a multinational
• body whose membership is drawn mainly from the standards creation committees
• of various governments throughout the world.
• 2. International Telecommunication Union-Telecommunication Standards
• Sector (ITU-T). By the early 1970s, a number of countries were defining national
• standards for telecommunications, but there was still little international compatibility.
• 3. American National Standards Institute (ANSI). Despite its name, the American
• National Standards Institute is a completely private, nonprofit corporation not affiliated
• with the U.S. federal government.
• 4. Institute of Electrical and Electronics Engineers (IEEE). The Institute of
• Electrical and Electronics Engineers is the largest professional engineering society in
• the world.
• 5. Electronic Industries Association (EIA). Aligned with ANSI, the Electronic
• Industries Association is a nonprofit organization devoted to the promotion of electronics manufacturing
concerns.
• Forums: To accommodate the need for working models and agreements
• and to facilitate the standardization process, many special-interest groups have developed
• forums made up of representatives from interested corporations. The forums
• work with universities and users to test, evaluate, and standardize new technologies
• Regulatory Agencies
• All communications technology is subject to regulation by government agencies such
• as the Federal Communications Commission (FCC) in the United States
• Internet Standards
• An Internet standard is a thoroughly tested specification that is useful to and adhered
• to by those who work with the Internet. It is a formalized regulation that must be followed.
• There is a strict procedure by which a specification attains Internet standard
• status. A specification begins as an Internet draft. An Internet draft is a working document
• (a work in progress) with no official status and a 6-month lifetime.
Data representation and Data Flow
• Text
• In data communications, text is represented as a bit pattern, a sequence of bits (Os or
• Is). Different sets of bit patterns have been designed to represent text symbols
• Numbers
• Numbers are also represented by bit patterns. the number is directly converted to a binary number
to simplify mathematical operations.
• Images
• Images are also represented by bit patterns. In its simplest form, an image is composed
• of a matrix of pixels (picture elements), where each pixel is a small dot. The size of the
• pixel depends on the resolution.
• Audio
• Audio refers to the recording or broadcasting of sound or music. Audio is by nature
• different from text, numbers, or images. It is continuous, not discrete
• Video
• Video refers to the recording or broadcasting of a picture or movie. Video can either be
• produced as a continuous entity (e.g., by a TV camera), or it can be a combination of
• images, each a discrete entity, arranged to convey the idea of motion.
Figure 1.2 Data flow (simplex, half-duplex, and full-duplex)
1.25
2-1 LAYERED
TASKS
We use the concept of layers in our daily life. As an
example, let us consider two friends who communicate
through postal mail. The process of sending a letter to a
friend would be complex if there were no services
available from the post office.
2.26
Figure 2.1 Tasks involved in sending a letter
2.27
2-2 THE OSI MODEL
Established in 1947, the International Standards
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 Open Systems Interconnection
(OSI) model. It was first introduced in the late 1970s.
2.28
Note
2.29
Figure 2.2 Seven layers of the OSI model
2.30
Figure 2.3 The interaction between layers in the OSI model
2.31
Figure 2.4 An exchange using the OSI model
2.32
2-3 LAYERS IN THE OSI MODEL
2.33
Figure 2.5 Physical layer
2.34
Note
2.35
Figure 2.6 Data link layer
2.36
Note
2.37
Figure 2.7 Hop-to-hop delivery
2.38
Figure 2.8 Network layer
2.39
Note
2.40
Figure 2.9 Source-to-destination delivery
2.41
Figure 2.10 Transport layer
2.42
Note
2.43
Figure 2.11 Reliable process-to-process delivery of a message
2.44
Figure 2.12 Session layer
2.45
Note
2.46
Figure 2.13 Presentation layer
2.47
Note
2.48
Figure 2.14 Application layer
2.49
Note
2.50
Figure 2.15 Summary of layers
2.51
2-4 TCP/IP PROTOCOL SUITE
2.53
•Physical Layer
Figure 7.1 Transmission medium and physical layer
7.55
Figure 7.2 Classes of transmission media
7.56
7-1 GUIDED MEDIA
7.57
Computer Networks -19CS3602 Department of Computer Science & Engineering 58
Computer Networks -19CS3602 Department of Computer Science & Engineering 59
Computer Networks -19CS3602 Department of Computer Science & Engineering 60
Figure 7.3 Twisted-pair cable
7.61
Figure 7.4 UTP and STP cables
7.62
Table 7.1 Categories of unshielded twisted-pair cables
7.63
Figure 7.5 UTP (unshieled twisted pair)connector
7.64
Figure 7.6 UTP performance
7.65
Computer Networks -19CS3602 Department of Computer Science & Engineering 66
Figure 7.7 Coaxial cable
7.67
Table 7.2 Categories of coaxial cables
7.68
Computer Networks -19CS3602 Department of Computer Science & Engineering 69
Figure 7.8 BNC connectors
Bayone-Neill-Concelman (BNe),
7.70
Figure 7.9 Coaxial cable performance
7.71
Computer Networks -19CS3602 Department of Computer Science & Engineering 72
Figure 7.14 Fiber construction
7.73
Figure 7.10 Fiber optics: Bending of light ray
A fiber-optic cable is made of glass or plastic and transmits signals in the form of light.
To understand optical fiber, we first need to explore several aspects of the nature of light.
ray refracts and moves closer to the light bends the ray reflects (makes a
the surface along the interface turn) and travels again in
the denser substance.
Light travels in a straight line as long as it is moving through a single uniform substance.
If a ray of light traveling through one substance suddenly enters another substance
(of a different density), the ray changes direction.
7.74
Figure 7.11 Optical fiber
7.75
Table 7.3 Fiber types
7.76
Figure 7.15 Fiber-optic cable connectors
The subscriber channel (SC) connector is used for cable TV. It uses a push/pull
locking system. The straight-tip (ST) connector is used for connecting cable to
networking devices. It uses a bayonet locking system and is more reliable than SC.
MT-RJ is a connector that is the same size as RJ45
7.77
Figure 7.16 Optical fiber performance
7.78
7-2 UNGUIDED MEDIA: WIRELESS
7.79
Computer Networks -19CS3602 Department of Computer Science & Engineering 80
Computer Networks -19CS3602 Department of Computer Science & Engineering 81
Computer Networks -19CS3602 Department of Computer Science & Engineering 82
Unguided signals can travel from the source to destination in several ways:
• ground propagation,
• sky propagation, and
• line-of-sight propagation,
• In ground propagation, radio waves travel through the lowest portion of the
atmosphere, hugging the earth. These low-frequency signals emanate in all directions
from the transmitting antenna and follow the curvature of the planet. Distance depends
on the amount of power in the signal: The greater the power, the greater the distance.
• In sky propagation, higher-frequency radio waves radiate upward into the ionosphere
(the layer of atmosphere where particles exist as ions) where they are reflected back to
earth. This type of transmission allows for greater distances with lower output power.
7.84
Figure 7.18 Propagation methods
7.85
Computer Networks -19CS3602 Department of Computer Science & Engineering 86
Computer Networks -19CS3602 Department of Computer Science & Engineering 87
Table 7.4 Bands
7.88
Computer Networks -19CS3602 Department of Computer Science & Engineering 89
Computer Networks -19CS3602 Department of Computer Science & Engineering 90
Computer Networks -19CS3602 Department of Computer Science & Engineering 91
Computer Networks -19CS3602 Department of Computer Science & Engineering 92
TRANSMISSION
MODES
The transmission of binary data across a link can be
accomplished in
either parallel or serial mode.
Parallel Transmission
Here multiple bits are sent with each clock.
Binary data, consisting of 1s and 0s, may be organized into groups
of n
bits each.
Use n wires to send n bits at one time. That way each bit has its
own wire, and all n bits of one group can be transmitted with each
clock tick from one device to another.
Advantage:
▪ Speed : Parallel transmission can increase the transfer speed
by a factor of n over serial transmission.
Disadvantage:
▪ Cost : Parallel transmission requires n communication lines
just to
transmit the data stream.
Serial Transmission
Here 1 bit is sent with each clock tick.
One bit follows another, so we need only one communication
channel
rather than n to transmit data between two communicating
devices .
Advantage:
▪ The advantage of serial over parallel transmission is that with
only one communication channel.
▪ Serial transmission reduces the cost of transmission over
parallel by roughly a factor of n
Serial transmission occurs in one of three ways:
1. Asynchronous
2. Synchronous
3. Isochronous.
Asynchronous
Transmission
In this mode we send 1 start bit (0) at the beginning and 1 or
more stop
bit (1s) at the end of each byte.
is so named Asynchronous transmission because the timing of a
signal is unimportant.
Both data and the signals that represent them can be either analog
or digital in form.
2.8
2
Analog and Digital Signals
Valu
e
•••
Time
Peak
amplitude
Peak
amplitude