Uploaded by Tahmina Sultana 2121344642

Lecture 09 - Computer Networks

advertisement
Introduction to
Computer Networks
Computer Networks
A system with
● Multiple computers
● Inter Connection
● Share information
● Share resources.
2
Usages
●
●
●
●
●
Resource Sharing
Server-Client model
Communication Medium
eCommerce
Form
Example
B2C
Ordering products online
Home Applications
B2B
Manufacturer ordering
materials from Supplier
C2C
Auctioning second hand
product online
G2C
Government Distributing
services online
P2P
File sharing
○
○
○
○
Access to remote information
Person-to-person communication
Interactive entertainment
Electronic commerce
● Mobile Users
3
Goals
● Resource Sharing
○
Many organization has a substantial number of computers in operations, which are
located apart. Ex. A group of office workers can share a common printer, fax, modem,
scanner etc.
● High Reliability
○
●
Inter-process Communication
○
●
If there are alternate sources of supply, all files could be replicated on two or, machines.
If one of them is not available, due to hardware failure, the other copies could be used.
Network users, located geographically apart, may converse in an interactive session
through the network. In order to permit this, the network must provide almost error-free
communications.
Flexible access
○
Files can be accessed from any computer in the network. The project can be begun on
one computer and finished on another.
4
Line Configuration
Point-to-Point Connection
1.
2.
3.
4.
5.
6.
Provides a dedicated link between two devices
Entire capacity of the link is reserved
Mostly uses wire or cable to connect
Microwave or satellite links may be used too
Topology is considered to be one of the easiest
The simplest to establish and understand
Multipoint Connection :
1.
2.
3.
4.
Called Multidrop configuration
Two or more devices share a single link
The capacity of the channel is shared
Two possibilities in this configuration:
a.
Spatial Sharing: Can share the link
simultaneously
b.
Temporal (Time) Sharing: Take turns
5
Network Topology
The arrangement of a network:
●
●
Comprises of nodes
Connecting lines
The various network topologies are :
6
Transmission Modes
The mechanism of transferring of data between two devices connected.
1. Simplex Mode
2. Half duplex Mode
3. Full duplex Mode
one way only
Simplex Mode
Bi-directional but not simultaneously
Half Duplex Mode
Both way and simultaneous
Full Duplex Mode
7
Transmission Mediums
Medium through which data from one point to another
Factor to be considered:
●
●
●
●
Transmission Rate
Cost and Ease of Installation
Resistance to Environment Conditions
Distances
Mainly Two Types:
●
●
Bounded or Guided Medium
Unbounded or Unguided Medium
8
Guided vs Unguided Mediums
Guided Medium
Unguided Medium
Physical Wires are used
Electromagnetic signals are used
High Speed
Less speed
Secure
Less Secure
Used for shorter distances
Used for larger distances
Twisted pair, CAT 5, Fiber optic Cable etc
Radiowave, Microwave, Infrared etc
9
Network Hardwares
Network Cable with RJ-45 Connector
Internal Network Card
Distributor
Router
External Network Card
USB Network Card
10
Guided Mediums (Coaxial Cable)
Coaxial Cable
●
●
●
●
●
●
High Bandwidth
Better noise Immunity
Easy to install and expand
Inexpensive
Single cable failure can disrupt the entire network
Two types of cable
○ Baseband
○ Broadband
11
Guided Mediums (Twisted Pair Cable)
Unshielded Twisted Pair Cable (UTP)
●
●
●
●
●
●
●
●
●
Least expensive
Easy to install
High speed capacity
Susceptible to external interference
Lower capacity and performance
Short distance transmission due to attenuation
Bandwidth is low compared with Coaxial Cable
Provides less protection from interference
Used in LAN technologies like Ethernet
Shielded Twisted Pair Cable (STP)
●
●
●
●
●
●
●
●
●
Better performance at a higher data rate
Eliminates crosstalk
Comparatively faster
Easy to install
Comparatively difficult to manufacture
More expensive
Bulky
Used in telephone lines
Used in Local Area Network
12
Guided Mediums (Optical Fiber Cable)
Optical Fiber Cable
●
●
●
●
●
●
●
●
●
●
●
Increased capacity and bandwidth
Light weight
Less signal attenuation
Immunity to electromagnetic interference
Resistance to corrosive materials
Difficult to install and maintain
High cost
Fragile
Used in Backbone networks
Used in some Cable TV companies
Used in Local-area Networks
13
Unguided Mediums
14
Unguided Mediums (Radio Waves)
●
●
●
Waves ranging frequency 3 KHz to 1 GHz
Radio waves are omnidirectional
Can penetrate walls
●
●
Useful for multicasting
AM and FM radio, television, maritime radio,
cordless phones, and paging are examples
of multicasting.
15
Unguided Mediums (Microwaves)
●
●
●
●
●
●
●
●
Propagation is line-of-sight.
Very high-frequency microwaves cannot penetrate walls.
The microwave band is relatively wide, almost 299 GHz.
Use of certain portions of the band requires permission from authorities.
It is very costly
Types are:
○ Terrestrial Microwave
○ Satellite Microwave
Used for long distance telephone communication
Carries 1000's of voice channels at the same time
16
Unguided Mediums (Infrared)
●
●
●
●
●
Frequencies from 300 GHz to 400 THz can be used for short-range communication
Infrared waves, having high frequencies, cannot penetrate walls
Within a wall prevents interference between one system and another
Useless for long-range communication.
We cannot use infrared waves outside a building
●
●
Can be used to transmit digital data with a very high data rate
The Infrared Data Association(IrDA) established standards for using these signals for
communication between devices such as keyboards, mouse, PCs and printers.
Infrared signals can be used for short-range communication in a closed area using
line-of-sight propagation.
●
17
Types of Computer Networks
●
●
●
●
●
●
●
●
●
Local Area Network (LAN)
Metropolitan Area Network (MAN)
Wide Area Network (WAN)
Personal Area Network (PAN)
Storage Area Network (SAN)
Enterprise Private Network (EPN)
Virtual Private Network (VPN)
Wireless Network
Inter Network (Internet)
18
Service Types
Connection Oriented Services vs Connectionless Services
1.
2.
3.
4.
In connection oriented service authentication is needed,
while connectionless service does not need any
authentication.
Connection oriented protocol makes a connection and
checks whether message is received or not and sends
again if an error occurs, while connectionless service
protocol does not guarantees a message delivery.
Connection oriented service is more reliable than
connectionless service.
Connection oriented service interface is stream based
and connectionless is message based.
19
Thank You
20
References
●
●
●
●
●
●
https://www.tutorialspoint.com/computer_fundamentals/computer_networking.htm
https://www.geeksforgeeks.org/basics-computer-networking/
https://www.studytonight.com/computer-networks/overview-of-computer-networks
https://www.studytonight.com/computer-networks/uses-of-computer-networks
https://www.studytonight.com/computer-networks/transmission-mode
https://www.studytonight.com/computer-networks/transmission-mediums
21
Download