Comparison and Analysis of ICMP protocol

Source: Internet
Author: User

ICMP is one of the basic network protocols. With the development of the network, the protocols are becoming more and more complex and constantly changing to adapt to the needs of the network. We will introduce it in detail below. Internet Control Message Protocol ICMP is used to report errors and control messages on behalf of IP addresses. IP addresses use the internet Group Management Protocol IGMP to tell routers that there are available hosts in a network guidance group.

ICMP protocol

ICMP Source suppression message: When the TCP/IP host sends data to another host, if the speed reaches the saturation of the router or link, the router sends an ICMP Source suppression message.

ICMP packet structure

Type: an 8-bit field indicating the ICMP data packet type.

Code: an 8-bit code field, indicating a function in the specified type. If there is only one function in a type, the code field is set to 0.

Check: A 16-bit check on the ICMP part of the data packet.

The additional data of the specified type changes with each ICMP type.

IGMP Protocol

IGMP information is sent to other routers so that each vro supporting multi-channel broadcasting can know which host group and which network.

IGMP protocol Package Structure

Version: IGMP version. The value is generally 0x1 h.

Type: IGMP message type. the 0x1 H type is a host Member request. It is used on a multicast router to specify that any member in a multi-level group polls a network. the 0x2 H type is called host Member report. It is used to publish members in a specified group on the host or to answer requests from host members of a vro.

Unused: unused domain names are set to zero by senders and ignored by recipients.

Verification: A 16-bit test of the IGMP header.

Group address: the host uses this group address to store IP multicast addresses in a host Member request. in host Member requests, the Group address is set to zero, and the hardware-level multi-channel broadcast address is used to mark the Host group.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.