亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tyt03fi.htm

?? tcpip14study_14天學會TCPIP編程裁減移植_好書啊!
?? HTM
?? 第 1 頁 / 共 5 頁
字號:

<BR>

<BR>

<A ID="E69E52" NAME="E69E52"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>A Datagram's Life</B></FONT></CENTER></H4>

<BR>

<P>To understand how IP and other TCP/IP layers work to package and send a datagram from one machine to another, I take a simplified look at a typical datagram's passage. When an application must send a datagram out on the network, it performs a few simple steps. First, it constructs the IP datagram within the legal lengths stipulated by the local IP implementation. The checksum is calculated for the data, and then the IP header is constructed. Next, the first hop (machine) of the route to the destination must be determined to route the datagram to the destination machine directly over the local network, or to a gateway if the internetwork is used. If routing is important, this information is added to the header using an option. Finally, the datagram is passed to the network for its manipulation of the datagram.

<BR>

<P>As a datagram passes along the internetwork, each gateway performs a series of tests. After the network layer has stripped off its own header, the gateway IP layer calculates the checksum and verifies the integrity of the datagram. If the checksums don't match, the datagram is discarded and an error message is returned to the sending device. Next, the TTL field is decremented and checked. If the datagram has expired, it is discarded and an error message is sent back to the sending machine. After determining the next hop of the route, either by analysis of the target address or from a specified routing instruction within the Options field of the IP header, the datagram is rebuilt with the new TTL value and new checksum.

<BR>

<P>If fragmentation is necessary because of an increase in the datagram's length or a limitation in the software, the datagram is divided, and new datagrams with the correct header information are assembled. If a routing or timestamp is required, it is added as well. Finally, the datagram is passed back to the network layer.

<BR>

<P>When the datagram is finally received at the destination device, the system performs a checksum calculation and&#151;assuming the two sums match&#151;checks to see if there are other fragments. If more datagrams are required to reassemble the entire message, the system waits, meanwhile running a timer to ensure that the datagrams arrive within a reasonable time. If all the parts of the larger message have arrived but the device can't reassemble them before the timer reaches 0, the datagram is discarded and an error message is returned to the sender. Finally, the IP header is stripped off, the original message is reconstructed if it was fragmented, and the message is passed up the layers to the upper layer application. If a reply was required, it is then generated and sent back to the sending device.

<BR>

<P>When extra information is added to the datagram for routing or timestamp recording, the length of the datagram can increase. Handling all these conditions is part of IP's forte, for which practically every problem has a resolution system.

<BR>

<BR>

<A ID="E68E29" NAME="E68E29"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>Internet Control Message Protocol (ICMP)</B></FONT></CENTER></H3>

<BR>

<P>As you have seen today and over the last two days, many problems can occur in routing a message from sender to receiver. The TTL timer might expire; fragmented datagrams might not arrive with all segments intact; a gateway might misroute a datagram, and so on. Letting the sending device know of a problem with a datagram is important, as is correctly handling error conditions within the network routing itself. The Internet Control Message Protocol (ICMP) was developed for this task.

<BR>

<P>ICMP is an error-reporting system. It is an integral part of IP and must be included in every IP implementation. This provides for consistent, understandable error messages and signals across the different versions of IP and different operating systems. It is useful to think of ICMP as one IP package designed specifically to talk to another IP package across the network: in other words, ICMP is the IP layer's communications system. Messages generated by ICMP are treated by the rest of the network as any other datagram, but they are interpreted differently by the IP layer software. ICMP messages have a header built in the same manner as any IP datagram, and ICMP datagrams are not differentiated at any point from normal data-carrying datagrams until a receiving machine's IP layer processes the datagram properly.

<BR>

<P>In almost all cases, error messages sent by ICMP are routed back to the original datagram's sending machine. This is because only the sender's and destination device's IP addresses are included in the header. Because the error doesn't mean anything to the destination device, the sender is the logical recipient of the error message. The sender can then determine from the ICMP message the type of error that occurred and establish how to best resend the failed datagram.

<BR>

<P>ICMP messages go through two encapsulations, as do all IP messages: incorporation into a regular IP datagram and then into the network frame. This is shown in Figure 3.3. ICMP headers have a different format than IP headers, though, and the format differs slightly depending on the type of message. However, all ICMP headers start with the same three fields: a message type, a code field, and a checksum for the ICMP message. Figure 3.4 shows the layout of the ICMP message.

