SlideShare una empresa de Scribd logo
1 de 48
Descargar para leer sin conexión
B.Tech IV Sem CSE ‘C’; Scheme 2017; AY: 2020_21
COMPUTER NETWORKS
Dr. C. Sreedhar
Unit 1
 Introduction:
 Data Communications, Networks, Protocols and Standards
 OSI Model TCP/IP Protocol Suite
 Addressing: Physical, Logical, Port
 Physical Layer and Transmission Media
 Analog and Digital: Data; Signals
 Digital Signals: Bit rate, Bit length, Transmission of digital signals
 Transmission Impairments: Attenuation, Distortion, Noise
 Performance: Bandwidth, Throughput, Latency, Jitter
Unit 2
 Data Link Layer
Error detection: Block coding
Error correction: Hamming distance,
minimum hamming distance, CRC, Checksum
 Framing
 Flow and error control
Unit 3
 Design Issues
 Store and forward; Services to Transport layer
 Connectionless and connection oriented services
 Comparison of virtual circuits; Datagram subnets
 Routing Algorithms
 Optimality principle
 Shortest Path Routing, Flooding
 Distance Vector Routing, Link State Routing; Hierarchical Routing
 Broadcast and Multicast Routing
Unit 4
 Congestion Control
 Principles, congestion prevention policies
 Congestion control in virtual circuits and datagram subnets
 Load shedding, Jitter control
 Internetworking
 Concatenated virtual circuits, Connectionless internetworking
 Tunnelling, Internetwork routing; Fragmentation, IP :Protocol,
Address; Internet Control Protocols
 Gateway routing protocols: OSPF, BGP
Unit 5
 UDP;
 TCP:
 Service model, protocol, segment header,
 connection management; Transmission policy
 Congestion control and timer management
 Application Layer
 DNS Namespace; Resource Records
 Name Servers
Unit 1
 Data Communications
 Definition
 Components of DC
 Data representation
 Data flow
 Networks
 Network criteria
 Types of connections
 Categories of topology
 Network Models
 Protocols and
Standards
 Definition
 Standards
Data Communication: Definition
 Data communications are the exchange of data
between two devices via some form of transmission
medium such as a wire cable.
Data Communication
 The effectiveness of a data communications system
depends on four fundamental characteristics:
 Delivery: deliver data to the correct destination
 accuracy: system must deliver the data accurately
 Timeliness: system must deliver data in a timely manner
 Jitter: refers to the variation in the packet arrival time
Data Communication: Components
 Five components
1. Sender
2. Message
3. Transmission media
4. Protocol
5. Receiver
Protocol is a set of rules that govern data communications.
It represents an agreement between the communicating devices.
Data Communication: Components
 Five components
1. Sender
2. Message
3. Transmission media
4. Protocol
5. Receiver
Protocol is a set of rules that govern data communications.
It represents an agreement between the communicating devices.
Data Representation
 Text:
 Text is represented as a bit pattern.
 Unicode uses 32 bits to represent a symbol or character
 Numbers
 Numbers are also represented by bit patterns.
 number is directly converted to a binary number
 Images
 Images are also represented by bit patterns.
 image is composed of a matrix of pixels
 each pixel is assigned a bit pattern.
 Audio and Video
Sampling rate
Analogue signal
Time
Amplitude
Data Flow
 Communication between two devices can be simplex or
half-duplex, or full-duplex
Network
 A network is a set of devices (nodes) connected by
communication links.
 A node can be a computer, printer, or any other
device capable of sending and/or receiving data
generated by other nodes on the network.
 A link can be a cable, air, optical fiber, or any
medium which can transport a signal carrying
information.
Network Criteria
 Performance:
 Measured: transit time and response time
 Transit time: time required for a message to travel from AB
 Response time: elapsed time between inquiry and response
 Evaluated using two metrics:
 throughput and delay (more throughput and less delay).
 Reliability:
 measured by the frequency of failure
 Security
 Network security issues include protecting data from unauthorized access
