SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Distributed Computing
Class assignment - I
A Presentation on
Computer Network
Basics
BIPLABA SAMANTARAY
MCA ,University of
Hyderabadd
A computer network is a set of
computers connected together for the
purpose of communicating data
electronically. In this presentation we are
going to focus on the basics of Computer
networking which will further relevant
for understanding the topic Distributed
computing.
Table of Contents
Protocols
01
Architecture
Connectionless vs
connection oriented
03
02
Host Identification and IP address
Process identification
05
04
What is Network Protocol ?
Network protocol is established set of rules that are predefined to determine how data is transmitted
between different nodes in the same network. Protocols must be formally defined and precisely
implemented.
For each protocol there must be rules that specify
following :-
• How is the data exchange encoded
• How the events (sending and receiving) synchronised
(ordered) so that the participants can send and receive
in a coordinated manner
Note
The specification of a protocol
does not dictate how the rules to
be implemented.
For example HTTP specifies
the rules that must be observed
between a web server and
browser process and is
independent of the language and
syntax.
Network Architecture
What is Open System Interconnect?
• The classical network architecture called the
Open System Interconnect(OSI) divides the
complex functionalities of network in to seven
layers.
• The OSI model of network architecture is
promoted by an organisation named
International organisation for
standardisation(ISO).
Application Layer
Presentation Layer
Network Layer
Data Link Layer
Session Layer
Transport Layer
Physical Layer
Allnetworked
devices
Hosts
The OSI model
Network Architecture
What is TCP / IP model?
The TCP/IP architecture is very similar to the OSI model but
instead of seven it uses five layers and we can called it as a
generalised version of OSI model.
Why Layering?
With layering, each layer is responsible for a different facet
of the communications.
Layers are beneficial because a layered design allows
developers to evolve different portions of the system
separately, often by different people with somewhat different
areas of expertise.
Application Layer
Allnetworked
devices
Hosts
Transport Layer
Internet
Network Interface
Physical Layer
TCP/IP architecture
Network Architecture
Functionalities of Layers :-
Layer Functionalities
Physical
• Protocols in the Physical layer specify details about the underlying transmission
medium and the associated hardware.
• All specifications related to electrical properties, radio frequencies, and signals belong
to this layer.
Network interface
• Protocols in the Network Interface layer specify details about communication between
higher layers of protocols, which are usually implemented in software, and the
underlying network, which is implemented in hardware.
• Specifications about network addresses and the maximum packet size that a network
can support, protocols Layers used to access the underlying medium, and hardware
addressing belong to this layer.
Network Architecture
Layers Functionalities
Internet • Protocols of this layer specify communication between two computers across the Internet (i.e., across
multiple interconnected networks).
• The Internet addressing structure, the format of Internet packets, the method for dividing a large Internet
packet into smaller packets for transmission, and mechanisms for reporting errors belong to this.
Transport • Protocols in the Transport layer provide for communication from an application program on one computer
to an application program on another.
• Specifications that control the maximum rate a receiver can accept data, mechanisms to avoid network
congestion, and techniques to insure that all data is received in the correct order belong to this layer.
Application • Protocols of this layer specify how a pair of applications interact when they communicate.
• Application layer protocols specify details about the format and meaning of messages that applications
can exchange as well as procedures to be followed during communication.
• Specifications for email exchange, file transfer, web browsing, telephone services, and video
teleconferencing all belong to this layer.
How data passes through the layers:-
Net. Interface
Internet
Transport
Application
Net. Interface
Internet
Transport
Application
NETWORK
Layers vs Headers:-
Actual message
Physical
Header(optional)
Net. Interface
header
Internet Header
Transport Header
Device1 Device2
Layers vs Protocols:-
Connection less vs Connection Oriented Communicat
Connection Oriented
Communication
In connection oriented service we have to establish
a connection before starting the communication.
When connection is established, we send the
message or the information and then we release the
connection.
Connectionless Communication
Each message is routed independently from source
to destination. The order of message sent can be
different from the order received
Connection oriented
Connection less
Connection less vs Connection Oriented Communicati
Connection-Oriented Connection-less
Addressing Specified at connection time, there is no need
to re-specify with each subsequent
operation(send or receive).
Addressing is specified with each operation
Connection overhead There is overhead for establishing a
connection.
Not applicable.
Addressing overhead There is no addressing overhead with each
individual operation.
Overhead incurred with each operation.
Data delivery order The connection abstraction allows the IPC
mechanism to maintain the order of delivering
data packets.
The lack of connection makes it difficult for
IPC facility to maintain delivery order.
Protocols This mode of communication is appropriate
for protocols that require exchange of large
stream of data and a large number of rounds
of exchange.
This mode of communication is appropriate
for protocols that exchange a small amount of
data in a limited number of rounds of
exchange.
Network Resources
“Network Resources” in terms of distributed computing refers to the resources that are available to the
participants of a distributed computing community.
Examples :-
Hardware[Printers, routers, cameras etc ]
Software[Process, Files, mailbox, web document]
The key challenge in distributed computing is the unique identification of resources that available in the
network.
To achieve this goal the naming schemes are there such as :-
• Domain Name System(DNS)
• The Extensive Name System(XNS)
• Protocol Port Numbers
• Uniform Resource Identifier(URI) and Uniform Resource Locator(URL)
• Email ID
Host Identification and IP address
“Hosts” are the computers with TCP/Ip supports and are connected to a network. “Host identification” is the crucial
part of Internet protocol. Two versions of IP : IPv4 ,IPv6.
IPv4 addressing
IP address : An Internet address (IP address) is a unique 32-bit binary string assigned to a host and used for all
communication with the host.
Each 32-bit IP address is divided into two parts: a prefix and a suffix.
IP prefix identifies the physical network to which the host is attached.
IP suffix identifies a specific computer on the network.
The important point is that the IP address scheme guarantees two properties:
• Each computer is assigned a unique address (i.e., a single address is never assigned to more than one
computer).
• Although network number assignments must be coordinated globally, suffixes can be assigned locally without
global coordination.
Host Identification and IP address
Class -A
Class -B
Class -C
Class -D
Class -E
Classes of IP address-
Suffixprefix1
01 prefix Suffix
11 Multicast
1 prefix Suffix1 0
1 0
11 Reserved1 1
Note : Class D addresses are still used for multicasting, but multicastingdoes not work
globally.
Host Identification and IP address
Subnet and supernet addressing :
One of the earliest difficulties encountered when the Internet began to grow was the inconvenience of
having to allocate a new network number for any new network segment that was to be attached to the
Internet. To over come this problem subnet and supernet addressing are included to the classes of IP.
Subnetting Supernetting
Subnetting is the procedure to divide the
network into sub-networks.
While supernetting is the procedure of combine the
small networks.
In subnetting, Network addresses’s bits are
increased.
While in subnetting, Host addresses’s bits are
increased.
In subnetting, The mask bits are moved
towards right.
While In supernetting, The mask bits are moved
towards left.
Host Identification and IP address
Domain Name System(DNS)
• Memorising a 32 bit string or a dot separated decimal
values to identify each host in a network is quite
difficult task for the users. Therefore DNS is adopted
which is used for identifying the host through a domain
name. These domain names are not case sensitive.
• The mapping of a domain name to its corresponding
ip-address and vice versa can be performed using a
network service known as DNS naming resolution
Examples:
Some top level DNS are .com, .edu, .uk , .gov etc
Identifying process with protocol ports
• Specifying the correct domain name or its corresponding IP address allows us to locate
the computer or the host or the internet.
• But in network application data needs to be delivered to a specific process running on a
computer.
• One simple solution for this problem is to make a use of unique process identifier(PID)
assigned to the process by operating system.
• On the internet the protocol process identification involves the use of a logical entity
known as a protocol port or a port for short.
• The transport layer protocols such as TCP and UDP are responsible for dispatching the
data to the process with some reserved port numbers.
Email
• Structure: username@domainname
• On delivering a email a mailer program on the IP host with specified domain name deliver the email to the
mailbox of the specified user on that system.
URI and URLs
• URL(Uniform resource locator) is a naming scheme under the more general scheme known as Uniform resource
Identifier(URI)
• URIs are short strings that identify resource on the web including docs and images.
• Example : https://www.biplabas.com
XNS
• Extensible Name Service (XNS) is an open Extensible Markup Language (XML)-based protocol that specifies a
way to establish and manage a universal addressing system.
• XNS can be considered to be an enhanced version of the domain name system (DNS) because it resolves a
universal address into any other kind of address, just as DNS resolves a domain name into an IP address.
References :
Distributed Computing: Principles and Applications 1st Edition by M.L. Liu
Computer Networks and Internets by DOUGLAS E. COMER
Praise for the First Edition of TCP/IP Illustrated, Volume 1: The Protocols
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Topic 2.2 network protocol
Topic 2.2 network protocolTopic 2.2 network protocol
Topic 2.2 network protocolAtika Zaimi
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ipmyl_1116
 
