CSE331 L1 - CN - Introduction
CSE331 L1 - CN - Introduction
Introduction of Computer
Network.
Imran Hossen
Adj. Lecturer, Dept. of CSE
Sonargaon University
E-mail: [email protected]
Contact: 01521234690/01729154878
What is a Network?
A network consists of 2 or more computers
connected together, and they can communicate and
share resources (e.g. information)
3
Why Networking?
• Sharing information — i.e. data communication
• Or this?
4
• Sharing hardware or software
• E.g. print document
Commonly referred to
as a linear bus, all the
devices on a bus
topology are
connected by one
single cable.
Advantages:
• less cable
• No problems to other
nodes if any node is
damaged
Disadvantages:
• Fault in main cable,
cause problems to
other nodes
11 Star & Tree Topology
The star topology is the most
commonly used architecture in
Ethernet LANs.
Larger networks use the
extended star topology also
called tree topology.
tree topology filters frames or
packets, like bridges, switches,
and routers
this topology significantly
reduces the traffic on the wires
by sending packets only to the
wires of the destination host.
12
Ring Topology
A frame travels around the ring,
stopping at each node. If a node
wants to transmit data, it adds the
data as well as the destination
address to the frame.
The frame then continues around
the ring until it finds the
destination node, which takes the
data out of the frame.
Single ring – All the devices on
the network share a single cable
Dual ring – The dual ring topology
allows data to be sent in both
directions.
13
Mesh Topology
The mesh topology
connects all devices
(nodes) to each other
for redundancy and
fault tolerance.
It is used in WANs to
interconnect LANs and
for mission critical
networks like those
used by banks and
financial institutions.
Implementing the mesh
topology is expensive
and difficult.
14
Transmission Media
Two main categories:
Guided ― wires, cables
Unguided ― wireless transmission, e.g. radio,
microwave, infrared, sound, sonar
We will concentrate on guided media here:
Twisted-Pair cables:
Unshielded Twisted-Pair (UTP) cables
Shielded Twisted-Pair (STP) cables
Coaxial cables
Fiber-optic cables
Unshielded Twisted-Pair (UTP)
15 Typically wrapped inside a plastic cover (for mechanical protection)
A sample UTP cable with 5 unshielded twisted pairs of wires
Insulator Metal
16
Shielded Twisted-Pair (STP)
STP cables are similar to UTP cables, except there is a metal foil or
braided-metal-mesh cover that encases each pair of insulated
wires
17
Coaxial Cables
In general, coaxial cables, or coax, carry signals of higher freq
(100KHz–500MHz) than UTP cables
Outer metallic wrapping serves both as a shield against noise and as
the second conductor that completes the circuit
18
Optical Fibre
An optical fiber consists of a core (denser material) and a
cladding (less dense material)
Simplest one is a multimode step-index optical fiber
Multimode = multiple paths, whereas step-index = refractive
index follows a step-function profile (i.e. an abrupt change of
refractive index between the core and the cladding)
Graded-index: reduce gradually, bandwith more, complex,
more cost, used for logner distance, less dispersion
Light bounces back and forth along the core
Common light sources: LEDs and lasers
Internetworking devices
Order list of Increasing power consumption and complexity
19
Repeaters
Hubs
Bridges
Switches
Routers
Gateways
20 Repeaters
H
R R
H
R
H
R
R H: Hosts
H R: Routers
30 Gateways
Protocol achieves:
What is communicated between computers?
How it is communicated?
When it is communicated?
What conformance (bit sequence) between
computers?
Key elements of a protocol are:
SYNTAC: Data format and signal levels
SEMANTICS: Control information for coordination
and error handling
TIMING: Synchronization, speed matching, and
sequencing
Examples of protocols:
WAN Protocol: TCP/IP
LAN Protocol: Media Access Control
33 OSI Reference Model
34
File Transfer, Email, Remote Login →
Establish/manage connection →