Chapter One
Chapter One
Introduction to Computer
Networks
3
Contd.
called networking.
4
Contd.
Two computers are said to be interconnected if
5
Uses of Computer Networks
6
Contd.
1. Resource sharing
the goal of network is to make all programs, equipment,
and especially data available to anyone on the network
without regard to the physical location of the resource and
the user.
An obvious and widespread example is having a group of
office workers share a common printer.
None of the individuals really needs a private printer, and
a high-volume networked printer is often cheaper, faster,
and easier to maintain than a large collection of individual
printers.
Information sharing is more important than physical
7 resource sharing
Contd.
2. Means of communication
E-mail
Videoconferencing
Chatting
E-commerce
Game
….
8
Network Types
coverage
9
LAN
A local area network (LAN) is the basic building block
of any computer network.
A LAN can range from simple (two computers connected
by a cable) to complex (hundreds of connected
computers and peripherals throughout a major
corporation).
The distinguishing feature of a LAN is that it is confined
to a limited geographic area.
A local area network (LAN) is usually privately owned and
links the devices in a single office, building, or campus.
Depending on the needs of an organization and the type
of technology used, a LAN can be as simple as two PCs
and a printer in someone's home office; or it can extend
throughout a company and include audio and video
peripherals.
10
Currently, LAN size is limited to a few kilometers
Contd.
11
Contd.
LANs are designed to allow resources to be shared between
personal computers or workstations. The resources to be
shared can include hardware (e.g., a printer), software (e.g.,
an application program), or data.
In addition to size, LANs are distinguished from other types of
topology.
In general, a given LAN will use only one type of
transmission medium. The most common LAN topologies
are bus, ring, and star.
Early LANs had data rates in the 4 to 16 megabits per second
(Mbps) range. Today, however, speeds are normally 100 or
12
1000 Mbps.
Wireless LANs are the newest evolution in LAN technology.
WAN
A wide area network (WAN) provides long-distance
access.
14
15
MAN
A metropolitan area network (MAN) is a network with a size
designed for cable TV, but today can also be used for high-
16 speed data connection to the Internet.
Interconnection of Networks:
Internetwork
Today, it is very rare to see a LAN, a MAN, or a
LAN in isolation; they are connected to one
another.
When two or more networks are connected,
they become an internetwork, or internet.
17
Network, internet, and Internet
A network is a group of connected communicating
20
1. Point-to-Point
A point-to-point connection provides a dedicated link
22
Network Topology
The term topology refers to the way in which a network is laid
out physically.
topology.
There are four basic topologies possible: mesh, star, bus, and
23 ring
A.Star Topology
In a star topology, each device has a dedicated point-to-
24
which then relays the data to the other connected device
Contd.
A star topology is less expensive than a mesh topology.
In a star, each device needs only one link and one I/O port to
that link is affected. All other links remain active. This factor
also lends itself to easy fault identification and fault
isolation. As long as the hub is working, it can be used to
25 monitor link problems and bypass defective links.
Contd.
hub.
27
B. Bus Topology
A bus topology, is multipoint connection.
network
Nodes are connected to the bus cable by drop lines and taps.
main cable.
28
Contd.
A tap is a connector that either splices into the
topologies.
In a star, for example, four network devices in the same room
require four lengths of cable reaching all the way to the hub.
In a bus, this redundancy is eliminated. Only the backbone
on the backbone.
30
Disadvantages of Bus Topology.
1. Difficult reconnection and fault isolation. A bus is usually designed to
be optimally efficient at installation.
It can therefore be difficult to add new devices.
2. Signal reflection at the taps can cause degradation in quality. This
degradation can be controlled by limiting the number and spacing of
devices connected to a given length of cable.
Adding new devices may therefore require modification or
replacement of the backbone.
In addition, a fault or break in the bus cable stops all transmission,
early local area networks. Ethernet LANs can use a bus topology, but
31
they are less popular now.
C. Ring Topology
In a ring topology, each device has a dedicated point-to-
it.
can carry its own data load, thus eliminating the traffic problems
that can occur when links must be shared by multiple devices.
Second, a mesh topology is robust. If one link becomes unusable, it
Mesh topology
38
E. Hybrid Topology
A network can be hybrid. For example, we can
39
Network Models by Capability
1. Client/Server Model
Microcomputer users, or clients, share services of
a centralized computer called a server.
40
Contd.
2. Peer-to-Peer Model
41
Client-server model
42
Client/Server
A distinction exists between computers that make
available network resources (servers) and those
computers that use the resources (clients or
workstations).
Pros:
Very secure
Centralized servers easy to manage
Physically centralized
Secure OS
Better performance
Centralized backups
Reliability
Simple job to do plus built in redundancy
Cons:
Require professional administration
43
More hardware intensive
Peer-to-Peer (p2p)
Computers on the network communicate with each
others as equals and each computer is responsible
for making its own resources available to other
computers on the network.
Pros:
Uses less expensive computer networks
Easy to administer
No NOS (network operating system) required
More built-in redundancy
Shared resources – some machine will have what you need
Cons:
Individual user performance easily affected
Not very secure
Tragedy of the commons – no guarantee others will administer their resources
properly (almost guaranteed with over 10 machines)
44
Hard to back up.
Client/Server vs. Peer-to-Peer:
Advantages and Disadvantages
Client/Server Model Peer-to-Peer Model
Advantages: Advantages:
Very secure OS. Uses less expensive networks.
Better performance. Easy to administer.
Centralized servers, easy Contain both network operating
to manage. system and application software.
Centralized backups. Ideal for small business and home
High reliability. users (up to 10 computers).
Disadvantages: Disadvantages:
Expensive administration. Individual user performance easily
More hardware intensive. affected.
Not very secure.
Hard to back up.
45
Protocols and Standards
A protocol is a set of rules that
govern data communications. It
defines what is communicated,
how it is communicated, and when
it is communicated.
The key elements of a protocol are
syntax, semantics, and timing
Syntax – structure or format of
data
Semantics – meaning of each
46
of field
52
Purposes of network protocol