Computer Networks Overview
Computer Networks Overview
UNIT – I
INTRODUCTION
Network Hardware
Network Software
OSI
TCP/IP Reference Models
Example Networks - Arpanet
Internet
PHYSICAL LAYER
Guided Transmission Media
Twisted Pairs
Coaxial Cable
Fiber Optics
Wireless Transmission
INTRODUCTION
A network is a set of devices (often referred to as nodes)
connected by communication links. A node can be a
computer, printer, or any other device capable of sending
and/or receiving data generated by other nodes on the
network.
“Computer network’’ to mean a collection of autonomous
computers interconnected by a single technology. Two
computers are said to be interconnected if they are able to
exchange information.
The connection need not be via a copper wire; fiber
optics, microwaves, infrared, and communication
satellites can also be used.
Networks come in many sizes, shapes and forms, as
we will see later. They are usually connected together to
make larger networks with the Internet being the most
well-known example of a network of networks.
There is considerable confusion in the literature between
a computer network and a distributed system.
The key distinction is that in a distributed system, a
collection of independent computers appears to its users
as a single coherent system. Usually, it has a single model
or paradigm that it presents to the users. Often a layer of
software on top of the operating system, called
middleware, is responsible for implementing this model.
A well-known example of a distributed system is the
World Wide Web.
It runs on top of the Internet and presents a model in
which everything looks like a document (Web page).
USES OF COMPUTER NETWORKS
1. BUSINESS APPLICATIONS
To distribute information throughout the company
(resource sharing). sharing physical resources such as
printers, and tape backup systems, is sharing
information client-server model.
It is widely used and forms the basis of much network
usage communication medium among employees.
Email (electronic mail), which employees generally use
for a great deal of daily communication.
Telephone calls between employees may be carried by
the computer network instead of by the phone company.
This technology is called IP telephony or Voice over IP
(VoIP) when Internet technology is used.
Desktop sharing lets remote workers see and interact
with a graphical computer screen doing business
electronically, especially with customers and suppliers.
This new model is called e-commerce (electronic
commerce) and it has grown rapidly in recent years.
2. HOME APPLICATIONS
peer-to-peer communication
person-to-person communication
electronic commerce
entertainment. (game playing,)
[Link] USERS
Text messaging or texting
Smart phones
GPS (Global Positioning System)
m-commerce
NFC (Near Field Communication)
[Link] ISSUES
With the good comes the bad, as this new-found
freedom brings with it many unsolved social, political,
and ethical issues. Social networks, message boards,
content sharing sites.
CLSSIFICSTION OF COMPUTER NETWORKS
1. Based on Transmission Mode
2. Based on Type of Connection
3. Based on Topology
4. Types of Network based on size
1) BASED ON TRANSMISSION MODE
Communication between two devices can be simplex,
half-duplex, or full-duplex as shown in Figure.
Simplex
In simplex mode, the communication is unidirectional,
as on a one- way street. Only one of the two devices on
a link can transmit; the other can only receive (Figure a).
Keyboards and traditional monitors are examples of
simplex devices.
Half-Duplex
In half-duplex mode, each station can both transmit and
receive, but not at the same time. When one device is
sending, the other can only receive, and vice versa (Figure
b). Walkie-talkies and CB (citizens band) radios are both
half- duplex systems.
Full-Duplex
In full-duplex, both stations can transmit and receive
simultaneously (Figure c). One common example of full-
duplex communication is the telephone network. When
two people are communicating by a telephone line,
both can talk and listen at the same time. The full-duplex
mode is used when communication in both directions is
required all the time.
[Link] ON TYPE OF CONNECTION
There are two possible types of connections: point-to-
point and multipoint.
Point-to-Point A point-to-point connection provides a
dedicated link between two devices. The entire capacity
of the link is reserved for transmissionbetween those two
devices. Most point-to-point connections use an actual
length of wire or cable to connect the two ends, but
other options, such as microwave or satellite links, are
also possible
When you change television channels by infrared remote
control, you are establishing a point-to-point connection
between the remote control and the television's control
system.
Multipoint A multipoint (also called multi-drop)
connection is one in which more than two specific devices
share a single link
In a multipoint environment, the capacity of the channel
is shared, either spatially or temporally. If several devices
can use the link simultaneously, it is a spatially shared
connection. If users must take turns, it is a timeshared
connection.
[Link] ON TOPOLOGY
I) Physical Topology
The term physical topology refers to the way in which a
network is laid out physically.
Two or more devices connect to a link; 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 (usually called nodes) to one
another.
There are four basic topologies possible: mesh, star, bus,
and ring.
MESH TOPOLOGY
A mesh topology is the one where every node is
connected to every other node in the network. A mesh
topology can be a full mesh topology or a partially
connected mesh topology.
The number of connections in this network can be
calculated using the following formula (n is the
number of computers in the network): n(n-1)/2
In a partially connected mesh topology, at least two of the
computers in the network have connections to multiple
other computers in that network. It is an inexpensive way
to implement redundancy in a network. In the event that
one of the primary computers or connections in the
network fails, the rest of the network continues to operate
normally.
Advantages of a mesh topology
Can handle high amounts of traffic, because multiple
devices can transmit data simultaneously.
A failure of one device does not cause a break in the
network or transmission of data.
Adding additional devices does not disrupt data
transmission between other devices.
Disadvantages of a mesh topology
The cost to implement is higher than other network
topologies, making it a less desirable option.
Building and maintaining the topology is difficult and
time consuming.
STAR TOPOLOGY
RING TOPOLOGY
A ring topology is a network configuration in which
device connections create a circular data path. In a ring
network, packets of data travel from one device to the next
until they reach their destination. Most ring topologies
allow packets to travel only in one direction, called a
unidirectional ring network. Others permit data to move
in either direction, called bidirectional.
The major disadvantage of a ring topology is that if any
individual connection in the ring is broken, the entire
network is affected.
Ring topologies may be used in either local area
networks (LANs) or wide area networks (WANs).
Advantages of ring topology
All data flows in one direction, reducing the chance of
packet collisions.
A network server is not needed to control network
connectivity between each workstation.
Data can transfer between workstations at high speeds.
Additional workstations can be added without
impacting performance of the network.
Disadvantages of ring topology
All data being transferred over the network must
pass through each workstation on the network, which can
make it slower than a star topology.
The entire network will be impacted if one workstation
shuts down.
The hardware needed to connect each workstation to
the network is more expensive than Ethernet cards and
hubs/switches.
II) HYBRID TOPOLOGY
A network can be hybrid. For example, we can have a
main star topology with each branch connecting several
stations in a bus topology as shown in Figure
[Link] OF NETWORK BASED ON SIZE
The types of network are classified based upon the size,
the area it covers and its physical architecture. The three
primary network categories are LAN, WAN and MAN.
Each network differs in their characteristics such as
distance, transmission speed, cables and cost.
Basic types
LAN (Local Area Network)
Group of interconnected computers within a
small area. (room, building, campus)
Two or more pc's can from a LAN to share files, folders,
printers, applications and other devices.
Coaxial or CAT 5 cables are normally used for
connections. Due to short distances, errors and noise are
minimum.
Data transfer rate is 10 to 100 mbps. Example: A
computer lab in a school. MAN (Metropolitan Area
Network) Design to extend over a large area.
Connecting number of LAN's to form larger network,
so that resources can be shared.
Networks can be up to 5 to 50 km. Owned by
organization or individual. Data transfer rate is low
compare to LAN.
Example: Organization with different branches located in
the city.
WAN (Wide Area Network)
Are country and worldwide network. Contains multiple
LAN's and MAN's.
Distinguished in terms of geographical range. Uses
satellites and microwave relays.
Data transfer rate depends upon the ISP provider and
varies over the location. Best example is the internet.
Other types
WLAN (Wireless LAN)
A LAN that uses high frequency radio waves for
communication. Provides short range connectivity with
high speed data transmission.
PAN (Personal Area Network)
Network organized by the individual user for its personal
use.
SAN (Storage Area Network) Connects servers to
data storage devices via fiber-optic cables.
NETWORK HARDWARE
Network hardware is a set of physical or network devices that
are essential for interaction and communication between
hardware units operational on a computer network. These are
dedicated hardware components that connect to each other and
enable a network to function effectively and efficiently.
Network devices, also known as networking hardware,
are physical devices that allow hardware on a computer
network to communicate and interact with one another. For
example, Repeater, Hub, Bridge, Switch, Routers, Gateway,
and NIC, etc.
Network hardware plays a key role as industries grow as it
supports scalability. It integrates any number of components
depending on the enterprise’s needs. Network hardware helps
establish an effective mode of communication, thereby
improving the business standards. It also promotes
multiprocessing and enables sharing of resources, information,
and software with ease.
Network equipment is part of advancements of the Ethernet
network protocol and utilizes a twisted pair or fiber cable as a
connection medium. Routers, hubs, switches, and bridges are
some examples of network hardware.
MODEMS: A modem enables a computer to connect to the
internet via a telephone line. The modem at one end converts
the computer’s digital signals into analog signals and sends
them through a telephone line. At the other end, it converts the
analog signals to digital signals that are understandable for
another computer.
ROUTERS: A router connects two or more networks. One
common use of the router is to connect a home or office
network (LAN) to the internet (WAN). It generally has a
plugged-in internet cable along with cables that connect
computers on the LAN. Alternatively, a LAN connection can
also be wireless (Wi-Fi-enabled), making the network device
wireless. These are also referred to as wireless access points
(WAPs).
HUBS, BRIDGES, AND SWITCHES: Hubs, bridges, and
switches are connecting units that allow multiple devices to
connect to the router and enable data transfer to all devices on
a network.
HUBS: A hub broadcasts data to all devices on a network. As
a result, it consumes a lot of bandwidth as many computers
might not need to receive the broadcasted data. The hub could
be useful in linking a few gaming consoles in a local
multiplayer game via a wired or wireless LAN.
BRIDGES: A bridge connects two separate LAN networks. It
scans for the receiving device before sending a message. This
implies that it avoids unnecessary data transfers if the receiving
device is not there. Moreover, it also checks to see whether the
receiving device has already received the message. These
practices improve the overall performance of the network.
SWITCHES: A switch is more powerful than a hub or a
bridge but performs a similar role. It stores the MAC addresses
of network devices and transfers data packets only to those
devices that have requested Thus, when the demand is high, a
switch becomes more efficient as it reduces the amount of
latency.
NETWORK INTERFACE CARDS: A network interface
card (NIC) is a hardware unit installed on a computer, which
allows it to connect to a network. It is typically in the form of a
circuit board or chip. In most modern machines, NICs are built
into the motherboards, while in some computers, an extra
expansion card in the form of a small circuit board is added
externally.
NETWORK CABLES: Cables connect different devices on a
network. Today, most networks have cables over a wireless
connection as they are more secure, i.e., less prone to attacks,
and at the same time carry larger volumes of data per second.
FIREWALL: A firewall is a hardware or software device
between a computer and the rest of the network open to
attackers or hackers. Thus, a LAN can be protected from
hackers by placing a firewall between the LAN and the internet
connection. A firewall allows authorized connections and data-
like emails or web pages to pass through but blocks
unauthorized connections made to a computer or LAN.
box
Antenna
Head end
Internet
Subnet
Router Transmission line
APPLICATION LAYER
Contains all services or protocols needed by application
software or operating system to communicate on the
network
Examples
–Firefox web browser uses HTTP (Hyper-Text Transport
Protocol)
–E-mail program may use POP3 (Post Office Protocol
version 3) to read e-mails and SMTP (Simple Mail
Transport Protocol) to send e-mails
The interaction between layers in the OSI model
TCP/IP MODEL
TCP/IP stands for Model (Transmission Control
Protocol/Internet Protocol). A protocol suite is a large
number of related protocols that work together to allow
networked computers to communicate.
Whereas OSI reference model to the reference model used in
the grandparent of all wide area computer networks, the
ARPANET worldwide Internet.
THE INTERNET
The Internet has revolutionized many aspects of our daily
lives. It has affected the way we do business as well as
the way we spend our leisure time. Count the ways
you've used the Internet recently.
Perhaps you've sent electronic mail (e-mail) to a
business associate, paid a utility bill, read a newspaper
from a distant city, or looked up a local movie schedule-
all by using the Internet.
Or maybe you researched a medical topic, booked a
hotel reservation, chatted with a fellow Trekkie, or
comparison-shopped for a car.
The Internet is a communication system that has
brought a wealth of information to our fingertips and
organized it for our use.
A BRIEF HISTORY
A network is a group of connected communicating
devices such as computers and printers. An internet
(note the lowercase letter i) is two or more networks that
can communicate with each other.
The most notable internet is called the Internet (uppercase
letter I), a collaboration of more than hundreds of
thousands of interconnected networks.
Private individuals as well as various organizations such
as government agencies, schools, research facilities,
corporations, and libraries in more than 100 countries use
the Internet. Millions of people are users. Yet this
extraordinary communication system only came into
being in 1969.
ARPANET
In the mid-1960s, mainframe computers in research
organizations were standalone devices. Computers from
different manufacturers were unable to communicate
with one another.
The Advanced Research Projects Agency (ARPA) in the
Department of Defense (DoD) was interested in finding a
way to connect computers so that the researchers they
funded could share their findings, thereby reducing costs
and eliminating duplication of effort.
In 1967, at an Association for Computing Machinery
(ACM) meeting, ARPA presented its ideas for
ARPANET, a small network of connected computers.
The idea was that each host computer (not necessarily
from the same manufacturer) would be attached to a
specialized computer, called an interface message
processor (IMP).
The IMPs, in tum, would be connected to one another.
Each IMP had to be able to communicate with other IMPs
as well as with its own attached host.
By 1969, ARPANET was a reality. Four nodes, at the
University of California at Los Angeles (UCLA), the
University of California at Santa Barbara (UCSB),
Stanford Research Institute (SRI), and the University of
Utah, were connected via the IMPs to form a network.
Software called the Network Control Protocol (NCP)
provided communication between the hosts.
In 1972, Vint Cerf and Bob Kahn, both of whom were
part of the core ARPANET group, collaborated on what
they called the Internetting Project.
Cerf and Kahn's landmark 1973 paper outlined the
protocols to achieve end- to-end delivery of packets. This
paper on Transmission Control Protocol (TCP) included
concepts such as encapsulation, the datagram, and the
functions of a gateway.
Shortly thereafter, authorities made a decision to split
TCP into two protocols: Transmission Control Protocol
(TCP) and Internetworking Protocol (lP).
IP would handle datagram routing while TCP would be
responsible for higher-level functions such as
segmentation, reassembly, and error detection. The
internetworking protocol became known as TCPIIP.
The Internet Today
The Internet has come a long way since the 1960s. The
Internet today is not a simple hierarchical structure. It is
made up of many wide- and local-area networks joined
by connecting devices and switching stations.
It is difficult to give an accurate representation of the
Internet because it is continually changing-new networks
are being added, existing networks are adding addresses,
and networks of defunct companies are being removed.
Today most end users who want Internet connection use
the services of Internet service providers (lSPs).
There are international service providers, national service
providers, regional service providers, and local service
providers. The Internet today is run by private companies,
not the government. Figure shows a conceptual (not
geographic) view of the Internet.
International Internet Service Providers:
At the top of the hierarchy are the international service
providers that connect nations together.
National Internet Service Providers:
The national Internet service providers are backbone
networks created and maintained by specialized
companies.
There are many national ISPs operating in North
America; some of the most well-known are Sprint Link,
PSINet, UUNet Technology, AGIS, and internet Mel.
To provide connectivity between the end users, these
backbone networks are connected by complex switching
stations (normally run by a third party) called network
access points (NAPs).
Some national ISP networks are also connected to one
another by private switching stations called peering
points. These normally operate at a high data rate (up to
600 Mbps).
Regional Internet Service Providers:
Regional internet service providers or regional ISPs are
smaller ISPs that are connected to one or more national
ISPs. They are at the third level of the hierarchy with a
smaller data rate.
Local Internet Service Providers:
Local Internet service providers provide direct service to
the end users. The local ISPs can be connected to regional
ISPs or directly to national ISPs.
Most end users are connected to the local ISPs. Note that
in this sense, a local ISP can be a company that just
provides Internet services, a corporation with a network
that supplies services to its own employees, or a nonprofit
organization, such as a college or a university, that runs
its own network. Each of these local ISPs can be
connected to a regional or national service provider.
PHYSICAL LAYER
A transmission medium can be broadly defined as
anything that can carry information from a source to a
destination.
GUIDED MEDIA
Media are roughly grouped into guided media, such as copper
wire and fiber optics, and unguided media, such as terrestrial
wireless, satellite, and lasers through the air.
Guided media, which are those that provide a medium
from one device to another, include twisted-pair cable,
coaxial cable, and fiber-optic cable. Each one has its own
niche in terms of bandwidth, delay, cost, and ease of installation
and maintenance.
TWISTED-PAIR CABLE
A twisted pair consists of two conductors (normally
copper), each with its own plastic insulation, twisted
together. One of the wires is used to carry signals to the
receiver, and the other is used only as a ground reference.
COAXIAL CABLE
Coaxial cable (or coax) carries signals of higher
frequency ranges than those in twisted pair cable.
Coax has a central core conductor of solid or stranded
wire (usually copper) enclosed in an insulating sheath,
which is, in turn, encased in an outer conductor of metal
foil, braid, or a combination of the two.
The outer metallic wrapping serves both as a shield
against noise and as the second conductor, which
completes the circuit.
This outer conductor is also enclosed in an insulating
sheath, and the whole cable is protected by a plastic
cover.
FIBER CONSTRUCTION