SlideShare a Scribd company logo
1 of 20
2
Internet Control Message Protocol
• The IP (Internet Protocol) relies on several
other protocols to perform necessary control
and routing functions:
• Control functions (ICMP)
• Multicast signaling (IGMP)
• Setting up routing tables (RIP, OSPF, BGP,
PIM, …)
3
• The Internet Control Message
Protocol (ICMP) is ahelper protocol
that supports IP with facility for
– Error reporting
– Simple queries
– ICMP messages are encapsulated as IP
datagrams:
4
Message Format
• 4 byte header:
– Type (1 byte): type of ICMP message
– Code (1 byte): subtype of ICMP message
– Checksum (2 bytes): similar to IP header checksum.
• Checksum is calculated over entire ICMP message
• If there is no additional data, there are 4 bytes set to zero.
• Each ICMP messages is at least 8 bytes long
CA528 - Advanced Data
Communications
5
ICMP Query Message
ICMP query:
• ICMP Request sent by host to a router
or host
• ICMP Reply sent back to querying host
ICMP Error Message
• ICMP error messages report error
conditions
• Typically sent when a datagram is
discarded
7
IP Multicast Architecture
Hosts
Routers
Service model
Host-to-router protocol
(IGMP)
Multicast routing protocols
(various)
8
Internet Group Management Protocol
• End system to router protocol is IGMP
• The internet group management
protocol(IGMP) is one of the necessary but
not sufficient protocol that is involved in
multicasting.
OBJECTIVE:
• Objective is to keep router up-to-date with
group membership of entire LAN
• Routers need not know who all the members
are, only that members exist
9
How IGMP Works
• On each link, one router is elected the “querier”
• Querier periodically sends a Membership Query message to the all-
systems group
• On receipt, hosts start random timers (between 0 and 10 seconds) for
each multicast group to which they belong
QRouters:
Hosts:
How IGMP Works (cont.)
• When a host’s timer for group G expires, it sends a Membership Report to
group G.
• Other members of G hear the report and stop their timers
• Routers hear all reports, and time out non-responding groups
Q
G G G G
Routers:
Hosts:
Internet Group Management Protocol
(IGMP)
 Each host
responds to the
query with a
random delay. If
one report is
received at the
router, the other
reports will be
suppressed
First Question
• How does your computer know which IP
to use?
• How does your computer know that
www.iimcal.ac.in is at IP 202.54.116.3?
• How can you track your network’s health?
The Internet and Addressing
• All machines on the Internet are accessed via
their IP address
– Dotted quad: xxx.xxx.xxx.xxx
• Problem: IP addresses are hard to remember
and hard to statically assign on large networks
• Solution: Need to come up with a way to
automatically assign IP addresses and a text
based representation of machine addresses
instead of just 4 numbers
Two protocols have been developed to solve these
problems
DHCP – automatic network configuration (including
IP address)
DNS – translates textual based names into IP
addresses and vice versa
DHCP(dynamic
Configuration protocol):
• Allows client machines to receive an IP
address, DNS information, etc.
automatically
• Before DHCP came into use, users had
to type in all this information by hand,
which is bad:
– Easy to mistype something when entering by hand
– Manually changing network configuration every time
you move your laptop is a pain
– Bootp resolved some of these issues
DHCP:
• Efficient way of assigning computers IP
addresses and delivering configuration
information to those computers
• Does not solve other problem of addressing –
that IP addresses are hard to remember
Dynamic IP addresses:
Dynamic assignment of IP addresses is
desirable for several reasons:
• IP addresses are assigned on-demand
• Avoid manual IP configuration
• Support mobility of laptops
Static IP Address :
• Static addresses are created
manually.
• A DHCP server has a database that
statically binds physical addresses
to IP addresses.
data communication protocol
data communication protocol

More Related Content

What's hot

Free OpManager training Part 4 - Monitoring Network Performance and Network Maps
Free OpManager training Part 4 - Monitoring Network Performance and Network MapsFree OpManager training Part 4 - Monitoring Network Performance and Network Maps
Free OpManager training Part 4 - Monitoring Network Performance and Network MapsManageEngine, Zoho Corporation
 
[Season - 3 OpManager Training] Monitoring Network Performance
[Season - 3 OpManager Training] Monitoring Network Performance [Season - 3 OpManager Training] Monitoring Network Performance
[Season - 3 OpManager Training] Monitoring Network Performance ManageEngine, Zoho Corporation
 
