Chapter 2
Chapter 2
system.
Computer networking arose as an answer to the need to share data in a timely
fashion.
Personal computers are powerful tools that can process and manipulate large
amounts of data quickly, but they do not allow users to share that data efficiently.
Before networks, users needed either to print out documents or copy document
changes.
o This was, and still is, known as "working in a stand-alone environment."
Copying files onto floppy disks and giving them to others to copy onto their
3
Contd.
4
Contd.
Two computers are said to be interconnected if they are able to exchange
information
Hardware:
Computer Media:
Network card Cable
Routers Microwave …
Modem …
6
Contd.
1. Resource sharing
the goal of network is to make all programs, equipment, and especially data
2. Means of communication
E-mail
Videoconferencing
Chatting
E-commerce
Game
….
3. Centralizing administration and support
Database
Banks
….
8
Network Types: Networks of Many Sizes
9
Network Types
10
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
A local area network (LAN) is usually privately owned and links the devices in a single
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.
12
Contd.
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.
We normally refer to the first as a switched WAN and to the second as a point-to-point WAN.
The switched WAN connects the end systems, which usually comprise a router
The point-to-point WAN is normally a line leased from a telephone or cable TV provider that
connects a home computer or a small LAN to an Internet service provider (lSP). This type of
WAN is often used to provide Internet access.
14
Contd.
15
MAN
A metropolitan area network (MAN) is a network with a size between a LAN and a
WAN.
A good example of a MAN is the part of the telephone company network that can
provide a high-speed DSL line to the customer (we will discuss DSL in later chapters) .
Another example is the cable TV network that originally was designed for cable TV, but
today can also be used for high-speed data connection to the Internet.
16
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
and printers.
An internet (note the lowercase letter i) is two or more networks that can
The most notable internet is called the Internet (uppercase letter I), a
national/international coverage
20
Contd.
Tier-2 ISPs
also peer
o Tier-2 ISP pays Tier-2 ISP Tier-2 ISP privately with
tier-1 ISP for each other,
connectivity to Tier 1 ISP interconnect at
rest of Internet NAP NAP
o tier-2 ISP is
customer of tier-
1 provider Tier 1 ISP Tier 1 ISP Tier-2 ISP
21
Contd.
“Tier-3” ISPs and local ISPs
local
Tier 3 local
ISP local local
ISP ISP
ISP ISP
Local and
Tier-2 ISP Tier-2 ISP
tier- 3 ISPs
are customers Tier 1 ISP
of higher tier NAP
ISPs
connecting
them to rest Tier 1 ISP Tier 1 ISP
Tier-2 ISP
of Internet local
Tier-2 ISP Tier-2 ISP
local local local ISP
22 ISP ISP ISP
Contd.
a packet passes through many networks!
local
Tier 3 local
ISP local local
ISP ISP
ISP ISP
Tier-2 ISP Tier-2 ISP
24
Ethiopian Network Structure
25
Network Type Based on Connection
another.
multipoint.
26
1. Point-to-Point
The entire capacity of the link is reserved for transmission between 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
27
2. Multipoint
A multipoint (also called multidrop) connection is one in which more than two specific
temporally.
If several devices can use the link simultaneously, it is a spatially shared connection.
28
Network Topology
The term 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 links and linking devices (usually called nodes) to one another.
1. Star
2. Bus
3. Ring
4. Mesh
5. Hybrid
29
Star Topology
The term dedicated means that the link carries traffic only between the two
devices it connects.
Unlike a mesh topology, a star topology does not allow direct traffic between
devices.
another, it sends the data to the controller, which then relays the data to the other
connected device
30
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 connect it to any
number of others.
o This factor also makes it easy to install and reconfigure.
Far less cabling needs to be housed, and additions, moves, and deletions
involve only one connection: between that device and the central device.
Other advantages include robustness. If one link fails, only 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 central device is working,
it can be used to monitor link problems and bypass defective links.
31
Contd.
Although a star requires far less cable than a mesh, each node must be linked to
a central hub.
For this reason, often more cabling is required in a star than in some other
A bus topology, is multipoint connection: one long cable acts as a backbone to link all
Nodes are connected to the bus cable by drop lines and taps.
A drop line is a connection running between the device and the main cable.
34
Contd.
A tap is a connector that either splices into the main cable or punctures
into heat.
For this reason there is a limit on the number of taps a bus can support
Backbone cable can be laid along the most efficient path, then connected to the
In a star, for example, four network devices in the same room require four
Each drop line has to reach only as far as the nearest point on the backbone.
36
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.
o 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, even between
devices on the same side of the problem.
The damaged area reflects signals back in the direction of origin, creating
noise in both directions.
Bus topology was one of the first topologies used in the design of early local area
networks.
37 o Ethernet LANs can use a bus topology, but they are less popular now.
Ring Topology
In a ring topology, each device has a dedicated point-to-point connection with only the
A signal is passed along the ring in one direction, from device to device, until it reaches
its destination.
When a device receives a signal intended for another device, its repeater regenerates the
Each device is linked to only its immediate neighbors (either physically or logically).
The only constraints are media and traffic considerations (maximum ring length and
number of devices).
In addition, fault isolation is simplified.
Generally in a ring, a signal is circulating at all times.
39
Contd.
In a simple ring, a break in the ring (such as a disabled station) can disable the
entire network.
This weakness can be solved by using a dual ring or a switch capable of closing
Ring topology was prevalent when IBM introduced its local-area network Token
Ring.
Today, the need for higher-speed LANs has made this topology less popular.
40
Mesh topology
In a mesh topology, every device has a dedicated point-to-point link to every other
device.
To find the number of physical links in a fully connected mesh network with n nodes,
we first consider that each node must be connected to every other node.
mode), we can divide the number of links by 2. In other words, we can say that in a
mesh topology, we need n(n -1) /2 duplex-mode links.
To accommodate that many links, every device on the network must have n – 1
41
input/output (I/O) ports to be connected to the other n - 1 stations.
Contd.
A mesh offers several advantages over other network topologies.
First, the use of dedicated links guarantees that each connection 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 does not
incapacitate the entire system.
Third, there is the advantage of privacy or security. When every message travels along
a dedicated line, only the intended recipient sees it. Physical boundaries prevent other
users from gaining access to messages.
Finally, point-to-point links make fault identification and fault isolation easy.
Traffic can be routed to avoid links with suspected problems. This facility enables the
network manager to discover the precise location of the fault and aids in finding its
42 cause and solution.
Contd.
The main disadvantages of a mesh are related to the amount of cabling and the
First, because every device must be connected to every other device, installation and
Second, the sheer bulk of the wiring can be greater than the available space (in walls,
Finally, the hardware required to connect each link (I/O ports and cable) can be
prohibitively expensive.
For these reasons a mesh topology is usually implemented in a limited fashion, for
example, as a backbone connecting the main computers of a hybrid network that can
43 include several other topologies.
Contd.
One practical example of a mesh topology is the connection of telephone
regional offices in which each regional office needs to be connected to
every other regional office
Mesh topology
44
Hybrid Topology
A network can be hybrid. For example, we can have a main star topology
45
Network Models by Capability
1. Client/Server Model
46
Contd.
2. Peer-to-Peer Model
central server.
47
Client-server model
o Physically centralized
o Secure OS Cons:
Better performance Require professional administration
Centralized backups More hardware intensive
Reliability
49
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
Cons:
Individual user performance easily affected
Tragedy of the commons – no guarantee others will administer their resources properly
(almost guaranteed with over 10 machines)
50
Hard to back up.
Client/Server vs. Peer-to-Peer: Advantages and Disadvantages
52