SlideShare a Scribd company logo
1 of 57
Download to read offline
CHAPTER 1 INTRODUCTION
• 1.1 Network Hardware
• 1.2 Network Software
• 1.3 Network Models
Technology Revolution
18th Century Mechanical systems
19th CenturySteam Engine
20th CenturyInformation
- gathering
- distribution
- processing
- creating
21st Century Networks
Human-to-Human, Machine-to-Machine
What is a Computer Network
◆ Aset of communication elements connected by communication links
➭ Communication elements
● Computers, printers, mobile phones, …
● Routers, switches, ...
➭ Communication links
● optic fiber
● coaxial cable
● twisted pair
● wireless (radio, microwave, satellite)
➭ Topologies
● Ring, Star, Bus, Tree, Mesh
router workstation
server
mobile
local ISP
regional ISP
company
network 3
4
What is a Computer Network
◆ Asoftware/hardware infrastructure
➭ Share resources
● data, files, computing power, video,…
➭ Information highway
● communication between geographically dispersed users
➭ Electronic Society
● Cyberspace
● Virtual global nation
5
Introduction
 Computer Network
– an interconnected collection of autonomous computers
Internet: “network of networks”
– loosely hierarchical
– public Internet versus private intranet
WWW a distributed systems run on the top of Internet
 Distributed System
