網際控制報文協議icmp_網絡中的ICMP(Internet控制消息協議)

網際控制報文協議icmp

ICMP(Internet控制消息協議)簡介 (Introduction to ICMP (Internet Control Message Protocol))

IP (Internet Protocol) is a network layer protocol. The responsibility of delivering data (Logical Addressing) to any network is done by the IP (Internet Protocol). For this purpose, the IP uses transport layer protocols such as TCP and UDP. TCP and IP form the TCP / IP protocol suite.

IP(Internet協議)是網絡層協議。 將數據(邏輯尋址)傳送到任何網絡的責任由IP(互聯網協議)完成。 為此,IP使用傳輸層協議,例如TCP和UDP。 TCP和IP構成TCP / IP協議套件。

Efforts are being made by Internet Protocol to deliver any data from source to destination. But there are some limitations to the internet protocol, which lowers its performance. These are being given below.

Internet協議正在努力將任何數據從源傳送到目的地。 但是,互聯網協議存在一些局限性,從而降低了其性能。 這些在下面給出。

IP(互聯網協議)的局限性 (Limitations of IP (Internet Protocol))

Two significant deficiencies in Internet protocol are being given below. To understand the need for ICMP, it is important to understand these limitations properly.

下面給出Internet協議中的兩個重大缺陷。 要了解對ICMP的需求,正確理解這些限制很重要。

No Error Reporting:

無錯誤報告:

If any packet is discarded by the router due to an error, then there is no mechanism in the internet protocol so that the sender can be reported about this error.

如果路由器由于錯誤而丟棄了任何數據包,則互聯網協議中沒有機制,因此可以向發送方報告此錯誤。

Examples of some common errors are given below.

以下是一些常見錯誤的示例。

Suppose if the router is not getting a router to deliver data to the destination, then in such situation, the router will disconnect the packet.

假設如果路由器沒有讓路由器將數據傳送到目的地,則在這種情況下,路由器將斷開數據包的連接。

Suppose that the lifetime of a packet is done while traveling on the internet and in time the value of the time to live field in the packet is zero, then in this situation, the packet will be discarded.

假設某個數據包的生存期是在Internet上旅行時完成的,并且該數據包中的生存時間字段的時間值為零,那么在這種情況下,該數據包將被丟棄。

Suppose all the packets have not reached the destination till the destination, then in such a situation, the entire data will be discarded.

假設所有數據包直到目的地都沒有到達目的地,那么在這種情況下,整個數據將被丟棄。

No Communication

沒有溝通

There may be times when one device needs to communicate with another device, there is no such mechanism in Internet protocol for such a situation, so that devices can communicate among themselves in which some devices are required to communicate, such a few common situations are being given below.

有時,一個設備需要與另一設備進行通信,Internet協議中沒有針對這種情況的機制,因此設備可以在需要某些設備進行通信的設備之間進行通信,這種情況很常見。如下。

Many times, a host needs to determine whether the destination host is alive before sending data.

很多時候,主機需要在發送數據之前確定目標主機是否處于活動狀態。

Many times you may also need to get information about a host.

很多時候,您可能還需要獲取有關主機的信息。

The Internet Control Message Protocol has been designed to overcome these shortcomings of Internet Protocol. ICMP and IP both work together. ICMP is the support protocol of the IP. There is a message mechanism in the ICMP so that the hosts are notified about error and status.

Internet控制消息協議旨在克服Internet協議的這些缺點。 ICMP和IP都可以一起工作。 ICMP是IP的支持協議。 ICMP中有一個消息機制,以便向主機通知有關錯誤和狀態。

翻譯自: https://www.includehelp.com/computer-networks/icmp-internet-control-message-protocol.aspx

網際控制報文協議icmp

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/542432.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/542432.shtml
英文地址,請注明出處:http://en.pswp.cn/news/542432.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

談色

最近很苦惱,像是到了男人的生理期,或者說是類似動物的發情期,見到露長腿的女人總喜歡看。 其實我是并不喜歡這樣盯著看,或許是男人的本色,十個男人九個色的本性,總是會不自覺的去偷看,更有甚者還…

linux系統怎樣寫單片機程序,單片機知識是Linux驅動開發的基礎之一以及如何學單片機...

這是arm裸機1期加強版第1課第2、3節課程的wiki文字版。為什么沒前途也要學習單片機?因為它是個很好的入口。學習單片機可以讓我們拋開復雜的軟件結構,先掌握硬件操作,如:看原理圖、芯片手冊、寫程序操作寄存器等。在上一節視頻里&…

python教程循環語句_Python教程:關于Python 循環語句

Python 循環語句本章節將向大家介紹Python的循環語句,程序在一般情況下是按順序執行的。編程語言提供了各種控制結構,允許更復雜的執行路徑。循環語句允許我們執行一個語句或語句組多次,下面是在大多數編程語言中的循環語句的一般形式&#x…

math.pow int_Java Math類static int min(int i1,int i2)與示例

math.pow int數學類靜態int min(int i1,int i2) (Math Class static int min(int i1 , int i2) ) This method is available in java.lang package. 此方法在java.lang包中可用。 This method is used to return the minimum one of both the given arguments or in…

bat 批處理 常用命令和亂碼問題