"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Poland"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Polandirenazd
 
Protocols in computer network
Protocols in computer network   Protocols in computer network
Protocols in computer network priya sehgal
 
0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocol0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocolumardanjumamaiwada
 
NETWORK PROTOCOL
NETWORK PROTOCOLNETWORK PROTOCOL
NETWORK PROTOCOLKak Yong
 
Advanced computer network lab manual (practicals in Cisco Packet tracer)
Advanced computer network lab manual (practicals in Cisco Packet tracer)Advanced computer network lab manual (practicals in Cisco Packet tracer)
Advanced computer network lab manual (practicals in Cisco Packet tracer)VrundaBhavsar
 
Chapter04 -- network protocols
Chapter04  -- network protocolsChapter04  -- network protocols
Chapter04 -- network protocolsRaja Waseem Akhtar
 
Network Protocol
Network ProtocolNetwork Protocol
Network ProtocolKetan Nayak
 
Basic ip and networking ver 3 kl
Basic ip and networking ver 3 klBasic ip and networking ver 3 kl
Basic ip and networking ver 3 klAzhar Ali
 
Cs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocolsCs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocolsKathirKathiresan4
 
Topic 2.1 network communication using osi model part1
Topic 2.1 network communication using osi   model part1Topic 2.1 network communication using osi   model part1
Topic 2.1 network communication using osi model part1Atika Zaimi
 