Season 4 [Free OpManager training] Part2- Monitoring Server Performance
Season 4 [Free OpManager training] Part2- Monitoring Server PerformanceSeason 4 [Free OpManager training] Part2- Monitoring Server Performance
Season 4 [Free OpManager training] Part2- Monitoring Server PerformanceManageEngine, Zoho Corporation
 
Season 4 [Free OpManager training] Part3 - Monitoring Network Performance
Season 4 [Free OpManager training] Part3 - Monitoring Network PerformanceSeason 4 [Free OpManager training] Part3 - Monitoring Network Performance
Season 4 [Free OpManager training] Part3 - Monitoring Network PerformanceManageEngine, Zoho Corporation
 
Monitor and manage everything Cisco using OpManager
Monitor and manage everything Cisco using OpManagerMonitor and manage everything Cisco using OpManager
Monitor and manage everything Cisco using OpManagerManageEngine
 
17 micro programmed control
17 micro programmed control17 micro programmed control
17 micro programmed controldilip kumar
 
Advanced Internet of Things firmware engineering with Thingsquare and Contiki...
Advanced Internet of Things firmware engineering with Thingsquare and Contiki...Advanced Internet of Things firmware engineering with Thingsquare and Contiki...
Advanced Internet of Things firmware engineering with Thingsquare and Contiki...Adam Dunkels
 
Troubleshooting Network and Network Utilities
Troubleshooting Network and Network UtilitiesTroubleshooting Network and Network Utilities
Troubleshooting Network and Network UtilitiesRubal Sagwal
 
Chapter 2 Networking
Chapter 2 NetworkingChapter 2 Networking
Chapter 2 Networkingmlrbrown
 
dynamichost configuration protocol
dynamichost configuration protocoldynamichost configuration protocol
dynamichost configuration protocolrajisri2
 

What's hot (20)

The Internet
The InternetThe Internet
The Internet
 
Free OpManager training Part 4 - Monitoring Network Performance and Network Maps
Free OpManager training Part 4 - Monitoring Network Performance and Network MapsFree OpManager training Part 4 - Monitoring Network Performance and Network Maps
Free OpManager training Part 4 - Monitoring Network Performance and Network Maps
 
Ccna routing
Ccna routingCcna routing
Ccna routing
 
CCNA part 5 routing
CCNA part 5 routingCCNA part 5 routing
CCNA part 5 routing
 
[Season - 3 OpManager Training] Monitoring Network Performance
[Season - 3 OpManager Training] Monitoring Network Performance [Season - 3 OpManager Training] Monitoring Network Performance
[Season - 3 OpManager Training] Monitoring Network Performance
 
Season 4 [Free OpManager training] Part2- Monitoring Server Performance
Season 4 [Free OpManager training] Part2- Monitoring Server PerformanceSeason 4 [Free OpManager training] Part2- Monitoring Server Performance
Season 4 [Free OpManager training] Part2- Monitoring Server Performance
 
Season 4 [Free OpManager training] Part3 - Monitoring Network Performance
Season 4 [Free OpManager training] Part3 - Monitoring Network PerformanceSeason 4 [Free OpManager training] Part3 - Monitoring Network Performance
Season 4 [Free OpManager training] Part3 - Monitoring Network Performance
 
M4 san features-4.3.1
M4 san features-4.3.1M4 san features-4.3.1
M4 san features-4.3.1
 
Monitor and manage everything Cisco using OpManager
Monitor and manage everything Cisco using OpManagerMonitor and manage everything Cisco using OpManager
Monitor and manage everything Cisco using OpManager
 
Dhcp
DhcpDhcp
Dhcp
 
13 risc
13 risc13 risc
13 risc
 
17 micro programmed control
17 micro programmed control17 micro programmed control
17 micro programmed control
 
Advanced Internet of Things firmware engineering with Thingsquare and Contiki...
Advanced Internet of Things firmware engineering with Thingsquare and Contiki...Advanced Internet of Things firmware engineering with Thingsquare and Contiki...
Advanced Internet of Things firmware engineering with Thingsquare and Contiki...
 
162 15-768
162 15-768162 15-768
162 15-768
 
IP storage
IP storageIP storage
IP storage
 
Troubleshooting Network and Network Utilities
Troubleshooting Network and Network UtilitiesTroubleshooting Network and Network Utilities
Troubleshooting Network and Network Utilities
 
EIGRP, DHCP, OSPF, NAT
EIGRP, DHCP, OSPF, NATEIGRP, DHCP, OSPF, NAT
EIGRP, DHCP, OSPF, NAT
 