• Point to Point - single transmitter and receiver
Ex: Television remote control
• Multipoint - multiple recipients of single transmission
• Ex: Telephone Line
Types of Connections
Physical topology
topology refers to the way in which
a network is laid out physically
Mesh topology
every device has a dedicated point-to-
point link to every other device.
Total no. of connections??? n(n-1)/2
Advantages
Manages high amounts of traffic
Withstands failure of link.
Adding nodes easily added
Can avoid problems, malicious users
Disadvantages
amount of cabling
number of I/O ports
installation and reconnection are difficult
practical example: connection
of telephone regional offices
A star topology
each device needs only one link
and one I/O port to connect it to
any number of others
Advantages
less expensive than a mesh topology.
robust: If one link fails, only that link is
affected
Disadvantages
If the hub goes down, the whole system
goes down.
The star topology is used in local-
area networks (LANs)
bus topology
Nodes are connected to the bus cable by drop lines and taps
A drop line is a connection running between device and main cable.
A tap is a connector
One long cable acts as a backbone to link all the devices in a network
Advantages
bus uses less cabling than mesh or star topologies
Disadvantages
•difficult reconnection and fault isolation
•Signal reflection at the taps can cause degradation
•a fault or break in the bus cable stops all transmission
Ring topology
Ring Topology
Each device has a dedicated point to point connection with only two devices
on either side of it.
Signal is passed along the ring in one direction till it reaches destination
Each device has a repeater
When a device receives signal to be passed, its repeater regenerates bits
and passes along.
Advantages
Easy to install and reconfigure
Fault isolation is simple
Disadvantages
Unidirectional traffic
Break in the ring disables entire network; solved by dual ring
A hybrid topology: a star backbone with three bus networks
Main Star topology with each branch connecting several
stations in a bus topology
Standards
 Set of rules for data communication that are needed for exchange
of information guaranteeing national and international
interoperability of data.
 Two standards:
 De facto:
 By fact or by convention
 Ex: Google, IBM
 De Jure:
 By law or by regulations
 Ex: ANSI, ISO, IEEE
Standard Committees
 International Standards Organization (ISO):
 Ex: ISO 9000 family: Quality Management; ISO 6: Camera film speed
 International Telecommunications Union (ITU)
 Ex: ISDN, WDM, DSL
 American National Standards Institute (ANSI)
 ANSI C; ANSI Z1.4: Sampling Plan
 Institute of Electrical and Electronics Engineers (IEEE)
 IEEE 802.11: WLAN; IEEE 802.8: Fiber optic; IEEE 802.3: Ethernet
 Internet Engineering Task Force (IETF)
 RFC; IPR
Protocol
 Protocol is a set of rules that govern all aspect of
data communication between computers on a
network.
 regulate the following characteristics of a network:
access method, allowed physical topologies, types of
cabling, and speed of data transfer.
 Ex: HTTP, FTP, IP, UDP, PPP, TCP, ARP, RARP
Protocol
 The key elements of a protocol are syntax,
semantics and timing.
64 bits
8 bits 8 bits
Sender
address
Receiver
address
data
Network Models
 OSI Model
 TCP/IP Model
 OSI Model:
 The Open Systems Interconnection reference model.
 Introduced in 1984 by International Standards Organization (ISO).
 TCP/IP
 Transmission Control Protocol/Internet Protocol
 Developed in the year 1970s, adopted as protocol standard for
ARPANET (predecessor of internet) in 1983
OSI model
An exchange using the OSI model
Physical Layer Responsibilities
1. Transmit individual bits
2. Physical characteristics
of interface
3. Representation of bits
4. Data rate
5. Synchronization of bits
6. Line configuration
7. Topology
8. Transmission mode
Physical layer
Data link Layer: Functions
 Moving frames from one hop to the next hop
 Framing
 Physical Addressing
 Flow control
 Error control
 Access control
 Hop to Hop Delivery
Data Link Layer
10110110101 01100010011 10110000001
Hop-to-Hop delivery
Data Link Layer Example
Layer 3: Network Layer
 Responsibilities:
 Delivery of individual packets from Actual source to final
destination.
 Logical addressing
 Routing
 Source-to-destination delivery(End-to-End).
Layer 4: Transport Layer
 The transport layer is responsible for:
 Service point or Port addressing
 Segmentation and reassembly : a message is divided into
transmittable segments each segment containing a sequence
no.
 Connection Control: connection oriented or connectionless.
 Flow control
 Error control