Network Protocols
Network ProtocolsNetwork Protocols
Network Protocolssbmiller87
 
SET UP INTERNET CONNECTION USING MODEM
SET UP INTERNET CONNECTION USING MODEMSET UP INTERNET CONNECTION USING MODEM
SET UP INTERNET CONNECTION USING MODEMEILLEN IVY PORTUGUEZ
 
CCNA project-report
CCNA project-reportCCNA project-report
CCNA project-reportSagar Shashank
 
Slides for protocol layering and network applications
Slides for protocol layering and network applicationsSlides for protocol layering and network applications
Slides for protocol layering and network applicationsjajinekkanti
 
Windows network administration Basic theories
Windows network administration Basic theoriesWindows network administration Basic theories
Windows network administration Basic theoriesRavi Yasas
 

Was ist angesagt? (20)

Topic 2.2 network protocol
Topic 2.2 network protocolTopic 2.2 network protocol
Topic 2.2 network protocol
 
02 protocols and tcp-ip
02 protocols and tcp-ip02 protocols and tcp-ip
02 protocols and tcp-ip
 
"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Poland"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Poland
 
Protocols in computer network
Protocols in computer network   Protocols in computer network
Protocols in computer network
 
0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocol0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocol
 
NETWORK PROTOCOL
NETWORK PROTOCOLNETWORK PROTOCOL
NETWORK PROTOCOL
 
Advanced computer network lab manual (practicals in Cisco Packet tracer)
Advanced computer network lab manual (practicals in Cisco Packet tracer)Advanced computer network lab manual (practicals in Cisco Packet tracer)
Advanced computer network lab manual (practicals in Cisco Packet tracer)
 
Chapter04 -- network protocols
Chapter04  -- network protocolsChapter04  -- network protocols
Chapter04 -- network protocols
 
Network Protocol
Network ProtocolNetwork Protocol
Network Protocol
 
Basic ip and networking ver 3 kl
Basic ip and networking ver 3 klBasic ip and networking ver 3 kl
Basic ip and networking ver 3 kl
 
Cs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocolsCs553 st7 ch18-internet_protocols
Cs553 st7 ch18-internet_protocols
 
Osi model
Osi modelOsi model
Osi model
 
Topic 2.1 network communication using osi model part1
Topic 2.1 network communication using osi   model part1Topic 2.1 network communication using osi   model part1
Topic 2.1 network communication using osi model part1
 
internet protocol
internet protocolinternet protocol
internet protocol
 
Network protocol
Network protocolNetwork protocol
Network protocol
 
Network Protocols
Network ProtocolsNetwork Protocols
Network Protocols
 
SET UP INTERNET CONNECTION USING MODEM
SET UP INTERNET CONNECTION USING MODEMSET UP INTERNET CONNECTION USING MODEM
SET UP INTERNET CONNECTION USING MODEM
 
CCNA project-report
CCNA project-reportCCNA project-report
CCNA project-report
 
