version: the version of ip service, For IPv4, its value is 4, for IPV6, its value is 6.
header length: the length of ip header, the maximum value is 60 because of using 4 bits representing the length. Generally, its value is 20.
type of service: the 8 bits are divided into 3 parts. the first part using 3 bits has been discarded, the second part uses 4 bits, each bit denotes a functionality.
the first bit tells ip module using strategy of minimum delay; the second bit tells ip module using strategy of maxmum throughput; the third bit tells ip module
using strategy of maxmum reliability and the fourth bit tells ip module using strategy of minimum cost. The four bits can be only one bit set to 1 at a time.
The last bit of type of service is reserved, not using.
total length: the length of IP datagram including length of ip header and length of data.
identification: It is unique to identify a datagram. Its value is produced randomly. Its value is automatically added by 1 after sending a datagram and would be copied
to each fragmentation, therefore all of fragmentations have the same identification.
flags: It indicates if there are fragmentations. the first bit is reserved. The second bit denotes "Don't Fragment", if this flag is set, ip module would not fragment datagram.
In this situation, if the length of datagram is greater than the MTU, ip module would abandon this datagram and return an ICMP error datagram. The third bit denotes "More Fragment".
Other fragmentation must set this bit to 1 except the last fragmentaion in the same group.
fragmentaion offset: It indicates the data offset, not including header, of a fragmentation relativing to the original datagram. The actual value using by ip module is the value left
shifting 3 bits, which means the length of each fragmentation must be multiples of 8 except the last fragmentation in the same group.
time to live: it denotes the maxmum passed steps of the datagram from source to destination, the value is generally set to 64. the value would be subtracted by 1 while the datagram
passed a router. while the value is 0, router would abandon datagram and reuturn an ICMP error datagram. This value can avoid data falling into the trap of Routing Loops.
protocol: It can be used to distinguish the protocol of upper layer, TCP, UDP, ICMP and so on.
header checksum: It is filled by sender and used by receiver to check if the header of ip datagram is entire and valid.
source IP address: It denotes the IP address of sender.
destination IP address: It denotes the IP address of receiver.
options: They are not used often and here we will not illustrate them.
相关推荐
TC8 IPv4_HEADER_03 测试数据
TC8 测试 IPv4_HEADER_02测试数据
Handbook of IPv4 to IPv6 Transition.pdf
目前为止最好用的: IPV4子网掩码计算器, IPV4子网划分计算器
全球IPv4地址分配情况,chm格式。网络安全人士必备。
IPv4协议是互联网的核心协议,它保证了网络节点(包括网络设备和主机)在网络层能够按照标准协议互相通信。IPv4地址唯一标识了网络节点。在我们日常使用的计算机的主机协议栈中,IPv4协议必不可少,它能够接收网络中...
The NAT-PT Providing IPv4 to IPv6 and IPv6 to IPv4 Address Translation
IPv4的缺陷和Internet的飞速发展导致IPv6的产生和发展,目前,IPv6网络正从试验性网络逐步走向实际应用,但未来一段时间内,IPv4网络仍然占据主导地位,IPv4网络和IPv6网络并存的局面仍将继续,这样,实现IPv4网络和...
WinPcap来捕获和分析ipv4,WinPcap来捕获和分析ipv4
Ipv4转化为整型数字
IPV4地址大全,包含国内国外的IPV4地址,是我从我的mysql数据库导出的,可直接导入到mysql数据库中
ipv4
PHP文本 全球IPv4归属地,用于数据分析和数据整理
Complete the function that takes an unsigned 32 bit number and returns a string representation of its IPv4 address. Examples 2149583361 ==> "128.32.10.1" 32 ==> "0.0.0.32" 0 ==> "0.0.0.0
IPv4_Specification-rfc791: This document specifies the DoD Standard Internet Protocol.
IPv4包头详解
IPV6 转 IPV4工具
IPv4地址转换工具 IPv6AddressConverter
IPv4协议&IPv6 8.docIPv4协议&IPv6 8.doc
在进行IPv4/v6综合组网时,应遵循以下一些原则:最大限度地保护终端用户、ISP、ICP和电信运营商的既有投资;保证IPv4和IPv6主机之间的互通;在IPv4业务和IPv6业务互不影响的前提下,支持两者业务的互通;保证现有...