EMEA Airheads- Aruba Instant AP- VPN Troubleshooting
EMEA Airheads- Aruba Instant AP-  VPN TroubleshootingEMEA Airheads- Aruba Instant AP-  VPN Troubleshooting
EMEA Airheads- Aruba Instant AP- VPN Troubleshooting
 
Chapter 2 Networking
Chapter 2 NetworkingChapter 2 Networking
Chapter 2 Networking
 
dynamichost configuration protocol
dynamichost configuration protocoldynamichost configuration protocol
dynamichost configuration protocol
 

Similar to data communication protocol

Similar to data communication protocol (20)

NP - Unit 3 - Forwarding Datagram and ICMP
NP - Unit 3 - Forwarding Datagram and ICMPNP - Unit 3 - Forwarding Datagram and ICMP
NP - Unit 3 - Forwarding Datagram and ICMP
 
Unit05
Unit05Unit05
Unit05
 
ARP.pptx
ARP.pptxARP.pptx
ARP.pptx
 
05 coms 525 tcpip - icmp
05   coms 525 tcpip - icmp05   coms 525 tcpip - icmp
05 coms 525 tcpip - icmp
 
Network protocol
Network protocolNetwork protocol
Network protocol
 
ICMP.ppt
ICMP.pptICMP.ppt
ICMP.ppt
 
Internet Protocol.pdf
Internet Protocol.pdfInternet Protocol.pdf
Internet Protocol.pdf
 
Final Presentation on the Network layer
Final Presentation on the Network layerFinal Presentation on the Network layer
Final Presentation on the Network layer
 
It 3-icmp-igmp
It 3-icmp-igmpIt 3-icmp-igmp
It 3-icmp-igmp
 
module18-dhcp.ppt
module18-dhcp.pptmodule18-dhcp.ppt
module18-dhcp.ppt
 
Internet architecture protocol
Internet architecture protocolInternet architecture protocol
Internet architecture protocol
 
IT307 Exploring the Networks.pptx
IT307 Exploring the Networks.pptxIT307 Exploring the Networks.pptx
IT307 Exploring the Networks.pptx
 
DHCP PROTOCOL
DHCP PROTOCOLDHCP PROTOCOL
DHCP PROTOCOL
 
Bootstrapping with bootp and dhcp
Bootstrapping with bootp and dhcpBootstrapping with bootp and dhcp
Bootstrapping with bootp and dhcp
 
Basic network training2
Basic network training2Basic network training2
Basic network training2
 
NP - Unit 5 - Bootstrap, Autoconfigurion and BGP
NP - Unit 5 - Bootstrap, Autoconfigurion and BGPNP - Unit 5 - Bootstrap, Autoconfigurion and BGP
NP - Unit 5 - Bootstrap, Autoconfigurion and BGP
 
Mcts chapter 8
Mcts chapter 8Mcts chapter 8
Mcts chapter 8
 
Computer network coe351- part3-final
Computer network coe351- part3-finalComputer network coe351- part3-final
Computer network coe351- part3-final
 
Internet Protocols
Internet ProtocolsInternet Protocols
Internet Protocols
 
Web technology unit I - Part B
Web technology unit I - Part BWeb technology unit I - Part B
Web technology unit I - Part B
 

More from Ramla Sheikh

Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
 
Experimental method In Research Methodology
Experimental method In Research MethodologyExperimental method In Research Methodology
Experimental method In Research MethodologyRamla Sheikh
 
Current technologies being used for data communication
Current technologies being used for data communicationCurrent technologies being used for data communication
Current technologies being used for data communicationRamla Sheikh
 
SOFTWARE TESTING STRATEGIES:
SOFTWARE TESTING STRATEGIES:SOFTWARE TESTING STRATEGIES:
SOFTWARE TESTING STRATEGIES:Ramla Sheikh
 
New microsoft power point presentation (2)
New microsoft power point presentation (2)New microsoft power point presentation (2)
New microsoft power point presentation (2)Ramla Sheikh
 
Machiavelli ppt (1) copy - copy
Machiavelli ppt (1)   copy - copyMachiavelli ppt (1)   copy - copy
Machiavelli ppt (1) copy - copyRamla Sheikh
 

More from Ramla Sheikh (10)

Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Experimental method In Research Methodology
Experimental method In Research MethodologyExperimental method In Research Methodology
Experimental method In Research Methodology
 
Dial up security
Dial up securityDial up security
Dial up security
 