<BR>

<P><B><A HREF="03tyt03.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/03tyt03.gif">Figure 3.3. Two-step encapsulation of an ICMP </B><B>message.</A></B>

<BR>

<P><B><A HREF="03tyt04.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/03tyt04.gif">Figure 3.4. The layout of an ICMP message.</A></B>

<BR>

<P>Usually, any ICMP message that is reporting a problem with delivery also includes the header and first 64 bits of the data field from the datagram for which the problem occurred. Including the 64 bits of the original datagram accomplishes two things. First, it enables the sending device to match the datagram fragment to the original datagram by comparison. Also, because most of the protocols involved are defined at the start of the datagram, the inclusion of the original datagram fragment allows for some diagnostics to be performed by the machine receiving the ICMP message.

<BR>

<P>The 8-bit Message Type field in the ICMP header (shown in Figure 3.4) can have one of the values shown in Table 3.2.

<BR>

<BR>

<P ALIGN=CENTER>

<CENTER>

<FONT COLOR="#000080"><B>Table 3.2. Valid values for the ICMP Message Type field.</B></FONT></CENTER>

<BR>

<BR>

<CENTER><TABLE  BORDERCOLOR=#000040 BORDER=1 CELLSPACING=2 CELLPADDING=3 >

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P><B><I>Value</I></B>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P><B><I>Description</I></B>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>0

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Echo Reply

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>3

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Destination Not Reachable

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>4

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Source Quench

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>5

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Redirection Required

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>8

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Echo Request

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>11

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Time to Live Exceeded

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>12

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Parameter Problem

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>13

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Timestamp Request

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>14

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Timestamp Reply

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>15

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Information Request (now obsolete)

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>16

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Information Reply (now obsolete)

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>17

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Address Mask Request

<BR>

</FONT>

<TR>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>18

<BR>

</FONT>

<TD BGCOLOR=#80FFFF ><FONT COLOR=#000080>

<P>Address Mask Reply</FONT>

</TABLE></CENTER><BR>

<P>The Code field expands on the message type, providing a little more information for the receiving machine. The checksum in the ICMP header is calculated in the same manner as the normal IP header checksum.

<BR>

<P>The layout of the ICMP message is slightly different for each type of message. Figure 3.5 shows the layouts of each type of ICMP message header. The Destination Unreachable and Time Exceeded messages are self-explanatory, although they are used in other circumstances, too, such as when a datagram must be fragmented but the Don't Fragment flag is set. This results in a Destination Unreachable message being returned to the sending machine.

<BR>

<P><B><A HREF="03tyt05.gif" tppabs="http://www.mcp.com/817948800/0-672/0-672-30885-1/03tyt05.gif">Figure 3.5. ICMP message header layouts.</A></B>

<BR>

<P>The Source Quench ICMP message is used to control the rate at which datagrams are transmitted, although this is a very rudimentary form of flow control. When a device receives a Source Quench message, it should reduce the transmittal rate over the network until the Source Quench messages cease. The messages are typically generated by a gateway or host that either has a full receiving buffer or has slowed processing of incoming datagrams because of other factors. If the buffer is full, the device is supposed to issue a Source Quench message for each datagram that is discarded. Some implementations issue Source Quench messages when the buffer exceeds a certain percentage to slow down reception of new datagrams and enable the device to clear the buffer.

<BR>

<P>Redirection messages are sent to a gateway in the path when a better route is available. For example, if a gateway has just received a datagram from another gateway but on checking its datafiles finds a better route, it sends the Redirection message back to that gateway with the IP address of the better route. When a Redirection message is sent, an integer is placed in the code field of the header to indicate the conditions for which the rerouting applies. A value of 0 means that datagrams for any device on the destination network should be redirected. A value of 1 indicates that only datagrams for the specific device should be rerouted. A value of 2 implies that only datagrams for the network with the same type of service (read from one of the IP header fields) should be rerouted. Finally, a value of 3 reroutes only for the same host with the same type of service.

<BR>