Source-to-Destination delivery
Connection Oriented Service
Connectionless Service
Flow Control at Transport Layer
Segments
Error Control
Error Control at Transport Layer
Layer 5: Session Layer
 Dialog control: allows two systems to start communication with each
other in half-duplex or full-duplex.
 Synchronization: allows a process to add checkpoints or
synchronization points to a data stream.
Layer 6 :Presentation Layer
 Design to the handle the syntax and semantic of the
information exchanged between 2 systems.
 Data translation, encryption, decryption, and
compression.
Layer 7: Application Layer
 The application layer is responsible for providing
services to the user.
 Mail services
 File transfer, access and management
 Remote log-in or network virtual terminal
 Accessing the World Wide Web
 Directory service
Application Layer cont.
OSI Model: Summary

Más contenido relacionado

La actualidad más candente

TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake Alok Tripathi
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issuesقصي نسور
 
Radio resource management in wcdma
Radio resource management in wcdmaRadio resource management in wcdma
Radio resource management in wcdmaNaveen Jakhar, I.T.S
 
7 layers of osi models
7 layers of osi models7 layers of osi models
7 layers of osi modelsSathish Kumar
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocolsbarodia_1437
 
Star topology in packet tracer By Tanjilur Rahman
Star topology in packet tracer By Tanjilur RahmanStar topology in packet tracer By Tanjilur Rahman
Star topology in packet tracer By Tanjilur RahmanTanjilurRahman6
 
Routing Protocols for Wireless Sensor Networks
Routing Protocols for Wireless Sensor NetworksRouting Protocols for Wireless Sensor Networks
Routing Protocols for Wireless Sensor NetworksDarpan Dekivadiya
 
DCCN Network Layer congestion control TCP
DCCN Network Layer congestion control TCPDCCN Network Layer congestion control TCP
DCCN Network Layer congestion control TCPSreedhar Chowdam
 
Transport layer (computer networks)
Transport layer (computer networks)Transport layer (computer networks)
Transport layer (computer networks)Fatbardh Hysa
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCPVishal Tandel
 

La actualidad más candente (20)

ARP
ARPARP
ARP
 
TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issues
 
Radio resource management in wcdma
Radio resource management in wcdmaRadio resource management in wcdma
Radio resource management in wcdma
 
Mac layer
Mac  layerMac  layer
Mac layer
 
7 layers of osi models
7 layers of osi models7 layers of osi models
7 layers of osi models
 
Wireless routing protocols
Wireless routing protocolsWireless routing protocols
Wireless routing protocols
 
Network layer
Network layerNetwork layer
Network layer
 
Star topology in packet tracer By Tanjilur Rahman
Star topology in packet tracer By Tanjilur RahmanStar topology in packet tracer By Tanjilur Rahman
Star topology in packet tracer By Tanjilur Rahman
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
AODV routing protocol
AODV routing protocolAODV routing protocol
AODV routing protocol
 
Network devices
Network devicesNetwork devices
Network devices
 
Routing Protocols for Wireless Sensor Networks
Routing Protocols for Wireless Sensor NetworksRouting Protocols for Wireless Sensor Networks
Routing Protocols for Wireless Sensor Networks
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
DCCN Network Layer congestion control TCP
DCCN Network Layer congestion control TCPDCCN Network Layer congestion control TCP
DCCN Network Layer congestion control TCP
 
Tcp
TcpTcp
Tcp
 
Transport layer (computer networks)
Transport layer (computer networks)Transport layer (computer networks)
Transport layer (computer networks)
 
Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCP
 

Similar a Computer Networks Lecture Notes 01

Data communications and Networking
Data communications and Networking Data communications and Networking
Data communications and Networking awais qarni
 
Class_notes_InternetTechnology
Class_notes_InternetTechnologyClass_notes_InternetTechnology
Class_notes_InternetTechnologyGulrez Khan
 
Computer Networks- Introduction and Data Link Layer
Computer Networks- Introduction and Data Link LayerComputer Networks- Introduction and Data Link Layer
Computer Networks- Introduction and Data Link LayerDeepak John
 
CN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.pptCN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.pptdeeplearning6
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012Samuel Dratwa
 