– High degree of cohesiveness and transparency
– A software system built on top of a network
6
NETWORK HARDWARE
• Network classification:
– Transmission technology
• Broadcast networks
• Point-to-point networks
– Scale
• Local area networks (LANs)
• Metropolitan area networks (MANs)
• Wide area networks (WANs)
• Inter-networks ( internet vs. Internet)
7
Network Hardware: Transmission
• Broadcast networks: broadcast networks have a single
communication channel that is shared by all the
machines on the network. There are three addressing
possibilities:
– Broadcasting,
– Multicasting.
• Point-to-point networks : point-to-point networks
have many communication connections between
individual pairs of machines.
– Unicasting.
8
Network Hardware: Scale
9
e.
Network Hardware: PAN
PANs (Personal Area Networks) let device communicate
over the range of a person.
• To connect a Bluetooth
mouse a Bluetooth
keyboard, a Bluetooth
Printer with a computer.
• To connect a Bluetooth
earphone with a mobile
phone
• To use RFID to communicate
with goods.
1
0
Network Hardware: LAN
LANs are privately-owned networks within a single building or
campus of up to a few kilometers in size.
• LAN characteristics
– The size is restricted  The worst-case transmission time
is bounded and known in advance  Certain designs are
possible and network management can be simplified.
– Transmission technology high speed 
10Gpbs
– Topology (physical and local): Bus, Ring, Star (Hub)
1
1
Network Hardware: LAN
Wireless and wired LANs.
(a) 802.11.
(b) Switched Ethernet.
1
2
Network Hardware: LAN
• Broadcast networks can be further divided into static and
dynamic, depending on how the channel is allocated.
– A typical static allocation would be to divide time into
discrete intervals and use a round-robin algorithm,
allowing each machine to broadcast only when its time
slot comes up.
– Dynamic allocation methods for a common channel are
• either centralized (A single entity determines who
goes next)
• or decentralized. (Many algorithms are designed to
bring order out of the potential chaos. )
1
3
Network Hardware: LAN
• Many home devices are capable of being networked:
– Computers (desktop PC, PDA, shared peripherals)
– Entertainment (TV, DVD, VCR, camera, stereo, MP3)
– Telecommunications (telephone, cell phone, intercom,
fax)
– Appliances (microwave, fridge, clock, furnace, airco)
– Telemetry (utility meter, burglar alarm, babycam).
• Requirements: easy to install, foolproof in operation,
low price, sufficient capacity, to be expandable, secure
and reliable.
1
4
Network Hardware: MAN
• A metropolitan area work, or, MAN (plural: MANs, not
MEN) is basically a bigger version of a LAN and
normally uses similar technology.
• Examples
– One reason for distinguishing MANs as a special
category is that a standard has been adopted for them. It
is called DQDB (Distributed Queue Dual Bus).
– A MAN can be based on cable TV (See the next slide)
– IEEE 802.16 (WiMAX)
• A key aspect of MAN is that there is a broadcast medium
to which all the computers are attached.
1
5
Network Hardware: MAN
A metropolitan area network based on cable TV.
1
6
Network Hardware: WAN
• A WAN consists of a collection of machines intended for
running user programs (hosts, end systems) and a pure
communication subnet(subnet)
• The subnet consists of two distinct components:
– Transmission lines (also called circuits, channels, or
trunks) move bits between machines.
– Switching elements (packet switching nodes,
intermediate system, data switching exchanges, routers)
are specialized computers used to connect three or
more transmission lines. When data arrive on an
incoming line, the switching element must choose an
outgoing line to forward them on.
1
7
Network Hardware: WAN
WAN that connects three branch offices in Australia
1
8
Network Hardware: WAN
WAN using a virtual private network.
1
9
Network Hardware: WAN
A stream of packets from sender to receiver.
2
0
Network Hardware: Internet
• An internetwork or just internet is a collection of
interconnected networks. (internet vs Internet)
• A common form of internet is a collection of LANs
connected by a WAN.
• Differences among WANs, subnets, networks, and
internetworks.
– WAN = subnet + hosts
– Subnet + hosts  WAN network
– Cable + hosts  LAN network
– Many interconnected networks  internetworks.
• Different owners
• Different technologies.
2
1
The Relationship of Services to Protocols
NETWORK SOFTWARE
• Protocol Hierarchies
• Design Issues for the Layers
• Connection-Oriented and Connectionless
Services
• Service Primitives
•
2
2
and interfaces.
– The number of
layers
The name of each
layer
– The function of
each layer
– The content of each
layer
Network Software: Protocol hierarchies
• Layers, protocols,
2
3
Network Software: Protocol hierarchies
• A protocol is an agreement between the communicating
parties on how communication is to proceed.
• The peers are the entities comprising the corresponding
layers on different machines. The peers may be OS kernel,
processes, hardware devices, or even human
beings. It is the peers that communicate by using the
protocol.
• Communication: actual and virtual.
• Service interfaces:
– The interface defines which primitive operations and
services the lower layer makes available to the upper one.
– It is common that different hosts use different
implementations.
2
4
Network Software: Protocol hierarchies
• A set of layers and protocols is called a network
architecture.
• A list of protocols used by a certain system, one protocol
per layer, is called a protocol stack.
• The subjects of network architectures, protocol stack, and
the protocol themselves are the principal topics of
computer networks.
2
5
I like
rabbits
Message Philosopher
J'aime
bien les
lapins
3 3
L: Dutch
Ik vind
konijnen
leuk
Information
for the remote
translator
Translator
2
L: Dutch
Ik vind
konijnen
leuk
2
Fax #---
L: Dutch
Ik vind
konijnen
leuk
Information
for the remote
secretary Secretary
1
Fax #---
L: Dutch
Ik vind
1
konijnen
leuk
Network Software: Protocol hierarchies
The philosopher-translator-secretary architecture.
Location A Location B
2
6
Layer
5
Virtual Communication in Peer Layer
Layer 5 Protocol
M M
4 H4 M
3 H3 H4 M1 H3 M2
Layer 4 Protocol
Layer 3 Protocol
H4 M
H3 H4 M1 H3 M2
2
H2 H3 H4 M1 T2 H2 H3 M2 T2 H2 H3 H4 M1 T2 H2 H3 M2 T2
Source Machine Destination Machine
1
2
7
Network Software: Layer design issues
• Addressing
• Channel control
– simplex/duplex,
– data channel/control channel
• Error control: Detection / correction
• Flow control: not to drown the poor receiver
• Disassembling / reassembling
• Multiplexing / demultiplexing
• Routing
2
8
Network Software: Service issues
• Two main types:
– Connection-oriented service
– Connectionless service
– Quality of Service(QOS)
2
9
Network Software: Service primitives
Five service primitives for implementing a simple
connection-oriented service.
3
0
Network Software: Service primitives
Packets sent in a simple client-server interaction on
a connection-oriented network.
3
1
Network Software: Services / protocols
3
2
Network Software: Services / protocols
• A service is a set of primitives (operations) that a
layer provides to the layer above it.
• A protocol is a set of rules governing the format
and meaning of the packets, or messages that are
exchanged by the peer entities within a layer.
3
3
Network Software: Services / protocols
• An analogy with programming languages
– A service is like an abstract data type or an object in an
object-oriented language. It defines the operations that
can be performed on an object but does not specify
how these operations are implemented.
– A protocol relates to the implementation of the service
and as such is not visible to the user of the service.
• An analogy with programming
– A service
– A interface (C++, C#, Java)
– A protocol
3
4
REFERENCE MODELS
• The OSI Reference Model
• The TCP/IP Reference Model
• A Comparison of OSI and TCP/IP
– A Critique of the OSI Model and Protocols
– A Critique of the TCP/IP Reference Model
3
5
Reference models: The OSI reference model
Design principles
1. A layer should be created where a different abstraction
is needed.
2. Each layer should perform a well-defined function.
3. The function of each layer should be chosen with an eye toward
defining internationally standardized protocols.
4. The layer boundaries should be chosen to minimize the
information flow across the interfaces.
5. The number of layers should be
– large enough that distinct functions need not be thrown
together in the same layer out of necessity and
– small enough that the architecture does not become
unwieldy .
3
6
3
7
Reference models: The OSI reference model
Physical layer : Concerned with transmitting raw bits over a
communication channel. The design issues deal with
mechanical, electrical, and timing interfaces, and the
physical transmission medium. Some typical questions:
• how many volts should be used to represent a 1 and how
many for a 0, how many microseconds a bit lasts,
• whether transmission may proceed simultaneously in both
directions,
• how the initial connection is established and how it is torn
down when both sides are finished,
• how many pins the network connector has and what each
pin is used for.
3
8
Reference models: The OSI reference model
Data link layer : This layer is to take a raw transmission
facility and transform it into a line that appears free of
undetected transmission errors to the
network layer. The design issues are:
• Framing: how to create and recognize frame boundaries,
• Error detection, recovery: how to solve the problems
caused by damaged, lost, and duplicate frames,
• Flow control: how to keep a fast transmitter from
drowning a slow receiver in data,
• MAC: how to control access to the shared channel (for
broadcast networks).
3
9
Reference models: The OSI reference model
Network layer: This layer is concerned with
controlling the operation of the subnet. The
design issues:
• how to route packets from source to destination:
• how to control congestion.
• how to connect heterogeneous networks (different
addressing, different maximum packet size,
different protocols).
4
0
Reference models: The OSI reference model
Transport layer : To accept data from the session layer, split it
up info smaller units if need be, pass these to the network
layer, and ensure that the pieces all arrive correctly at the
other end.
The design issues:
• Multiplexing: how to make the multiplexing transparent to
the session layer,
• how to determine what types of service to provide the
session layer,
• how to tell which messages belongs to which connection,
• how to regulate the flow of information.
4
1
Reference models: The OSI reference model
Session layer : To allow users on different machines to
establish sessions between them.
The design issues are:
• how to manage dialog control,
• how to manage token,
• how to synchronize different sessions.
4
2
Reference models: The OSI reference model
Presentation layer : The presentation layer is concerned
with the syntax and semantics of the information
transmitted.
The design issues are:
– how to encode data in a standard agreed upon way,
– how to efficiently convert from the representation
used inside the computer to the network standard
representation and back.
– Big endian (most sig. appear first/smallest addr) vs.
little endian
4
3
Reference models: The OSI reference model
Application layer: This layer contains a variety of protocols
that are commonly needed.
Some application layer protocols:
– http (WWW)
– telnet (network virtual terminal)
– ftp (file transfer protocol)
– DNS
– DHCP
– SMTP
– POP.
4
4
Reference models: The TCP/IP reference model
4
5
Reference models: The TCP/IP reference model
The TCP/IP reference model with some
protocols we will study
4
6
Reference models: The TCP/IP reference model
Host-to-network layer
• The host has to connect to the network using some
protocol so it can send packets to it.
• The protocol is not defined and varies from host to host
and network to network.
• Books and papers about the the TCP/IP model rarely
discuss it.
• Possible connections
– LAN  router  Internet
– Dial-up  router  Internet
– ADSL  router  Internet
4
7
Reference models: The TCP/IP reference model
Internet layer
• Its job is to permit hosts to inject packets into any
network and have they travel independently to the
destination (potentially on a different network).
• The internet layer defines an official packet format and
protocol called IP (Internet Protocol).
• Some issues
– Packet routing
– Avoiding congestion
– QoS
4
8
UDP: an unreliable connectionless protocol
Reference models: The TCP/IP reference model
Transport Layer
• It is designed to allow peer entities on the source
and destination hosts to carry on a conversation.
• Two end-end transport protocols
TCP: a reliable connection-oriented protocol
4
9
Reference models: The TCP/IP reference model
Application layer
• It contains all the higher-level protocols
• Some examples
– HTTP
– FTP
– TFTP
– SMTP
– POP
DNS
– NNTP
– DHCP
5
0
Reference models: Comparison
Similarities for the OSI and TCP/IP reference models
• Protocol stack
• Layer functionality
• End-end service provider vs. end-end service user
Differences for the OSI and TCP/IP reference models
• Services/interfaces/protocols
– The OSI makes the distinction explicit
– The TCP/IP model did not originally clearly
distinguish them
5
1
Reference models: Comparison
Differences for the OSI and TCP/IP reference models
• Which comes first? (Models/protocols):
– OSI model first while TCP protocol first.
• 7 layer / 4 layers; Network, transport, application layers
common; the rest different.
• Connection-oriented vs and connectionless comm.
– OSI: Connection-oriented and connectionless
communication in network layer
connection-oriented in transport layer
– TCP: connectionless communication in network layer
connection-oriented and connectionless communication
in transport layer.
5
2
Reference models: A critique of the OSI model and
protocols
Why OSI did not take over the world
• Bad timing
• Bad technology
• Bad implementations
• Bad politics
5
3
– The first elephant represents a burst of research
activity.
– The second elephant represents the billion-dollar
wave of investment hits.
Reference models: A critique of the OSI model and protocols
• Bad timing
– The time at which a standard is established is
absolutely critical to its success.
5
4
Reference models: A critique of the OSI model and protocols
• Bad technology: Both the model and the
protocols are flawed, extraordinarily complex,
difficult to implement and inefficient in
operation.
• Bad implementation: The initial implementations
were huge, unwieldy, and slow.
• Bad politics: The OSI model was thought to be
the creature of government bureaucrats.
5
5
Reference models:
A critique of the TCP/IP model and protocols
Problems:
• Service, interface, and protocol not distinguished
• Not a general model
• Host-to-network “layer” not really a layer
• No mention of physical and data link layers
• Minor protocols deeply entrenched, hard to
replace
5
6
REFERENCE MODELS
The hybrid reference model
5
7

More Related Content

Similar to Modue 1 part 1 of computer networks for your university exams

Networking Basic Refresh.pdf
Networking Basic Refresh.pdfNetworking Basic Refresh.pdf
Networking Basic Refresh.pdfCS Knowledge
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and NetworkingUtkarshaManpiya1
 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.pptssuserf7cd2b
 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.pptssuserf7cd2b
 
Fundamentals of Enterprise Networks
Fundamentals ofEnterprise NetworksFundamentals ofEnterprise Networks
Fundamentals of Enterprise NetworksVisualBee.com
 
Unit1_COMPUTER_COMMUNICATIONSSlides.pptx
Unit1_COMPUTER_COMMUNICATIONSSlides.pptxUnit1_COMPUTER_COMMUNICATIONSSlides.pptx
Unit1_COMPUTER_COMMUNICATIONSSlides.pptxNANDIKHATHARANIKUMAR1
 
Unit - 1.pptx
Unit - 1.pptxUnit - 1.pptx
Unit - 1.pptxKavinD11
 
Data Communication-1.ppt
Data Communication-1.pptData Communication-1.ppt
Data Communication-1.pptssusere16bd9
 
data communication and Network.ppt
data communication and Network.pptdata communication and Network.ppt
data communication and Network.pptGetachewDires1
 
interconnected_network_of_internets.pptx
interconnected_network_of_internets.pptxinterconnected_network_of_internets.pptx
interconnected_network_of_internets.pptxGaganaP13
 
Chapter7 Computer Networks
Chapter7 Computer NetworksChapter7 Computer Networks
Chapter7 Computer NetworksMuhammad Waqas
 

Similar to Modue 1 part 1 of computer networks for your university exams (20)

NW.pdf
NW.pdfNW.pdf
NW.pdf
 
Networking Basic Refresh.pdf
Networking Basic Refresh.pdfNetworking Basic Refresh.pdf
Networking Basic Refresh.pdf
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and Networking
 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.ppt
 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.ppt
 
Fundamentals of Enterprise Networks
Fundamentals ofEnterprise NetworksFundamentals ofEnterprise Networks
Fundamentals of Enterprise Networks
 
Chapter1
Chapter1Chapter1
Chapter1
 
Unit1_COMPUTER_COMMUNICATIONSSlides.pptx
Unit1_COMPUTER_COMMUNICATIONSSlides.pptxUnit1_COMPUTER_COMMUNICATIONSSlides.pptx
Unit1_COMPUTER_COMMUNICATIONSSlides.pptx
 
Unit - 1.pptx
Unit - 1.pptxUnit - 1.pptx
Unit - 1.pptx
 
lecture1.ppt
lecture1.pptlecture1.ppt
lecture1.ppt
 
lecture1.ppt
lecture1.pptlecture1.ppt
lecture1.ppt
 
lecture1 (1).ppt
lecture1 (1).pptlecture1 (1).ppt
lecture1 (1).ppt
 
Data Communication-1.ppt
Data Communication-1.pptData Communication-1.ppt
Data Communication-1.ppt
 
Chapter4
Chapter4Chapter4
Chapter4
 
COMPUTER APPLICATIONS Module 3.pptx
COMPUTER APPLICATIONS Module 3.pptxCOMPUTER APPLICATIONS Module 3.pptx
COMPUTER APPLICATIONS Module 3.pptx
 
ch01.ppt
ch01.pptch01.ppt
ch01.ppt
 
data communication and Network.ppt
data communication and Network.pptdata communication and Network.ppt
data communication and Network.ppt
 
interconnected_network_of_internets.pptx
interconnected_network_of_internets.pptxinterconnected_network_of_internets.pptx
interconnected_network_of_internets.pptx
 
Chapter7 Computer Networks
Chapter7 Computer NetworksChapter7 Computer Networks
Chapter7 Computer Networks
 
Ppt on networking
Ppt on networkingPpt on networking
Ppt on networking
 

Recently uploaded

ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 

Recently uploaded (20)

ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 

Modue 1 part 1 of computer networks for your university exams

  • 1. CHAPTER 1 INTRODUCTION • 1.1 Network Hardware • 1.2 Network Software • 1.3 Network Models
  • 2. Technology Revolution 18th Century Mechanical systems 19th CenturySteam Engine 20th CenturyInformation - gathering - distribution - processing - creating 21st Century Networks Human-to-Human, Machine-to-Machine
  • 3. What is a Computer Network ◆ Aset of communication elements connected by communication links ➭ Communication elements ● Computers, printers, mobile phones, … ● Routers, switches, ... ➭ Communication links ● optic fiber ● coaxial cable ● twisted pair ● wireless (radio, microwave, satellite) ➭ Topologies ● Ring, Star, Bus, Tree, Mesh router workstation server mobile local ISP regional ISP company network 3
  • 4. 4 What is a Computer Network ◆ Asoftware/hardware infrastructure ➭ Share resources ● data, files, computing power, video,… ➭ Information highway ● communication between geographically dispersed users ➭ Electronic Society ● Cyberspace ● Virtual global nation
  • 5. 5 Introduction  Computer Network – an interconnected collection of autonomous computers Internet: “network of networks” – loosely hierarchical – public Internet versus private intranet WWW a distributed systems run on the top of Internet  Distributed System – High degree of cohesiveness and transparency – A software system built on top of a network
  • 6. 6 NETWORK HARDWARE • Network classification: – Transmission technology • Broadcast networks • Point-to-point networks – Scale • Local area networks (LANs) • Metropolitan area networks (MANs) • Wide area networks (WANs) • Inter-networks ( internet vs. Internet)
  • 7. 7 Network Hardware: Transmission • Broadcast networks: broadcast networks have a single communication channel that is shared by all the machines on the network. There are three addressing possibilities: – Broadcasting, – Multicasting. • Point-to-point networks : point-to-point networks have many communication connections between individual pairs of machines. – Unicasting.
  • 9. 9 e. Network Hardware: PAN PANs (Personal Area Networks) let device communicate over the range of a person. • To connect a Bluetooth mouse a Bluetooth keyboard, a Bluetooth Printer with a computer. • To connect a Bluetooth earphone with a mobile phone • To use RFID to communicate with goods.
  • 10. 1 0 Network Hardware: LAN LANs are privately-owned networks within a single building or campus of up to a few kilometers in size. • LAN characteristics – The size is restricted  The worst-case transmission time is bounded and known in advance  Certain designs are possible and network management can be simplified. – Transmission technology high speed  10Gpbs – Topology (physical and local): Bus, Ring, Star (Hub)
  • 11. 1 1 Network Hardware: LAN Wireless and wired LANs. (a) 802.11. (b) Switched Ethernet.
  • 12. 1 2 Network Hardware: LAN • Broadcast networks can be further divided into static and dynamic, depending on how the channel is allocated. – A typical static allocation would be to divide time into discrete intervals and use a round-robin algorithm, allowing each machine to broadcast only when its time slot comes up. – Dynamic allocation methods for a common channel are • either centralized (A single entity determines who goes next) • or decentralized. (Many algorithms are designed to bring order out of the potential chaos. )
  • 13. 1 3 Network Hardware: LAN • Many home devices are capable of being networked: – Computers (desktop PC, PDA, shared peripherals) – Entertainment (TV, DVD, VCR, camera, stereo, MP3) – Telecommunications (telephone, cell phone, intercom, fax) – Appliances (microwave, fridge, clock, furnace, airco) – Telemetry (utility meter, burglar alarm, babycam). • Requirements: easy to install, foolproof in operation, low price, sufficient capacity, to be expandable, secure and reliable.
  • 14. 1 4 Network Hardware: MAN • A metropolitan area work, or, MAN (plural: MANs, not MEN) is basically a bigger version of a LAN and normally uses similar technology. • Examples – One reason for distinguishing MANs as a special category is that a standard has been adopted for them. It is called DQDB (Distributed Queue Dual Bus). – A MAN can be based on cable TV (See the next slide) – IEEE 802.16 (WiMAX) • A key aspect of MAN is that there is a broadcast medium to which all the computers are attached.
  • 15. 1 5 Network Hardware: MAN A metropolitan area network based on cable TV.
  • 16. 1 6 Network Hardware: WAN • A WAN consists of a collection of machines intended for running user programs (hosts, end systems) and a pure communication subnet(subnet) • The subnet consists of two distinct components: – Transmission lines (also called circuits, channels, or trunks) move bits between machines. – Switching elements (packet switching nodes, intermediate system, data switching exchanges, routers) are specialized computers used to connect three or more transmission lines. When data arrive on an incoming line, the switching element must choose an outgoing line to forward them on.
  • 17. 1 7 Network Hardware: WAN WAN that connects three branch offices in Australia
  • 18. 1 8 Network Hardware: WAN WAN using a virtual private network.
  • 19. 1 9 Network Hardware: WAN A stream of packets from sender to receiver.
  • 20. 2 0 Network Hardware: Internet • An internetwork or just internet is a collection of interconnected networks. (internet vs Internet) • A common form of internet is a collection of LANs connected by a WAN. • Differences among WANs, subnets, networks, and internetworks. – WAN = subnet + hosts – Subnet + hosts  WAN network – Cable + hosts  LAN network – Many interconnected networks  internetworks. • Different owners • Different technologies.
  • 21. 2 1 The Relationship of Services to Protocols NETWORK SOFTWARE • Protocol Hierarchies • Design Issues for the Layers • Connection-Oriented and Connectionless Services • Service Primitives •
  • 22. 2 2 and interfaces. – The number of layers The name of each layer – The function of each layer – The content of each layer Network Software: Protocol hierarchies • Layers, protocols,
  • 23. 2 3 Network Software: Protocol hierarchies • A protocol is an agreement between the communicating parties on how communication is to proceed. • The peers are the entities comprising the corresponding layers on different machines. The peers may be OS kernel, processes, hardware devices, or even human beings. It is the peers that communicate by using the protocol. • Communication: actual and virtual. • Service interfaces: – The interface defines which primitive operations and services the lower layer makes available to the upper one. – It is common that different hosts use different implementations.
  • 24. 2 4 Network Software: Protocol hierarchies • A set of layers and protocols is called a network architecture. • A list of protocols used by a certain system, one protocol per layer, is called a protocol stack. • The subjects of network architectures, protocol stack, and the protocol themselves are the principal topics of computer networks.
  • 25. 2 5 I like rabbits Message Philosopher J'aime bien les lapins 3 3 L: Dutch Ik vind konijnen leuk Information for the remote translator Translator 2 L: Dutch Ik vind konijnen leuk 2 Fax #--- L: Dutch Ik vind konijnen leuk Information for the remote secretary Secretary 1 Fax #--- L: Dutch Ik vind 1 konijnen leuk Network Software: Protocol hierarchies The philosopher-translator-secretary architecture. Location A Location B
  • 26. 2 6 Layer 5 Virtual Communication in Peer Layer Layer 5 Protocol M M 4 H4 M 3 H3 H4 M1 H3 M2 Layer 4 Protocol Layer 3 Protocol H4 M H3 H4 M1 H3 M2 2 H2 H3 H4 M1 T2 H2 H3 M2 T2 H2 H3 H4 M1 T2 H2 H3 M2 T2 Source Machine Destination Machine 1
  • 27. 2 7 Network Software: Layer design issues • Addressing • Channel control – simplex/duplex, – data channel/control channel • Error control: Detection / correction • Flow control: not to drown the poor receiver • Disassembling / reassembling • Multiplexing / demultiplexing • Routing
  • 28. 2 8 Network Software: Service issues • Two main types: – Connection-oriented service – Connectionless service – Quality of Service(QOS)
  • 29. 2 9 Network Software: Service primitives Five service primitives for implementing a simple connection-oriented service.
  • 30. 3 0 Network Software: Service primitives Packets sent in a simple client-server interaction on a connection-oriented network.
  • 32. 3 2 Network Software: Services / protocols • A service is a set of primitives (operations) that a layer provides to the layer above it. • A protocol is a set of rules governing the format and meaning of the packets, or messages that are exchanged by the peer entities within a layer.
  • 33. 3 3 Network Software: Services / protocols • An analogy with programming languages – A service is like an abstract data type or an object in an object-oriented language. It defines the operations that can be performed on an object but does not specify how these operations are implemented. – A protocol relates to the implementation of the service and as such is not visible to the user of the service. • An analogy with programming – A service – A interface (C++, C#, Java) – A protocol
  • 34. 3 4 REFERENCE MODELS • The OSI Reference Model • The TCP/IP Reference Model • A Comparison of OSI and TCP/IP – A Critique of the OSI Model and Protocols – A Critique of the TCP/IP Reference Model
  • 35. 3 5 Reference models: The OSI reference model Design principles 1. A layer should be created where a different abstraction is needed. 2. Each layer should perform a well-defined function. 3. The function of each layer should be chosen with an eye toward defining internationally standardized protocols. 4. The layer boundaries should be chosen to minimize the information flow across the interfaces. 5. The number of layers should be – large enough that distinct functions need not be thrown together in the same layer out of necessity and – small enough that the architecture does not become unwieldy .
  • 36. 3 6
  • 37. 3 7 Reference models: The OSI reference model Physical layer : Concerned with transmitting raw bits over a communication channel. The design issues deal with mechanical, electrical, and timing interfaces, and the physical transmission medium. Some typical questions: • how many volts should be used to represent a 1 and how many for a 0, how many microseconds a bit lasts, • whether transmission may proceed simultaneously in both directions, • how the initial connection is established and how it is torn down when both sides are finished, • how many pins the network connector has and what each pin is used for.
  • 38. 3 8 Reference models: The OSI reference model Data link layer : This layer is to take a raw transmission facility and transform it into a line that appears free of undetected transmission errors to the network layer. The design issues are: • Framing: how to create and recognize frame boundaries, • Error detection, recovery: how to solve the problems caused by damaged, lost, and duplicate frames, • Flow control: how to keep a fast transmitter from drowning a slow receiver in data, • MAC: how to control access to the shared channel (for broadcast networks).
  • 39. 3 9 Reference models: The OSI reference model Network layer: This layer is concerned with controlling the operation of the subnet. The design issues: • how to route packets from source to destination: • how to control congestion. • how to connect heterogeneous networks (different addressing, different maximum packet size, different protocols).
  • 40. 4 0 Reference models: The OSI reference model Transport layer : To accept data from the session layer, split it up info smaller units if need be, pass these to the network layer, and ensure that the pieces all arrive correctly at the other end. The design issues: • Multiplexing: how to make the multiplexing transparent to the session layer, • how to determine what types of service to provide the session layer, • how to tell which messages belongs to which connection, • how to regulate the flow of information.
  • 41. 4 1 Reference models: The OSI reference model Session layer : To allow users on different machines to establish sessions between them. The design issues are: • how to manage dialog control, • how to manage token, • how to synchronize different sessions.
  • 42. 4 2 Reference models: The OSI reference model Presentation layer : The presentation layer is concerned with the syntax and semantics of the information transmitted. The design issues are: – how to encode data in a standard agreed upon way, – how to efficiently convert from the representation used inside the computer to the network standard representation and back. – Big endian (most sig. appear first/smallest addr) vs. little endian
  • 43. 4 3 Reference models: The OSI reference model Application layer: This layer contains a variety of protocols that are commonly needed. Some application layer protocols: – http (WWW) – telnet (network virtual terminal) – ftp (file transfer protocol) – DNS – DHCP – SMTP – POP.
  • 44. 4 4 Reference models: The TCP/IP reference model
  • 45. 4 5 Reference models: The TCP/IP reference model The TCP/IP reference model with some protocols we will study
  • 46. 4 6 Reference models: The TCP/IP reference model Host-to-network layer • The host has to connect to the network using some protocol so it can send packets to it. • The protocol is not defined and varies from host to host and network to network. • Books and papers about the the TCP/IP model rarely discuss it. • Possible connections – LAN  router  Internet – Dial-up  router  Internet – ADSL  router  Internet
  • 47. 4 7 Reference models: The TCP/IP reference model Internet layer • Its job is to permit hosts to inject packets into any network and have they travel independently to the destination (potentially on a different network). • The internet layer defines an official packet format and protocol called IP (Internet Protocol). • Some issues – Packet routing – Avoiding congestion – QoS
  • 48. 4 8 UDP: an unreliable connectionless protocol Reference models: The TCP/IP reference model Transport Layer • It is designed to allow peer entities on the source and destination hosts to carry on a conversation. • Two end-end transport protocols TCP: a reliable connection-oriented protocol
  • 49. 4 9 Reference models: The TCP/IP reference model Application layer • It contains all the higher-level protocols • Some examples – HTTP – FTP – TFTP – SMTP – POP DNS – NNTP – DHCP
  • 50. 5 0 Reference models: Comparison Similarities for the OSI and TCP/IP reference models • Protocol stack • Layer functionality • End-end service provider vs. end-end service user Differences for the OSI and TCP/IP reference models • Services/interfaces/protocols – The OSI makes the distinction explicit – The TCP/IP model did not originally clearly distinguish them
  • 51. 5 1 Reference models: Comparison Differences for the OSI and TCP/IP reference models • Which comes first? (Models/protocols): – OSI model first while TCP protocol first. • 7 layer / 4 layers; Network, transport, application layers common; the rest different. • Connection-oriented vs and connectionless comm. – OSI: Connection-oriented and connectionless communication in network layer connection-oriented in transport layer – TCP: connectionless communication in network layer connection-oriented and connectionless communication in transport layer.
  • 52. 5 2 Reference models: A critique of the OSI model and protocols Why OSI did not take over the world • Bad timing • Bad technology • Bad implementations • Bad politics
  • 53. 5 3 – The first elephant represents a burst of research activity. – The second elephant represents the billion-dollar wave of investment hits. Reference models: A critique of the OSI model and protocols • Bad timing – The time at which a standard is established is absolutely critical to its success.
  • 54. 5 4 Reference models: A critique of the OSI model and protocols • Bad technology: Both the model and the protocols are flawed, extraordinarily complex, difficult to implement and inefficient in operation. • Bad implementation: The initial implementations were huge, unwieldy, and slow. • Bad politics: The OSI model was thought to be the creature of government bureaucrats.
  • 55. 5 5 Reference models: A critique of the TCP/IP model and protocols Problems: • Service, interface, and protocol not distinguished • Not a general model • Host-to-network “layer” not really a layer • No mention of physical and data link layers • Minor protocols deeply entrenched, hard to replace
  • 57. 5 7