Module 1 - Networking Principles and Layered Architecture
Module 1 - Networking Principles and Layered Architecture
Module 1 - Networking Principles and Layered Architecture
COMMUNICATION
Networking Principles and layered
architecture
Overview
• SYLLABUS
• Textbook
– Larry Peterson, Bruce S. Davie. Computer Networks: a
system approach. 5th Edition.
– Data Communications and Networking, Behrouz A.
Forouzan, McGraw Hill Education, 5th Ed., 2012
Highlights of the Course
• Understand the principles of computer networks
• Understand the construction of modern networks
• Study the principles of network protocol suit -
TCP/IP
• Learn how to use the network and the popular
network applications
• Acquire basic knowledge of network programming
Networking Principles and layered
architecture
• Data Communications and Networking:
– A Communications Model
• Data Communications:
– Evolution of network
– Requirements
– Applications
– Network Topology (Line configuration, Data Flow),
• Protocols and Standards, Network Models (OSI,
TCP/IP)
Introduction
DEFINTION & APPLICATIONS
DEFINTION:
• A computer network is defined as a group of two or more
computer systems linked together. It is done to enable the
computers to communicate and share available resources.
• Many types of computer networks, including the following:
LAN, MAN, WAN, PAN, HAN….
• Network benefits: Sharing and Connectivity
• APPLICATIONS:
– Sharing of resources such as printers.
– Sharing of expensive software's and database.
– Communication from one computer to another computer
– Exchange of data and information among users via network.
– Sharing of information over geographically wide areas.
Introduction (Cont’d)
• A very simple network
– Digital-Analog ; Analog-Digital.
– Physical lines A
– Routing
– Flow control B
– Simplex/Duplex Communication
C
Introduction (Cont’d)
– Broadcast
• single communication channel shared by all the
machines on the network
• Short messages, called packets in certain contexts,
sent by any machine are received by all the others.
• Eg. Address Checking required
– Point-to-point
• consist of many connections between individual
pairs of machines.
Introduction (Cont’d)
• Network Hardware (Scale Perspective)
– PAN: personal area networks (1m)
– LAN: local area networks (10m ~ 1km)
– MAN: metropolitan area networks (10km)
– WAN: wide area network (100km ~ 1000km)
– Internet
Network Benefits: SHARING RESOURCES
• Types of resources are:
1. Hardware: A network allows users to share many
hardware devices such as printers, modems, fax
machines, CD ROM, player, etc.
2. Software: sharing software resources reduces the
cost of software installation, saves space on hard disk.
OTHER BENEFITS OF COMPUTER NETWORK
• Increased speed
• Reduced cost
• Improved security
• Centralized software managements
• Electronic mail
• Flexible access
DISDAVATAGES OF NETWORKS
o High cost of installation
o Requires time for administration
o Failure of server
o Cable/Media faults
DATA COMMUNICATIONS
DC- is the exchange of data between two devices by means of
any transmission medium.
Characteristics:
1.Delivery,
2. Accuracy and
3. Timeliness.
1. The data must be delivered to the correct destination.
2. The data must be delivered accurately. i.e. without alteration.
3. The system must deliver data in a timely manner.
e.g. Real time application.
Network
• Network: Is a group or system of interconnected
people or things.
• Example: "the company has a network of 20
branches“.
• Computer Networks: A network is defined as a
group of two or more computer systems linked
together.
Network Characteristics
• Topology : The geometric arrangement of a
computer system.
• Protocol : The protocol defines a common set of
rules and signals that computers on the network
use to communicate. One of the most popular
protocols for LANs is called Ethernet.
• Architecture : Networks can be broadly classified as
using either a peer to peer or client/server
architecture.
A Communications Model
What is a Network?
•A network is a set of devices (node) connected by media links.
• A computer network may be defined as an interconnected
collection of autonomous computers.
• A network is a collection of computers, printers, routers, switches,
and other devices that are able to communicate with each other over
some transmission media.
COMPONENTS OF COMPUTER NETWORK
• Two or more computers
• Cables as links between the computers
• A network interfacing card(NIC) on each computer
• Switches
• Software called operating system(OS)
DIRECTION OF DATA FLOW
DIRECTION OF DATA FLOW:
Simplex:
Data flows in only one direction on the data communication
line (medium). E.g. Radio and Television broadcasts. They go
from the TV station to your home television.
Half-Duplex:
Data flows in both directions but only one direction at a time on
the data communication line. Ex. Conversation on walkie-
talkies is a half-duplex data flow. Each person takes turns
talking. If both talk at once - nothing occurs!
Full-Duplex:
Data flows in both directions simultaneously at the same time.
Ex. Modems are configured to flow data in both directions.
What is an Internetwork?
(i.e. Networks of Networks)
• An Internetwork is a collection of independent remote networks,
LANs and WANs, and their connecting devices. They function
together as one large network sharing connectivity resources.
Internetwork
(Internet)
1. Evolution of network
Evol….Roots of Computer networks
• Computer networks: transmitting information
over along distances. This implementation is
done by various methods of data encoding
and multiplexing in telecommunications
systems.
• Batch processing systems: 1950
• Multiterminal systems: Prototype of the
computer network(1960).
Batch processing systems
Multiterminal systems
Evol…First Computer Networks
• First WAN:
– Multilayer architecture of communications protocols
– Packet switching technology
– Packet routing heterogeneous networks
2. Data Communications:
Requirements
Components of data Communication:
1.Message, 2.Sender, 3.Receiver, 4.Medium and 5.Protocol.
Components of data Communication
The network can be categorized based on its size, its ownership, the distance it
covers, and its physical architecture.
Interprocessor Distance:
1. LAN :
10m – Room, 100m - Building and 1km or 2 km – upto Campus.
LAN ( Local Area Network )
It covers a small geographical area with in a building or up to a
few kilometers outside
They are widely used to connect PC with in a office.
LAN has distinguished from other networks by three characters.
• size
• their transmission technology
• their Topology
LAN run at speeds of 10 Mbps to 100 Mbps. or (100/1000Mbps)
Different Topologies will be used for LAN Connectivity.
• Bus / RING
- IEEE 802.3 known as Ethernet is an typical example for LAN
Advantages of LAN :
• LAN provides a cost-effective multi-user computer environmen
• A LAN is suited to any type of application.
• Any number of users can be accommodated.
• It is flexible and growth-oriented.
• Today speeds are normally 100 or 1000 Mbps.
• It provide data integrity.
MAN ( Metropolitan Area Network )
Disadvantages:
1. Difficult reconfiguration and fault isolation.
2. Difficult to add new devices.
3. Signal reflection at top can degradation in quality.
4. If any fault in backbone can stops all transmission.
Bus Topology
• Applications:
• Most computer motherboard.
Ring Topology
• Here each device has a dedicated connection with two
devices on either side.
• The signal is passed in one direction from device to
device until it reaches the destination and each device
have repeater.
• When one device received signals instead of intended
another device, its repeater then regenerates the data
and passes them along.
• To add or delete a device requires changing only two
connections.
Ring Topology
Ring Topology
• Advantages:
1. Easy to install.
2. Easy to reconfigure.
3. Fault identification is easy.
Disadvantages:
1. Unidirectional traffic.
2. Break in a single ring can break entire network.
Ring Topology
• Applications:
• Ring topologies are found in some office buildings or
school campuses.
• Today high speed LANs made this topology less
popular.
Tree Topology
• Alternatively referred to as a star bus topology.
• Tree topology is one of the most common network
setups that is similar to a bus topology and a star
topology.
• A tree topology connects multiple star networks to
other star networks. Below is a visual example of a
simple computer setup on a network using the star
topology.
Tree Topology
Hybrid Topology
• A network which contain all type of physical
structure and connected under a single backbone
channel.
Hybrid Topology
• a
Considerations for choosing
topology
• Money-Bus n/w may be the least expensive way to
install a n/w.
• Length-of cable needed- the linear bus n/w uses
shorter lengths of cable.
• Future growth-with star topology, expending a n/w is
easily done by adding another devices.
• Cable type-most common used cable in commercial
organization is twisted pair. Which often
used with star topologies.
• Full mesh topology is theoretically the best since
every device is connected to every other device.(thus
maximizing speed and security. however, it quite
expensive to install)
• Next best would be tree topology, which is basically a
connection of star.
Protocol :
It is defined as a set of rules and regulations used for
communication.
The key elements are given below.
1.Syntax: Refers to the structure of data, meaning the order in
which they are presented.
2. Semantics: The meaning of each section of bits.
3.Timing: Refers to two characteristics: - When data should be
sent and how fast they can be sent.
PROTOCALS AND STANDARDS:
07:01:02:01:2C:4B
IPv4: 192.168.2.33
IPv6: 2dbe:ab67:237f:50cd:83fd:ab34:92bd:66ca
The physical addresses will change from hop to hop,
but the logical addresses usually remain the same.
IP addresses
A port address is a 16-bit address represented by one
decimal number as shown.
753