Chapter 5 introduction to computer communication networks
Chapter 5   introduction to computer communication networksChapter 5   introduction to computer communication networks
Chapter 5 introduction to computer communication networksN. A. Sutisna
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressingAnitha Selvan
 
Unit1-INTRODUCTION AND PHYSICAL LAYER.pptx
Unit1-INTRODUCTION AND PHYSICAL LAYER.pptxUnit1-INTRODUCTION AND PHYSICAL LAYER.pptx
Unit1-INTRODUCTION AND PHYSICAL LAYER.pptxLAVANYAsrietacin
 
18ECC303J-Unit1-Week1-AY2020-21.pptx
18ECC303J-Unit1-Week1-AY2020-21.pptx18ECC303J-Unit1-Week1-AY2020-21.pptx
18ECC303J-Unit1-Week1-AY2020-21.pptxelaelango
 
Bt0072 computer networks 1
Bt0072 computer networks  1Bt0072 computer networks  1
Bt0072 computer networks 1Techglyphs
 

Similar a Computer Networks Lecture Notes 01 (20)

DCCN Unit 1.pdf
DCCN Unit 1.pdfDCCN Unit 1.pdf
DCCN Unit 1.pdf
 
OSI MODELS.pptx
OSI  MODELS.pptxOSI  MODELS.pptx
OSI MODELS.pptx
 
Osi models
Osi modelsOsi models
Osi models
 
Data communications and Networking
Data communications and Networking Data communications and Networking
Data communications and Networking
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
NOS Unit.pdf
NOS Unit.pdfNOS Unit.pdf
NOS Unit.pdf
 
Class_notes_InternetTechnology
Class_notes_InternetTechnologyClass_notes_InternetTechnology
Class_notes_InternetTechnology
 
Topology
TopologyTopology
Topology
 
Computer Networks- Introduction and Data Link Layer
Computer Networks- Introduction and Data Link LayerComputer Networks- Introduction and Data Link Layer
Computer Networks- Introduction and Data Link Layer
 
ch01(Modified).ppt
ch01(Modified).pptch01(Modified).ppt
ch01(Modified).ppt
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
CN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.pptCN Module 1 ppt final 20.08.2020.ppt
CN Module 1 ppt final 20.08.2020.ppt
 
computer network basics
computer network basicscomputer network basics
computer network basics
 
Basic networking 07-2012
Basic networking 07-2012Basic networking 07-2012
Basic networking 07-2012
 
Chapter 5 introduction to computer communication networks
Chapter 5   introduction to computer communication networksChapter 5   introduction to computer communication networks
Chapter 5 introduction to computer communication networks
 
group11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressinggroup11_DNAA:protocol stack and addressing
group11_DNAA:protocol stack and addressing
 
Unit1-INTRODUCTION AND PHYSICAL LAYER.pptx
Unit1-INTRODUCTION AND PHYSICAL LAYER.pptxUnit1-INTRODUCTION AND PHYSICAL LAYER.pptx
Unit1-INTRODUCTION AND PHYSICAL LAYER.pptx
 
Network
NetworkNetwork
Network
 
18ECC303J-Unit1-Week1-AY2020-21.pptx
18ECC303J-Unit1-Week1-AY2020-21.pptx18ECC303J-Unit1-Week1-AY2020-21.pptx
18ECC303J-Unit1-Week1-AY2020-21.pptx
 
Bt0072 computer networks 1
Bt0072 computer networks  1Bt0072 computer networks  1
Bt0072 computer networks 1
 

Más de Sreedhar Chowdam

Design and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture NotesDesign and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture NotesSreedhar Chowdam
 
Design and Analysis of Algorithms (Knapsack Problem)
Design and Analysis of Algorithms (Knapsack Problem)Design and Analysis of Algorithms (Knapsack Problem)
Design and Analysis of Algorithms (Knapsack Problem)Sreedhar Chowdam
 
PPS Arrays Matrix operations
PPS Arrays Matrix operationsPPS Arrays Matrix operations
PPS Arrays Matrix operationsSreedhar Chowdam
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem SolvingSreedhar Chowdam
 
Python Programming: Lists, Modules, Exceptions
Python Programming: Lists, Modules, ExceptionsPython Programming: Lists, Modules, Exceptions
Python Programming: Lists, Modules, ExceptionsSreedhar Chowdam
 