Slides for protocol layering and network applications
Slides for protocol layering and network applicationsSlides for protocol layering and network applications
Slides for protocol layering and network applications
 
Windows network administration Basic theories
Windows network administration Basic theoriesWindows network administration Basic theories
Windows network administration Basic theories
 

Ă„hnlich wie Computer Networks basics

Internet architecture protocol
Internet architecture protocolInternet architecture protocol
Internet architecture protocolGLIM Digital
 
Concept of networking
Concept of networkingConcept of networking
Concept of networkingsumit dimri
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IPPiero Fraternali
 
New tcp-ip model
New tcp-ip modelNew tcp-ip model
New tcp-ip modelNitesh Singh
 
New tcp-ip model (2)
New tcp-ip model (2)New tcp-ip model (2)
New tcp-ip model (2)Nitesh Singh
 
Unit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptxUnit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptxDESTROYER39
 
Computer Networks.pptx
Computer Networks.pptxComputer Networks.pptx
Computer Networks.pptxDeepthiB29
 
Networking fundamentals
Networking  fundamentalsNetworking  fundamentals
Networking fundamentalsThe Avi Sharma
 
KRISHNA_COMPUTER_PROJECT.pptx
KRISHNA_COMPUTER_PROJECT.pptxKRISHNA_COMPUTER_PROJECT.pptx
KRISHNA_COMPUTER_PROJECT.pptxADITYAKUMAR554673
 
presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationsAnyapuPranav
 
Internet architecture
Internet architectureInternet architecture
Internet architectureNaman Rastogi
 
CCN CEP.pptx
CCN CEP.pptxCCN CEP.pptx
CCN CEP.pptxNOOR69810
 
A Deep Dive in the World of IT Networking (part 1)
A Deep Dive in the World of IT Networking (part 1)A Deep Dive in the World of IT Networking (part 1)
A Deep Dive in the World of IT Networking (part 1)Tuan Yang
 
Fundamental Of Computer Network.
Fundamental Of Computer Network. Fundamental Of Computer Network.
Fundamental Of Computer Network. PushpendraSingh483
 
Basics concept of network and internet mansi
Basics concept of network and internet   mansiBasics concept of network and internet   mansi
Basics concept of network and internet mansiMansiGupta298
 
COMPUTER NETWORKING
COMPUTER NETWORKINGCOMPUTER NETWORKING
COMPUTER NETWORKINGKiran Buriro
 

Ă„hnlich wie Computer Networks basics (20)

Internet architecture protocol
Internet architecture protocolInternet architecture protocol
Internet architecture protocol
 
Concept of networking
Concept of networkingConcept of networking
Concept of networking
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
 
lecture-2-tcp-ip.ppt
lecture-2-tcp-ip.pptlecture-2-tcp-ip.ppt
lecture-2-tcp-ip.ppt
 
New tcp-ip model
New tcp-ip modelNew tcp-ip model
New tcp-ip model
 
New tcp-ip model (2)
New tcp-ip model (2)New tcp-ip model (2)
New tcp-ip model (2)
 
Unit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptxUnit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptx
 
Computer Networks.pptx
Computer Networks.pptxComputer Networks.pptx
Computer Networks.pptx
 
Networking fundamentals
Networking  fundamentalsNetworking  fundamentals
Networking fundamentals
 
KRISHNA_COMPUTER_PROJECT.pptx
KRISHNA_COMPUTER_PROJECT.pptxKRISHNA_COMPUTER_PROJECT.pptx
KRISHNA_COMPUTER_PROJECT.pptx
 
presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunications
 
Internet architecture
Internet architectureInternet architecture
Internet architecture
 
CCN CEP.pptx
CCN CEP.pptxCCN CEP.pptx
CCN CEP.pptx
 
A Deep Dive in the World of IT Networking (part 1)
A Deep Dive in the World of IT Networking (part 1)A Deep Dive in the World of IT Networking (part 1)
A Deep Dive in the World of IT Networking (part 1)
 
Lecture 3- tcp-ip
Lecture  3- tcp-ipLecture  3- tcp-ip
Lecture 3- tcp-ip
 
Fundamental Of Computer Network.
Fundamental Of Computer Network. Fundamental Of Computer Network.
Fundamental Of Computer Network.
 
Basics concept of network and internet mansi
Basics concept of network and internet   mansiBasics concept of network and internet   mansi
Basics concept of network and internet mansi
 