Current technologies being used for data communication
Current technologies being used for data communicationCurrent technologies being used for data communication
Current technologies being used for data communication
 
SOFTWARE TESTING STRATEGIES:
SOFTWARE TESTING STRATEGIES:SOFTWARE TESTING STRATEGIES:
SOFTWARE TESTING STRATEGIES:
 
Tcp presentation
Tcp presentationTcp presentation
Tcp presentation
 
ip Presentation
 ip Presentation ip Presentation
ip Presentation
 
New microsoft power point presentation (2)
New microsoft power point presentation (2)New microsoft power point presentation (2)
New microsoft power point presentation (2)
 
Aoa
AoaAoa
Aoa
 
Machiavelli ppt (1) copy - copy
Machiavelli ppt (1)   copy - copyMachiavelli ppt (1)   copy - copy
Machiavelli ppt (1) copy - copy
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
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
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
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...
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

data communication protocol

  • 1.
  • 2. 2 Internet Control Message Protocol • The IP (Internet Protocol) relies on several other protocols to perform necessary control and routing functions: • Control functions (ICMP) • Multicast signaling (IGMP) • Setting up routing tables (RIP, OSPF, BGP, PIM, …)
  • 3. 3 • The Internet Control Message Protocol (ICMP) is ahelper protocol that supports IP with facility for – Error reporting – Simple queries – ICMP messages are encapsulated as IP datagrams:
  • 4. 4 Message Format • 4 byte header: – Type (1 byte): type of ICMP message – Code (1 byte): subtype of ICMP message – Checksum (2 bytes): similar to IP header checksum. • Checksum is calculated over entire ICMP message • If there is no additional data, there are 4 bytes set to zero. • Each ICMP messages is at least 8 bytes long
  • 5. CA528 - Advanced Data Communications 5 ICMP Query Message ICMP query: • ICMP Request sent by host to a router or host • ICMP Reply sent back to querying host
  • 6. ICMP Error Message • ICMP error messages report error conditions • Typically sent when a datagram is discarded
  • 7. 7 IP Multicast Architecture Hosts Routers Service model Host-to-router protocol (IGMP) Multicast routing protocols (various)
  • 8. 8 Internet Group Management Protocol • End system to router protocol is IGMP • The internet group management protocol(IGMP) is one of the necessary but not sufficient protocol that is involved in multicasting. OBJECTIVE: • Objective is to keep router up-to-date with group membership of entire LAN • Routers need not know who all the members are, only that members exist
  • 9. 9 How IGMP Works • On each link, one router is elected the “querier” • Querier periodically sends a Membership Query message to the all- systems group • On receipt, hosts start random timers (between 0 and 10 seconds) for each multicast group to which they belong QRouters: Hosts:
  • 10. How IGMP Works (cont.) • When a host’s timer for group G expires, it sends a Membership Report to group G. • Other members of G hear the report and stop their timers • Routers hear all reports, and time out non-responding groups Q G G G G Routers: Hosts:
  • 11. Internet Group Management Protocol (IGMP)  Each host responds to the query with a random delay. If one report is received at the router, the other reports will be suppressed
  • 12. First Question • How does your computer know which IP to use? • How does your computer know that www.iimcal.ac.in is at IP 202.54.116.3? • How can you track your network’s health?
  • 13. The Internet and Addressing • All machines on the Internet are accessed via their IP address – Dotted quad: xxx.xxx.xxx.xxx • Problem: IP addresses are hard to remember and hard to statically assign on large networks • Solution: Need to come up with a way to automatically assign IP addresses and a text based representation of machine addresses instead of just 4 numbers
  • 14. Two protocols have been developed to solve these problems DHCP – automatic network configuration (including IP address) DNS – translates textual based names into IP addresses and vice versa
  • 15. DHCP(dynamic Configuration protocol): • Allows client machines to receive an IP address, DNS information, etc. automatically • Before DHCP came into use, users had to type in all this information by hand, which is bad: – Easy to mistype something when entering by hand – Manually changing network configuration every time you move your laptop is a pain – Bootp resolved some of these issues
  • 16. DHCP: • Efficient way of assigning computers IP addresses and delivering configuration information to those computers • Does not solve other problem of addressing – that IP addresses are hard to remember
  • 17. Dynamic IP addresses: Dynamic assignment of IP addresses is desirable for several reasons: • IP addresses are assigned on-demand • Avoid manual IP configuration • Support mobility of laptops
  • 18. Static IP Address : • Static addresses are created manually. • A DHCP server has a database that statically binds physical addresses to IP addresses.