Python Programming by Dr. C. Sreedhar.pdf
Python Programming by Dr. C. Sreedhar.pdfPython Programming by Dr. C. Sreedhar.pdf
Python Programming by Dr. C. Sreedhar.pdfSreedhar Chowdam
 
Python Programming Strings
Python Programming StringsPython Programming Strings
Python Programming StringsSreedhar Chowdam
 
C Recursion, Pointers, Dynamic memory management
C Recursion, Pointers, Dynamic memory managementC Recursion, Pointers, Dynamic memory management
C Recursion, Pointers, Dynamic memory managementSreedhar Chowdam
 
C Programming Storage classes, Recursion
C Programming Storage classes, RecursionC Programming Storage classes, Recursion
C Programming Storage classes, RecursionSreedhar Chowdam
 
Programming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture NotesProgramming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture NotesSreedhar Chowdam
 
Data Structures Notes 2021
Data Structures Notes 2021Data Structures Notes 2021
Data Structures Notes 2021Sreedhar Chowdam
 
Dbms university library database
Dbms university library databaseDbms university library database
Dbms university library databaseSreedhar Chowdam
 
Er diagram for library database
Er diagram for library databaseEr diagram for library database
Er diagram for library databaseSreedhar Chowdam
 

Más de Sreedhar Chowdam (20)

Design and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture NotesDesign and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture Notes
 
Design and Analysis of Algorithms (Knapsack Problem)
Design and Analysis of Algorithms (Knapsack Problem)Design and Analysis of Algorithms (Knapsack Problem)
Design and Analysis of Algorithms (Knapsack Problem)
 
PPS Notes Unit 5.pdf
PPS Notes Unit 5.pdfPPS Notes Unit 5.pdf
PPS Notes Unit 5.pdf
 
PPS Arrays Matrix operations
PPS Arrays Matrix operationsPPS Arrays Matrix operations
PPS Arrays Matrix operations
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem Solving
 
Big Data Analytics Part2
Big Data Analytics Part2Big Data Analytics Part2
Big Data Analytics Part2
 
Python Programming: Lists, Modules, Exceptions
Python Programming: Lists, Modules, ExceptionsPython Programming: Lists, Modules, Exceptions
Python Programming: Lists, Modules, Exceptions
 
Python Programming by Dr. C. Sreedhar.pdf
Python Programming by Dr. C. Sreedhar.pdfPython Programming by Dr. C. Sreedhar.pdf
Python Programming by Dr. C. Sreedhar.pdf
 
Python Programming Strings
Python Programming StringsPython Programming Strings
Python Programming Strings
 
Python Programming
Python Programming Python Programming
Python Programming
 
Python Programming
Python ProgrammingPython Programming
Python Programming
 
C Recursion, Pointers, Dynamic memory management
C Recursion, Pointers, Dynamic memory managementC Recursion, Pointers, Dynamic memory management
C Recursion, Pointers, Dynamic memory management
 
C Programming Storage classes, Recursion
C Programming Storage classes, RecursionC Programming Storage classes, Recursion
C Programming Storage classes, Recursion
 
Programming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture NotesProgramming For Problem Solving Lecture Notes
Programming For Problem Solving Lecture Notes
 
Big Data Analytics
Big Data AnalyticsBig Data Analytics
Big Data Analytics
 
Data Structures Notes 2021
Data Structures Notes 2021Data Structures Notes 2021
Data Structures Notes 2021
 
Dbms university library database
Dbms university library databaseDbms university library database
Dbms university library database
 
Er diagram for library database
Er diagram for library databaseEr diagram for library database
Er diagram for library database
 
Dbms ER Model
Dbms ER ModelDbms ER Model
Dbms ER Model
 
DBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCLDBMS Notes: DDL DML DCL
DBMS Notes: DDL DML DCL
 

Último

Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 

Último (20)