COMPUTER NETWORKING
COMPUTER NETWORKINGCOMPUTER NETWORKING
COMPUTER NETWORKING
 
Week 2
Week 2Week 2
Week 2
 
Osi model
Osi modelOsi model
Osi model
 

KĂĽrzlich hochgeladen

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...Pooja Nehwal
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Dr. Mazin Mohamed alkathiri
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

KĂĽrzlich hochgeladen (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 đź’ž Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 đź’ž Full Nigh...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

Computer Networks basics

  • 1. Distributed Computing Class assignment - I A Presentation on Computer Network Basics BIPLABA SAMANTARAY MCA ,University of Hyderabadd A computer network is a set of computers connected together for the purpose of communicating data electronically. In this presentation we are going to focus on the basics of Computer networking which will further relevant for understanding the topic Distributed computing.
  • 2. Table of Contents Protocols 01 Architecture Connectionless vs connection oriented 03 02 Host Identification and IP address Process identification 05 04
  • 3. What is Network Protocol ? Network protocol is established set of rules that are predefined to determine how data is transmitted between different nodes in the same network. Protocols must be formally defined and precisely implemented. For each protocol there must be rules that specify following :- • How is the data exchange encoded • How the events (sending and receiving) synchronised (ordered) so that the participants can send and receive in a coordinated manner Note The specification of a protocol does not dictate how the rules to be implemented. For example HTTP specifies the rules that must be observed between a web server and browser process and is independent of the language and syntax.
  • 4. Network Architecture What is Open System Interconnect? • The classical network architecture called the Open System Interconnect(OSI) divides the complex functionalities of network in to seven layers. • The OSI model of network architecture is promoted by an organisation named International organisation for standardisation(ISO). Application Layer Presentation Layer Network Layer Data Link Layer Session Layer Transport Layer Physical Layer Allnetworked devices Hosts The OSI model
  • 5. Network Architecture What is TCP / IP model? The TCP/IP architecture is very similar to the OSI model but instead of seven it uses five layers and we can called it as a generalised version of OSI model. Why Layering? With layering, each layer is responsible for a different facet of the communications. Layers are beneficial because a layered design allows developers to evolve different portions of the system separately, often by different people with somewhat different areas of expertise. Application Layer Allnetworked devices Hosts Transport Layer Internet Network Interface Physical Layer TCP/IP architecture
  • 6. Network Architecture Functionalities of Layers :- Layer Functionalities Physical • Protocols in the Physical layer specify details about the underlying transmission medium and the associated hardware. • All specifications related to electrical properties, radio frequencies, and signals belong to this layer. Network interface • Protocols in the Network Interface layer specify details about communication between higher layers of protocols, which are usually implemented in software, and the underlying network, which is implemented in hardware. • Specifications about network addresses and the maximum packet size that a network can support, protocols Layers used to access the underlying medium, and hardware addressing belong to this layer.
  • 7. Network Architecture Layers Functionalities Internet • Protocols of this layer specify communication between two computers across the Internet (i.e., across multiple interconnected networks). • The Internet addressing structure, the format of Internet packets, the method for dividing a large Internet packet into smaller packets for transmission, and mechanisms for reporting errors belong to this. Transport • Protocols in the Transport layer provide for communication from an application program on one computer to an application program on another. • Specifications that control the maximum rate a receiver can accept data, mechanisms to avoid network congestion, and techniques to insure that all data is received in the correct order belong to this layer. Application • Protocols of this layer specify how a pair of applications interact when they communicate. • Application layer protocols specify details about the format and meaning of messages that applications can exchange as well as procedures to be followed during communication. • Specifications for email exchange, file transfer, web browsing, telephone services, and video teleconferencing all belong to this layer.
  • 8. How data passes through the layers:- Net. Interface Internet Transport Application Net. Interface Internet Transport Application NETWORK Layers vs Headers:- Actual message Physical Header(optional) Net. Interface header Internet Header Transport Header Device1 Device2 Layers vs Protocols:-
  • 9. Connection less vs Connection Oriented Communicat Connection Oriented Communication In connection oriented service we have to establish a connection before starting the communication. When connection is established, we send the message or the information and then we release the connection. Connectionless Communication Each message is routed independently from source to destination. The order of message sent can be different from the order received Connection oriented Connection less
  • 10. Connection less vs Connection Oriented Communicati Connection-Oriented Connection-less Addressing Specified at connection time, there is no need to re-specify with each subsequent operation(send or receive). Addressing is specified with each operation Connection overhead There is overhead for establishing a connection. Not applicable. Addressing overhead There is no addressing overhead with each individual operation. Overhead incurred with each operation. Data delivery order The connection abstraction allows the IPC mechanism to maintain the order of delivering data packets. The lack of connection makes it difficult for IPC facility to maintain delivery order. Protocols This mode of communication is appropriate for protocols that require exchange of large stream of data and a large number of rounds of exchange. This mode of communication is appropriate for protocols that exchange a small amount of data in a limited number of rounds of exchange.
  • 11. Network Resources “Network Resources” in terms of distributed computing refers to the resources that are available to the participants of a distributed computing community. Examples :- Hardware[Printers, routers, cameras etc ] Software[Process, Files, mailbox, web document] The key challenge in distributed computing is the unique identification of resources that available in the network. To achieve this goal the naming schemes are there such as :- • Domain Name System(DNS) • The Extensive Name System(XNS) • Protocol Port Numbers • Uniform Resource Identifier(URI) and Uniform Resource Locator(URL) • Email ID
  • 12. Host Identification and IP address “Hosts” are the computers with TCP/Ip supports and are connected to a network. “Host identification” is the crucial part of Internet protocol. Two versions of IP : IPv4 ,IPv6. IPv4 addressing IP address : An Internet address (IP address) is a unique 32-bit binary string assigned to a host and used for all communication with the host. Each 32-bit IP address is divided into two parts: a prefix and a suffix. IP prefix identifies the physical network to which the host is attached. IP suffix identifies a specific computer on the network. The important point is that the IP address scheme guarantees two properties: • Each computer is assigned a unique address (i.e., a single address is never assigned to more than one computer). • Although network number assignments must be coordinated globally, suffixes can be assigned locally without global coordination.
  • 13. Host Identification and IP address Class -A Class -B Class -C Class -D Class -E Classes of IP address- Suffixprefix1 01 prefix Suffix 11 Multicast 1 prefix Suffix1 0 1 0 11 Reserved1 1 Note : Class D addresses are still used for multicasting, but multicastingdoes not work globally.
  • 14. Host Identification and IP address Subnet and supernet addressing : One of the earliest difficulties encountered when the Internet began to grow was the inconvenience of having to allocate a new network number for any new network segment that was to be attached to the Internet. To over come this problem subnet and supernet addressing are included to the classes of IP. Subnetting Supernetting Subnetting is the procedure to divide the network into sub-networks. While supernetting is the procedure of combine the small networks. In subnetting, Network addresses’s bits are increased. While in subnetting, Host addresses’s bits are increased. In subnetting, The mask bits are moved towards right. While In supernetting, The mask bits are moved towards left.
  • 15. Host Identification and IP address Domain Name System(DNS) • Memorising a 32 bit string or a dot separated decimal values to identify each host in a network is quite difficult task for the users. Therefore DNS is adopted which is used for identifying the host through a domain name. These domain names are not case sensitive. • The mapping of a domain name to its corresponding ip-address and vice versa can be performed using a network service known as DNS naming resolution Examples: Some top level DNS are .com, .edu, .uk , .gov etc
  • 16. Identifying process with protocol ports • Specifying the correct domain name or its corresponding IP address allows us to locate the computer or the host or the internet. • But in network application data needs to be delivered to a specific process running on a computer. • One simple solution for this problem is to make a use of unique process identifier(PID) assigned to the process by operating system. • On the internet the protocol process identification involves the use of a logical entity known as a protocol port or a port for short. • The transport layer protocols such as TCP and UDP are responsible for dispatching the data to the process with some reserved port numbers.
  • 17. Email • Structure: username@domainname • On delivering a email a mailer program on the IP host with specified domain name deliver the email to the mailbox of the specified user on that system. URI and URLs • URL(Uniform resource locator) is a naming scheme under the more general scheme known as Uniform resource Identifier(URI) • URIs are short strings that identify resource on the web including docs and images. • Example : https://www.biplabas.com XNS • Extensible Name Service (XNS) is an open Extensible Markup Language (XML)-based protocol that specifies a way to establish and manage a universal addressing system. • XNS can be considered to be an enhanced version of the domain name system (DNS) because it resolves a universal address into any other kind of address, just as DNS resolves a domain name into an IP address.
  • 18. References : Distributed Computing: Principles and Applications 1st Edition by M.L. Liu Computer Networks and Internets by DOUGLAS E. COMER Praise for the First Edition of TCP/IP Illustrated, Volume 1: The Protocols Thank You