<P>The Parameter Problem message is used whenever a semantic or syntactic error has been encountered in the IP header. This can happen when options are used with incorrect arguments. When a Parameter Problem message is sent back to the sending device, the Parameter field in the ICMP error message contains a pointer to the byte in the IP header that caused the problem. (See Figure 3.5.)

<BR>

<P>Echo request or reply messages are commonly used for debugging purposes. When a request is sent, a device or gateway down the path sends a reply back to the specified device. These request/reply pairs are useful for identifying routing problems, failed gateways, or network cabling problems. The simple act of processing an ICMP message also acts as a check of the network, because each gateway or device along the path must correctly decode the headers and then pass the datagram along. Any failure along the way could be with the implementation of the IP software. A commonly used request/reply system is the ping command. The ping command sends a series of requests and waits for replies.

<BR>

<P>Timestamp requests and replies enable the timing of message passing along the network to be monitored. When combined with strict routing, this can be useful in identifying bottlenecks. Address mask requests and replies are used for testing within a specific network or subnetwork.

<BR>

<BR>

<A ID="E68E30" NAME="E68E30"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>IPng: IP Version 6</B></FONT></CENTER></H3>

<BR>

<P>When IP version 4 (the current release) was developed, the use of a 32-bit IP address seemed more than enough to handle the projected use of the Internet. With the incredible growth rate of the Internet over the last few years, however, the 32-bit IP address might become a problem. To counter this limit, IP Next Generation, usually called IP version 6 (IPv6), is under development.

<BR>

<P>Several proposals for IPng implementation are currently being studied, the most popular of which are TUBA (TCP and UDP with Bigger Addresses), CATNIP (Common Architecture for the Internet), and SIPP (Simple Internet Protocol Plus). None of the three meet all the proposed changes for version 6, but a compromise or modification based on one of these proposals is likely.