(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 

Computer Networks Lecture Notes 01

  • 1. B.Tech IV Sem CSE ‘C’; Scheme 2017; AY: 2020_21 COMPUTER NETWORKS Dr. C. Sreedhar
  • 2. Unit 1  Introduction:  Data Communications, Networks, Protocols and Standards  OSI Model TCP/IP Protocol Suite  Addressing: Physical, Logical, Port  Physical Layer and Transmission Media  Analog and Digital: Data; Signals  Digital Signals: Bit rate, Bit length, Transmission of digital signals  Transmission Impairments: Attenuation, Distortion, Noise  Performance: Bandwidth, Throughput, Latency, Jitter
  • 3. Unit 2  Data Link Layer Error detection: Block coding Error correction: Hamming distance, minimum hamming distance, CRC, Checksum  Framing  Flow and error control
  • 4. Unit 3  Design Issues  Store and forward; Services to Transport layer  Connectionless and connection oriented services  Comparison of virtual circuits; Datagram subnets  Routing Algorithms  Optimality principle  Shortest Path Routing, Flooding  Distance Vector Routing, Link State Routing; Hierarchical Routing  Broadcast and Multicast Routing
  • 5. Unit 4  Congestion Control  Principles, congestion prevention policies  Congestion control in virtual circuits and datagram subnets  Load shedding, Jitter control  Internetworking  Concatenated virtual circuits, Connectionless internetworking  Tunnelling, Internetwork routing; Fragmentation, IP :Protocol, Address; Internet Control Protocols  Gateway routing protocols: OSPF, BGP
  • 6. Unit 5  UDP;  TCP:  Service model, protocol, segment header,  connection management; Transmission policy  Congestion control and timer management  Application Layer  DNS Namespace; Resource Records  Name Servers
  • 7. Unit 1  Data Communications  Definition  Components of DC  Data representation  Data flow  Networks  Network criteria  Types of connections  Categories of topology  Network Models  Protocols and Standards  Definition  Standards
  • 8. Data Communication: Definition  Data communications are the exchange of data between two devices via some form of transmission medium such as a wire cable.
  • 9. Data Communication  The effectiveness of a data communications system depends on four fundamental characteristics:  Delivery: deliver data to the correct destination  accuracy: system must deliver the data accurately  Timeliness: system must deliver data in a timely manner  Jitter: refers to the variation in the packet arrival time
  • 10. Data Communication: Components  Five components 1. Sender 2. Message 3. Transmission media 4. Protocol 5. Receiver Protocol is a set of rules that govern data communications. It represents an agreement between the communicating devices.
  • 11. Data Communication: Components  Five components 1. Sender 2. Message 3. Transmission media 4. Protocol 5. Receiver Protocol is a set of rules that govern data communications. It represents an agreement between the communicating devices.
  • 12. Data Representation  Text:  Text is represented as a bit pattern.  Unicode uses 32 bits to represent a symbol or character  Numbers  Numbers are also represented by bit patterns.  number is directly converted to a binary number  Images  Images are also represented by bit patterns.  image is composed of a matrix of pixels  each pixel is assigned a bit pattern.  Audio and Video Sampling rate Analogue signal Time Amplitude
  • 13. Data Flow  Communication between two devices can be simplex or half-duplex, or full-duplex
  • 14. Network  A network is a set of devices (nodes) connected by communication links.  A node can be a computer, printer, or any other device capable of sending and/or receiving data generated by other nodes on the network.  A link can be a cable, air, optical fiber, or any medium which can transport a signal carrying information.
  • 15. Network Criteria  Performance:  Measured: transit time and response time  Transit time: time required for a message to travel from AB  Response time: elapsed time between inquiry and response  Evaluated using two metrics:  throughput and delay (more throughput and less delay).  Reliability:  measured by the frequency of failure  Security  Network security issues include protecting data from unauthorized access
  • 16. • Point to Point - single transmitter and receiver Ex: Television remote control • Multipoint - multiple recipients of single transmission • Ex: Telephone Line Types of Connections
  • 17. Physical topology topology refers to the way in which a network is laid out physically
  • 18. Mesh topology every device has a dedicated point-to- point link to every other device. Total no. of connections??? n(n-1)/2 Advantages Manages high amounts of traffic Withstands failure of link. Adding nodes easily added Can avoid problems, malicious users Disadvantages amount of cabling number of I/O ports installation and reconnection are difficult practical example: connection of telephone regional offices
  • 19. A star topology each device needs only one link and one I/O port to connect it to any number of others Advantages less expensive than a mesh topology. robust: If one link fails, only that link is affected Disadvantages If the hub goes down, the whole system goes down. The star topology is used in local- area networks (LANs)
  • 20. bus topology Nodes are connected to the bus cable by drop lines and taps A drop line is a connection running between device and main cable. A tap is a connector One long cable acts as a backbone to link all the devices in a network Advantages bus uses less cabling than mesh or star topologies Disadvantages •difficult reconnection and fault isolation •Signal reflection at the taps can cause degradation •a fault or break in the bus cable stops all transmission
  • 22. Ring Topology Each device has a dedicated point to point connection with only two devices on either side of it. Signal is passed along the ring in one direction till it reaches destination Each device has a repeater When a device receives signal to be passed, its repeater regenerates bits and passes along. Advantages Easy to install and reconfigure Fault isolation is simple Disadvantages Unidirectional traffic Break in the ring disables entire network; solved by dual ring
  • 23. A hybrid topology: a star backbone with three bus networks Main Star topology with each branch connecting several stations in a bus topology
  • 24. Standards  Set of rules for data communication that are needed for exchange of information guaranteeing national and international interoperability of data.  Two standards:  De facto:  By fact or by convention  Ex: Google, IBM  De Jure:  By law or by regulations  Ex: ANSI, ISO, IEEE
  • 25. Standard Committees  International Standards Organization (ISO):  Ex: ISO 9000 family: Quality Management; ISO 6: Camera film speed  International Telecommunications Union (ITU)  Ex: ISDN, WDM, DSL  American National Standards Institute (ANSI)  ANSI C; ANSI Z1.4: Sampling Plan  Institute of Electrical and Electronics Engineers (IEEE)  IEEE 802.11: WLAN; IEEE 802.8: Fiber optic; IEEE 802.3: Ethernet  Internet Engineering Task Force (IETF)  RFC; IPR
  • 26. Protocol  Protocol is a set of rules that govern all aspect of data communication between computers on a network.  regulate the following characteristics of a network: access method, allowed physical topologies, types of cabling, and speed of data transfer.  Ex: HTTP, FTP, IP, UDP, PPP, TCP, ARP, RARP
  • 27. Protocol  The key elements of a protocol are syntax, semantics and timing. 64 bits 8 bits 8 bits Sender address Receiver address data
  • 28. Network Models  OSI Model  TCP/IP Model  OSI Model:  The Open Systems Interconnection reference model.  Introduced in 1984 by International Standards Organization (ISO).  TCP/IP  Transmission Control Protocol/Internet Protocol  Developed in the year 1970s, adopted as protocol standard for ARPANET (predecessor of internet) in 1983
  • 30. An exchange using the OSI model
  • 31. Physical Layer Responsibilities 1. Transmit individual bits 2. Physical characteristics of interface 3. Representation of bits 4. Data rate 5. Synchronization of bits 6. Line configuration 7. Topology 8. Transmission mode
  • 33. Data link Layer: Functions  Moving frames from one hop to the next hop  Framing  Physical Addressing  Flow control  Error control  Access control  Hop to Hop Delivery
  • 34. Data Link Layer 10110110101 01100010011 10110000001
  • 36. Data Link Layer Example
  • 37. Layer 3: Network Layer  Responsibilities:  Delivery of individual packets from Actual source to final destination.  Logical addressing  Routing  Source-to-destination delivery(End-to-End).
  • 38. Layer 4: Transport Layer  The transport layer is responsible for:  Service point or Port addressing  Segmentation and reassembly : a message is divided into transmittable segments each segment containing a sequence no.  Connection Control: connection oriented or connectionless.  Flow control  Error control
  • 39.
  • 41.
  • 43. Flow Control at Transport Layer Segments Error Control Error Control at Transport Layer
  • 44. Layer 5: Session Layer  Dialog control: allows two systems to start communication with each other in half-duplex or full-duplex.  Synchronization: allows a process to add checkpoints or synchronization points to a data stream.
  • 45. Layer 6 :Presentation Layer  Design to the handle the syntax and semantic of the information exchanged between 2 systems.  Data translation, encryption, decryption, and compression.
  • 46. Layer 7: Application Layer  The application layer is responsible for providing services to the user.  Mail services  File transfer, access and management  Remote log-in or network virtual terminal  Accessing the World Wide Web  Directory service