CHAPTER 2 Network Basics
CHAPTER 2 Network Basics
ALEBACHEW D.
1
Contents
04 • Network protocols
Definition of Computer Networks
3
Cont.…
• The objective of NW is to enable seamless
exchange of data between end users.
• Computer Network is all about sharing
Information & Resources amongst Users &
Devices within network.
4
Internetwork
• is defined as two or more computer network LANs or
WAN, connected using devices, and they are
configured by a local addressing scheme.
• interconnection between public, private, commercial,
industrial, or government computer networks
5
What are benefits of network?
• Strength business connections. Networking is about sharing, not
taking.
• Interconnected business contacts.
• Get career advice and support.
• Sharing a resource like a file, a folder, a printer, a disk drive or
just about anything else that exists on a computer
• Sharing of expensive software's and database.
• Connectivity: world ,country
• Reliability, Scalability, backup.
• E-commerce: amazon.com, ሶደሬ
• Increased Storage Capacity.
6
The nodes of a computer network may include
personal computers, servers, networking HW, or
other specialized hosts.
A Compute network should ensure:
reliability of the data communication process
security of the data
performance by achieving higher throughput and
smaller delay.
7
Computer Network Architecture
• Based on the type of computer in a network (configuration or
architecture), it divided into two broad categories.
– Peer-to-peer
– Client/Server
• Peer-to-peer
– There are no dedicated servers, and there is no hierarchy
among the computers.
– Each node considered as equal in terms of resource
sharing and responsibilities
8
Cont….
pros
• Easy to set up
• Less expensive
• Demands moderate level of skill to administer
• User is able to control their own resources
Cons
• Only < 10 nodes
• Low performance
• low level security
• Files and folders cannot be centrally backed up
• Files and resources are not centrally organized
into a specific shared area
9
• Peer-to-peer networks are good choices for environments
where:
o There are 10 users or fewer
o Users share resources, such as printers, but no
specialised servers exist
o Security is not an issue
o The organization and the network will experience
only limited growth within the foreseeable future
10
• Client Server Model
– Consists of a group clients connected to a server.
– Server with more RAM, larger hard disk, more
processing power…
– A server performs all the major operations such as
security and network management.
11
Advantages of client/server architecture
– Sharing Resources
– Back up the data easily.
– High Performance
– Security
– speed
Disadvantage of client/server architecture
– More complex to install, configure, and manage
– Expensive (large memory, NOS)
– Require skill – administrator
12
Types of Network
• Networks may be classified according to a wide
variety of characteristics.
– such as Size, Architecture, Topology, etc.
• Based on size, there are Four types of network: -
13
Cont…
Personal Area Network (PAN): used for communicating
among computers and computer devices (including telephones)
in close proximity of around a few meters within a room
oe.g. a wireless network connecting a computer and
printer
14
Cont…
Local Area Network (LAN):
Its smaller in size usually privately owned and
links devices in a single office, building or
campus.
LAN works under its own local domain and controlled
centrally.
Data speed of 10 Mb/s to 10 GB/s.
Easy to maintenance.
It has low BW and high DR.
15
• Metropolitan Area Network (MAN): designed to
extend over an entire city; it may be a single
network or interconnected LANs. covers large
geographic area like city.
• 5 to 50 KM in range
• small village or collage and it is speed range from
155 Mb/s to 10 GB/s.
16
Wide Area Network (WAN):
oSpans huge geographic area which may span across larger
area and even a whole country, continent
oConnecting computers and covers a wide geographical area
and it is contain a few smaller networks such as LANs,
MANs. Ex, Internet
oOwnership of WAN is either private or public
17
Computer network components
• Comprise both physical parts as well as the
software required for installing computer networks
• The HW components are the server, client, peer,
transmission medium, and connecting devices.
• SW components are NOS and protocols.
18
Cont…
HW Components:
– NIC
• used to connect a computer with a NW.
• NIC provides the physical interface between computer
and cabling support a transfer rate of 100 to 1000
Mb/s.
19
Cont…
• Software Components
– NOS− is typically installed in the server and facilitate
workstations in a network to share files, DB, applications,
printers etc.
– Protocol − is a rule or guideline followed by each computer
for data communication.
20
Network and internetworking device
21
B. Hub
multiport repeater
It cannot filter data, so data packets are sent to all
connected devices
It broadcast the request to the entire network.
– Acts on the physical layer
– Operate on bits rather than frames
22
Type of Hub
– Active Hub- have their own power supply and can clean,
boost, and relay the signal along with the network.
• It serves both as a repeater as well as a wiring center.
– Passive Hub-collect wiring from nodes and power supply
from the active hub.
• These hubs relay signals onto the network without cleaning and
boosting them and can’t be used to extend the distance between
nodes.
– Intelligent Hub-includes remote management capabilities.
They also provide flexible data rates to network devices.
• It also enables an administrator to monitor the traffic passing through
the hub and to configure each port in the hub.
23
Bridge
– connects two similar network segments together.
– It operates at the data link layer
– filtering content by reading the MAC addresses of source and
destination.
– It has a single input and single output port
– can’t connect dissimilar network types or perform
intelligent path selection
24
Switch
• It is a multiport bridge with a buffer and a design that
can boost its efficiency (a large number of ports imply
less traffic) and performance
• data link layer device
• can perform error checking before forwarding data
• delivers the message to the correct destination based
on MAC address
• does not broadcast the message to the entire network
25
Cont…
• Therefore, switch provides a direct connection
between the source and destination.
• It increases the speed of the network.
26
Router
• It is a Layer 3 device that has much more
intelligence than a hub or switch
• It determines the best path from the available paths
for the transmission of the packet.
• routes data packets based on their IP addresses
• connect LANs and WANs together
27
Advantages of Router
• Security
• Reliability
• Performance
28
Gateway
• It is any hardware and software combination that
connects dissimilar network environments.
• most complex of network devices because they
perform translations at multiple layers of the OSI
model.
• It acts as a "gate" between two networks. It may
be a router, firewall, server, or other device that
enables traffic to flow in and out of the network.
29
Cont…
30
Network Topology
Topology refers to the way in which multiple devices are
interconnected via communication links.
There are two types of topology: physical and logical.
o Physical Topology
Refers to the arrangement or physical layout of
computers, cables, and other components on the
network
Can be referred as Physical layout, Design, Diagram,
Map
o Logical topology
It is logical flow of information in the network.
31
• The choice of one topology over another will have an impact on the
o Types of equipment that the network needs
o Growth of the network – scalability
o The Way the network managed
There are five main network topologies;
A. Bus Topology
B. Ring Topology
C. Mesh Topology
D. Star Topology
E. Hybrid Topology
32
A. Bus Topology
Terminator
33
Advantages of Bus Topology
34
Disadvantage of bus topology
35
B. Ring Topology
• All microcomputers and other communication devices
are connected in a continuous loop.
• Electronic messages are passed around the ring in one
direction, with each node serving as the repeater, until
they reach the right destination.
• Since, all messages are flowing in only one direction;
failure of a single node can compromise the entire
network.
36
Cont…
• The most common access method of the ring
topology is token passing.
– Token passing: It is a network access method in which
token is passed from one node to another node.
– Token: It is a frame that circulates around the network.
37
Advantages of a Ring Topology
39
Advantages of star topology
40
Disadvantages of star topology
41
D. Mesh Topology
42
Cont…
• Number of cables = (n*(n-1))/2, Where n is the
number of nodes that represents the network.
43
Advantages of Mesh topology
• Reliable.
• Fast Communication.
• Easier Reconfiguration
Disadvantages of Mesh topology
• high chances of redundancy
• High cost
• Set-up and maintenance of this topology is very
difficult.
44
E. Hybrid Topology
• When two or more different topologies are
combined together forms Hybrid topology.
45
Hybrid Topology
46
Group discussion
47
Network protocols
48
Elements of a Protocol
• Syntax: -It means the structure or format of the data.
• Semantics: - It tells the meaning of each section of bits
and indicates the interpretation of each section.
• Timing: - It tells the sender about the readiness of the
receiver to receive the data.
Example: - FTP, HTTP, SSH, TCP, IP.
49
THANK
YOU! `
?