<BR>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
狠狠色丁香九九婷婷综合五月| jvid福利写真一区二区三区| 日韩精品电影在线观看| 看电视剧不卡顿的网站| 成人污视频在线观看| 91视视频在线直接观看在线看网页在线看 | 亚洲国产高清在线| 一区二区三区在线观看欧美| 美女诱惑一区二区| 久久久久国产成人精品亚洲午夜| 国产精品麻豆视频| 美日韩黄色大片| 欧美日韩美少妇 | 日韩黄色在线观看| 国产一区二区在线看| 色成年激情久久综合| 中文字幕亚洲成人| 黄页视频在线91| 在线观看精品一区| 亚洲另类中文字| 成人精品视频一区二区三区| 色呦呦网站一区| 国产精品国产a| 国产一区二区三区在线看麻豆| av不卡在线播放| 久久亚洲精品小早川怜子| 一区二区三区四区在线播放| 91碰在线视频| 国产喷白浆一区二区三区| 青青草成人在线观看| 欧美乱熟臀69xxxxxx| 亚洲一区免费在线观看| 成人免费观看av| 国产精品天干天干在观线| 九色|91porny| 日韩一区二区在线看| 久热成人在线视频| 日韩三级视频中文字幕| 午夜精品久久久久久久久| 777欧美精品| 美女在线观看视频一区二区| 91精品免费在线| 精品亚洲国内自在自线福利| 欧美一区二区三区系列电影| 亚洲免费伊人电影| 色诱亚洲精品久久久久久| 亚洲精品免费在线| 成人激情图片网| 亚洲综合网站在线观看| 色噜噜夜夜夜综合网| 1024亚洲合集| 一本久久精品一区二区| 亚洲美女视频在线观看| 91黄色免费看| 亚洲成人tv网| 日韩一二三四区| 成人性生交大片免费看中文网站| 久久精品日产第一区二区三区高清版 | 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 欧美电视剧免费全集观看| 蜜臀91精品一区二区三区| 欧美高清你懂得| 秋霞成人午夜伦在线观看| 欧美一区二区三区系列电影| 国产在线一区观看| 久久综合资源网| 成人动漫av在线| 亚洲影视在线播放| 国产亚洲短视频| 91黄色免费观看| 免费人成网站在线观看欧美高清| 国产精品久久久久三级| 91视视频在线直接观看在线看网页在线看| 欧美国产成人在线| 91精品国产麻豆国产自产在线 | 国产精品系列在线播放| 国产精品免费aⅴ片在线观看| 99久久久无码国产精品| 天堂一区二区在线免费观看| 国产精品色眯眯| 欧美性xxxxxxxx| 裸体歌舞表演一区二区| 中文字幕一区三区| 8x8x8国产精品| 高清不卡一二三区| 青娱乐精品视频| 中文字幕亚洲综合久久菠萝蜜| 欧美日韩大陆一区二区| 成人理论电影网| 日本大胆欧美人术艺术动态| 一级日本不卡的影视| 日韩女优av电影| 色999日韩国产欧美一区二区| 国产不卡在线视频| 亚洲成人动漫精品| 国产欧美日韩在线| 国产午夜亚洲精品羞羞网站| 欧美在线观看一二区| kk眼镜猥琐国模调教系列一区二区| 日本成人在线一区| 亚洲永久免费视频| 亚洲精品国产一区二区三区四区在线| 日韩一级精品视频在线观看| 91免费视频网址| 99re热这里只有精品免费视频| 国产麻豆精品theporn| 精品一区二区免费| 日韩av一区二区三区四区| 亚洲欧美日韩国产手机在线| 亚洲视频你懂的| 中文字幕精品三区| 欧美日韩精品一区二区| 日本精品一区二区三区四区的功能| 极品少妇xxxx精品少妇偷拍| 韩国v欧美v日本v亚洲v| 免费观看日韩av| 日韩极品在线观看| 老司机精品视频导航| 日本午夜精品一区二区三区电影| 欧美tickling网站挠脚心| 精品欧美一区二区在线观看| 欧美男生操女生| 日韩一卡二卡三卡四卡| 欧美一区二区三区在线视频| 欧美日韩精品是欧美日韩精品| 在线综合视频播放| 9191久久久久久久久久久| 欧美日韩一区二区三区免费看| 欧美性感一区二区三区| 欧美色综合网站| 日韩午夜精品电影| 日韩一区二区免费在线电影| 欧美一级黄色录像| 日韩欧美国产电影| 91麻豆精品91久久久久久清纯| 欧美一级淫片007| 精品成人一区二区| 成人欧美一区二区三区1314 | av电影天堂一区二区在线| 欧美综合欧美视频| 欧美日韩免费高清一区色橹橹| 欧美日韩电影一区| 日韩一区二区三区视频在线| 精品国一区二区三区| 国产精品久久久久久久浪潮网站 | 欧美在线看片a免费观看| 日韩视频123| 国产欧美日本一区视频| 欧美疯狂做受xxxx富婆| 精品国产一区二区精华| 欧美经典一区二区三区| 亚洲综合色视频| 蜜臀av性久久久久蜜臀aⅴ| 亚洲激情在线播放| 极品美女销魂一区二区三区| 成人高清在线视频| 欧美一区二区观看视频| 国产日韩高清在线| 亚洲男人电影天堂| 国产在线播放一区三区四| 成人成人成人在线视频| 制服丝袜av成人在线看| 中文一区一区三区高中清不卡| 伊人开心综合网| 精品中文字幕一区二区小辣椒| 99久久国产综合精品麻豆| 欧美色图第一页| 国产午夜精品一区二区三区视频| 欧美成人女星排名| 婷婷久久综合九色综合伊人色| 国产精品综合视频| 日韩午夜中文字幕| 亚洲伦理在线精品| 成人综合婷婷国产精品久久| 欧美欧美午夜aⅴ在线观看| 国产精品免费视频观看| 国产美女视频91| 欧美丰满嫩嫩电影| 亚洲综合在线免费观看| 国产精品一区二区久久精品爱涩| 色欧美88888久久久久久影院| 国产欧美一区二区精品久导航| 亚洲1区2区3区视频| 色婷婷狠狠综合| 久久久亚洲午夜电影| 一区二区成人在线观看| 91影院在线观看| 久久亚洲一级片| 国产一区二区不卡老阿姨| 欧美伦理视频网站| 日韩美女视频一区二区| 国内不卡的二区三区中文字幕| 欧美亚洲高清一区二区三区不卡| **网站欧美大片在线观看| 蜜桃91丨九色丨蝌蚪91桃色| 国产剧情一区在线| 精品乱人伦小说| 天天免费综合色| 欧美一级在线观看| 丝袜美腿高跟呻吟高潮一区|