為什么80%的碼農都做不了架構師?>>> rem echo off ECHO OFF XCOPY E:\test.bat D:\ IF ERRORLEVEL 1 ECHO 文件拷貝Failure IF ERRORLEVEL 0 ECHO 文件拷貝Success :start set /p first"1記事本,2遠程:" if %first% LEQ 2 (IF %first% …

SuperMap iServer發布的ArcGIS REST 地圖服務如何通過ArcGIS API加載

作者:yx 文章目錄 一、發布服務二、代碼加載三、結果展示 一、發布服務 SuperMap iServer支持將地圖發布為ArcGIS REST地圖服務,您可以在發布服務時直接勾選ArcGIS REST地圖服務,如下圖所示: 也可以在已發布的地圖服務中&#x…

c語言中的運算符及其含義_按位運算符及其在C語言中與Example一起使用

c語言中的運算符及其含義1)&(按位與) (1) & (bitwise AND)) It does AND on every bit of two numbers. The result of AND is 1 only if both bits are 1. 它對兩個數字的每一位進行“與”運算。 僅當兩個位均為1時,AND的結果才為1。 Example: 例&…

能上網的Linux系統,那一款linux能上網

zhoushao12 于 2009-02-24 19:13:07發表:linux日常使用中,最重要的就是網絡(本人覺得)特別時ubuntu .但是現在電信偏偏搞什么賬號加密要用互聯星空軟件才可以撥號,更可惡的是這X軟件只有Windws版的!! 使得在linux下撥號上網變得十分麻煩!在網上找了很久終于找到解決方法!!下面拿…

李洪強經典面試題37

1.寫一個NSString類的實現 (id)initWithCString:(c*****t char *)nullTerminatedCString encoding:(NSStringEncoding)encoding; (id) stringWithCString: (c*****t char*)nullTerminatedCString encoding: (NSStringEncoding)encoding { NSString *obj; obj [self al…

new file會創建文件嗎_Rust 文件系統處理之文件讀寫 Rust 實踐指南

Rust 中,文件讀寫處理簡單而高效。代碼也很緊湊,容易閱讀。我們從讀取文件的字符串行、避免讀取寫入同一文件、使用內存映射隨機訪問文件這三個文件處理中的典型案例來了解一下。文件處理場景大家都很熟悉,因此閑言少敘,直接看代碼…

python 打印文件名_在Python中打印文件名,關閉狀態和文件模式

python 打印文件名Prerequisite: Opening, closing a file/open(), close() functions in Python 先決條件: 在Python中打開,關閉文件/ open(),close()函數 1)文件名(file_object.name) (1) File name (file_object.name)) To get the file …

linux搭建直播步驟,Linux 下 nginx + rtmp 搭建直播服務

簡單粗暴直接上步驟吧:注 : 以下示例使用的是nginx(版本1.15.3) rtmp(版本1.2.1)下載nginx和rtmp模塊下載nginx解壓? tar xvf nginx-1.15.3.tar.gz下載nginx rtmp模塊解壓? tar xvf v1.2.1進入nginx目錄? cd nginx-1.15.3執行:#--add-module 指向rtmp模塊目錄,ad…

【Maven學習筆記(二)】Maven的安裝與配置

為什么80%的碼農都做不了架構師&#xff1f;>>> 1、默認本地倉庫路徑 C:\Users\97449\.m2\repository 2、修改本地倉庫路徑 打開D:\apache-maven\conf\settings.xml <?xml version"1.0" encoding"UTF-8"?><!-- Licensed to the Apa…

npm 全局安裝vuecli報錯_cnn explainer本地使用--被npm坑慘

最近在知乎上面看到&#xff0c;看到一個cnn解釋器&#xff0c;把每個步揍都很清楚的展示了出來&#xff0c;我想自己搞來玩玩。第一次使用npm&#xff0c;很多地方不會&#xff0c;第一步&#xff1a;先在網頁上下載下來cnn_explainer&#xff0c;然后解壓在沒有中文路徑的文件…

Python程序從給定的N個數字中找到最大倍數

Here, we will be framing code for finding the maximum multiple of a number x from a given set of a number (set of 5 numbers in this program). 在這里&#xff0c;我們將使用成幀代碼&#xff0c; 從給定的一組數字(此程序中的5個數字組成的集合)中找到x的最大倍數 。…

ubuntu linux本地源,如何制作UbuntuLinux操作系統的本地源?

最簡單制作本地源的方法&#xff1a;在packs文件夾中有如下兩種類型的包&#xff1a;一種是。deb包(全部的依賴包和軟件包)&#xff0c;另一種是Packages。gz著重介紹一下第二個類型的包&#xff1a;在這個包中包含了必需的軟件包列表和依賴信息。這個包是后生成的&#xff0c;…

openmpi安裝_Intel Parallel Studio XE 2019安裝設置

1.Intel Parallel Studio XE 2019簡介Intel Parallel Studio XE 是Intel在單獨一款軟件開發套件中整合了英特爾公司業界領先的 C/C 和 Fortran 編譯器、性能和MPI并行庫、錯誤檢查、代碼健壯和性能分析的工具&#xff0c;有助于大幅提升應用程序性能&#xff0c;同時提高代碼質…

Python | 在列表中指定索引處添加元素的程序

Given a list and we have to add an element at specified index in Python. 給定一個列表&#xff0c;我們必須在Python中的指定索引處添加一個元素。 list.appened() Method is used to append/add an element at the end of the list. But, if we want to add an element …

Linux九大哲學原理,Linux/Unix設計思想(全新闡釋開源哲學,Jon “maddog” Hall作序推薦)...

《Linux/Unix設計思想》第1章  Unix哲學&#xff1a;集思廣益的智慧    11.1  NIH綜合征    21.2  Unix的開發    21.3  Linux&#xff1a;一個人加上一百萬人的智慧    41.4  Unix哲學概述    5第2章  人類的一小步    92.1  準則1&#xff1a;小即是美  …