Chapter 1 Part II
Chapter 1 Part II
Computer Networks
Chapter 1 Part II
Introduction to Computer Networks
Introduction to Computer
Networks
The term network means two or more connected computers (other
communication devices) that can share resources like data,
applications, office machines, an Internet connection, or some
combination of these. OR
Computer network to mean a collection of autonomous computers
interconnected by a single technology.
connecting together of computers and other devices is called a
network, and the concept of connected computers sharing
resources is called networking.
The connection be via a copper wire, fiber optics, microwaves,
infrared, Wi-Fi and communication satellites can also be used.
Networks come in many sizes (small, medium or large), shapes
(physical and logical structure) and forms.
Introduction to Computer Net cont’d…
Two computers are said to be interconnected if
waves.
With guided media, the waves are guided along a solid medium,
such as copper twisted pair, copper coaxial cable, and optical fiber.
GUIDED TRANSMSSION MEDIA
For guided transmission media, the transmission capacity, in
terms of either data rate or bandwidth, depends critically on
the distance and on whether the medium is point-to-point or
multipoint, such as in a local area network (LAN).
Guided media, which are those that provide a conduit from
one device to another, include twisted-pair cable, coaxial
cable, and fiber-optic cable.
A signal traveling along any of these media is directed and
contained by the physical limits of the medium.
Twisted-pair and coaxial cable use metallic (copper)
conductors that accept and transport signals in the form of
electric current.
Optical fiber is a cable that accepts and transports signals in
the form of light.
Guided Media cont’d…..
Coaxial cable
Coaxial cable consists of two conductors, it is constructed to permit it
to operate over a wider range of frequencies.
It consists of a hollow outer cylindrical conductor that surrounds a
single inner wire conductor.
The inner conductor is held in place by insulating rings. The outer
conductor is covered with a jacket or shield.
Coaxial cable can be used over longer distances and support more
stations on a shared line than twisted pair.
Transmission Medias cont….
Coaxial Cable cont…..
Because of its shielded, concentric construction, coaxial cable is
much less susceptible to interference and crosstalk than twisted
pair.
The principal constraints on performance are attenuation, thermal
noise, and intermodulation noise.
1. Thin net cable(10base2) : is a flexible coaxial cable about 0.64
centimeters (0.25 inches) thick. Carry a signal for 200 meters
2. Thick cable(10base5) :is a relatively rigid coaxial cable about
1.27 centimeters (0.5 inches) in diameter. carry a signal for 500
meters .
Applications of Coaxial Cable
Television distribution
Long-distance telephone transmission
Short-run computer system links
Transmission Medias cont….
Fiber Optics
Fiber-optic cabling uses either glass or plastic fibers to guide light impulses
from source to destination. The bits are encoded on the fiber as light impulses .
Optical fiber cabling is capable of very large raw data bandwidth rates.
An optical fiber strand (also called an optical waveguide) has a cylindrical
shape and consists of three concentric sections: the core, the cladding, and the
Jacket.
Unguided Media
Where:
MWA-Mobile Wireless Access
FWA-Fixed Wireless Access
NWA-Nomadic Wireless Access
Unguided Media cont…
Types of Wireless Networks
Standards for wireless data communications cover both the Data Link and
Physical layers. Four common standards are:
IEEE 802.11 - is a Wireless LAN (WLAN) technology that uses a Carrier
Sense Multiple Access/Collision Avoidance (CSMA/CA) media access process.
IEEE 802.15 - Wireless WPAN, commonly known as "Bluetooth", uses a
device pairing process to communicate over distances from 1 to 100 meters.
IEEE 802.16 - Commonly known as WiMAX (Worldwide Interoperability for
Microwave Access), uses a point-to-multipoint topology to provide wireless
broadband access.
Global System for Mobile Communications (GSM) - Includes Physical layer
specifications that enable the implementation of the Layer 2 General Packet
Radio Service (GPRS) protocol to provide data transfer over mobile cellular
telephony networks.
Other wireless technologies such as satellite communications provide data
network connectivity for locations without another means of connection.
Unguided (Wireless) media cont….
Wireless media carry electromagnetic signals at radio and microwave
frequencies that represent the binary digits of data communications.
Wireless data communication technologies are good in open environments.
However, buildings and structures, and the local terrain, will limit the
effective coverage. In addition, wireless is susceptible to different kinds
interference from home appliances.
Each frequency band has its advantages and disadvantages.
Popular mobile systems congregate toward lower frequencies, lower
frequencies mean longer wavelengths that travel further, but it has a
bandwidth limitation.
In contrast, higher frequencies can provide sufficient bandwidth but their
shorter wavelengths make for shorter traveling distances.
Unguided signals can travel from the source to destination in several ways:
ground propagation, sky propagation, and line-of-sight propagation.
Wireless Transmission Types
Performance metrics
Bandwidth
Throughput
Latency
Capacity
Infrared 300GHZ-400THZ
Line of sight
Network Protocol Stacks
Protocol is an agreement between the communicating parties on
how communication is to proceed.
A protocol layer can be implemented in software, in hardware, or
in a combination of the two.
A set of layers and protocols is called a network architecture.
The specification of an architecture must contain enough
information to allow an implementer to write the program or
build the hardware for each layer so that it will correctly obey the
appropriate protocol.
A list of the protocols used by a certain system, one protocol per
layer, is called a protocol stack.
The entities comprising the corresponding layers on different
machines are called peers. The peers may be software processes,
hardware devices, or even human beings.
Contd.
Network Protocol Stack cont…..
The Need for Layer Architecture
We use layered architecture in networking for the following reasons:
It reduces design and implementation complexity of the software as well
as the hardware.
It helps to easily replace one layer with a completely different protocol or
implementation without affecting the upper or lower layers in the
architecture.
Standards can be developed independently and simultaneously for each
layer.
Some researchers and networking engineers are strongly opposed to
layering, because:
One layer may duplicate lower-layer functionality.
Functionality at one layer may need information that is present only in
another layer; this violates the goal of separation of layers.
Network Protocol Stack cont….
Open System Interconnection (OSI)Reference Model
It is considered as the primary architectural model for inter-computer
communications. It ensures greater compatibility and interoperability
between various types of network technologies.
Divides the problem of moving information between computers over a
network medium into SEVEN smaller and more manageable problems
(modules).
The model define how each layer communicates and works with the layers
immediately above and below it.
Each layer communicates with the same layer’s software or hardware on
other computers (on the other node).
The lower 4 layers are concerned with the flow of data from end to end
through the network.
The upper three layers of the OSI model are orientated more toward services
to the applications.
Data is Encapsulated with the necessary protocol information as it moves
down the layers before network transit.
Network Protocol Stack cont…..
Network Protocol Stack
cont……
OSI Reference Model cont…..
The principles that were applied to arrive at the seven layers:
1. A layer should be created where a different abstraction is needed.
2. Each layer should perform a well-defined function.
3. The function of each layer should be chosen with an eye toward
defining internationally standardized protocols.
4. The layer boundaries should be chosen to minimize the
information flow across the interfaces.
5. The number of layers should be large enough that distinct
functions need not be thrown together in the same layer out of
necessity and small enough that the architecture does not become
unwieldy.
Network Protocol Stack cont…..
TCP/IP (Internet) Reference Model
Used in the grandparent of all wide area computer networks, the
Advanced Research Projects Agency Network (ARPANet).
Developed by Department of Defense (DoD) to ensure and preserve
data integrity as well as maintain communication in the time of
catastrophic war.
Condensed version of OSI model contains five layers instead of seven.
It is independent of the Network access methods, Frame format, &
Medium.
OSI TCP/IP Internet
Protocol
Application Application Application
Presentation
Session
Transport Transport Transport
Network Internet Internet
Data Link Link Link
Physical Physical
Network Protocol Stack cont……
Protocols in TCP/IP Reference
Model
Network Protocol Stack cont…..
Comparison of the OSI and TCP/IP Reference
Models
Three concepts (i.e. services, interfaces and protocols) are central
to the OSI model. But the TCP/IP model did not originally clearly
distinguish these concepts.
The biggest contribution of the OSI model is that it makes the
distinction between these three concepts explicit.
Protocols in the OSI model are better hidden than in the TCP/IP
model and can be replaced easily by new technology.
The OSI reference model was devised before the corresponding
protocols were invented.
The downside of this ordering was that the designers did not have
much experience with the subject and did not have a good idea of
which functionality to put in which layer.
Comparison of the OSI and TCP/IP Reference
Models ….
The choice of seven layers was more political than technical, and
two of the layers (session and presentation) are nearly empty,
whereas two other ones (data link and network) are overfull.
Network Protocol Stack cont…..
A Critique of the TCP/IP Reference Model
Not clearly distinguish the concepts of services, interfaces, and
protocols.
Not much of a guide for designing new networks using new
technologies.
It is not general and is poorly suited to describing any protocol
stack other than TCP/IP. For example, Bluetooth is completely
impossible.
The link layer is not a layer but it is an interface (between the
network and data link layers).
The TCP/IP model does not distinguish between the physical and
data link layers. These are completely different.
The protocol implementations were then distributed free, which
resulted in their becoming widely used, deeply entrenched, and
thus hard to replace.
Next
Chapter Two
Data Link Layer