ipv6寻址_什么是IPV4寻址?

ipv6寻址

IPV4寻址简介 (Introduction to IPV4 Addressing )

Internet protocol version 4 in any network, is a standard protocol for assigning a logical address (IP address) to hosts. You are currently using the same protocol. This protocol is capable of providing a unique address to the devices available in this world, but will not be available after a few years. Therefore its advanced version IPV6 has been introduced, which you can read in the tutorial of IPV6.

任何网络中的Internet协议版本4是用于为主机分配逻辑地址(IP地址)的标准协议。 您当前正在使用相同的协议。 该协议能够为这个世界上可用的设备提供唯一的地址,但几年后将不可用。 因此,已经引入了其高级版本IPV6,您可以在IPV6教程中阅读。

The IP address in IPV4 is 32 bits. It is represented in 4 blocks of 8 bits. The lower IPV4 address is represented in both binary and decimal form.

IPV4中的IP地址是32位。 它以4个8位的块表示。 较低的IPV4地址以二进制和十进制形式表示。

 Binary:    11000000.10101000.00001010.00000001
Decimal:   192.168.10.1

These blocks represent networks and hosts. The starting block represents the network and represents the subsequent hosts that how many blocks will represent the network and how many hosts will represent these are defined by classes of IP address. If you want to know more about the format and classes of the IPV4 address, you can read it in the Addressing tutorial.

这些块代表网络和主机。 起始块代表网络,并代表随后的主机,这些主机将由IP地址的类别来定义。 如果您想了解有关IPV4地址格式和类别的更多信息,可以在《寻址》教程中阅读它。

IPV4标头 (IPV4 Header )

Internet Protocol (IP) works on layer 3 (Network Layer). They break the segments (when using TCP as protocol) or datagram (when using UDP as protocol) sent through layer layer 4 (Transport Layer) in packets. After breaking in packets, IP header is attached with these packets. This provides the necessary information receiver side related to the header packet. This information is represented by different fields in the IP header.

Internet协议(IP)在第3层(网络层)上工作。 它们破坏通过数据包的第4层(传输层)发送的段(使用TCP作为协议时)或数据报(使用UDP作为协议时)。 破坏数据包后,这些数据包将附加IP标头。 这提供了与报头分组有关的必要的信息接收方。 此信息由IP标头中的不同字段表示。

The lower IP header is represented by a diagram. After this all the fields have been explained in detail:

下层IP标头由图表表示。 之后,将详细解释所有字段:

IPv4标头图 (IPv4 Header Diagram)

IPv4-Header-Diagram
  1. Version Number:

    版本号:

    The version number of Internet Protocol is used to define the version number field. Here the IPV4 header is being spoken, so the version will also be 4th.

    Internet协议的版本号用于定义版本号字段。 这里说的是IPV4标头,因此版本也是4号。

  2. Header Length:

    标头长度:

    The length of the IP header is defined by this field. The length of the IPV4 header is represented by 32 bit words (with options). If no option is defined in the header then this filed has value of 5 set.

    IP头的长度由该字段定义。 IPV4标头的长度由32位字(带选项)表示。 如果标题中未定义任何选项,则该字段的值设置为5。

  3. Types of Service:

    服务类型:

    This field defines the way by which the router should queue the packets when the packets are waiting to be forwarded. If the priority of a packet is high then this field's value is 1. This packet has 0 value for regular packets.

    此字段定义当数据包等待转发时路由器应将数据包排队的方式。 如果数据包的优先级高,则此字段的值为1。对于常规数据包,此数据包的值为0。

  4. Total Length:

    总长度:

    This field shows the total length of the IP data-gram. Define the header length defines the length of the field header and defines the total length of data-gram, including field data and header. This is a 16 bit field.

    该字段显示IP数据报的总长度。 定义标题长度定义字段标题的长度,并定义数据报的总长度,包括字段数据和标题。 这是一个16位字段。

  5. Identification:

    身份证明:

    This field is the identification of a segment. This is a 16 bit number, which together with the source address uniquely identifies a segment.

    该字段是段的标识。 这是一个16位数字,与源地址一起唯一标识一个段。

  6. Flags:

    标志:

    This field shows whether the router can fragment any segment. This field has 3 bits. The first bit is reserved. If the second bit is set in this field then it means do not fragment and if the field is set to a third bit then it means the segment is fragmented.

    此字段显示路由器是否可以对任何网段进行分段。 该字段具有3位。 第一位保留。 如果在该字段中设置了第二位,则表示不分段;如果该字段设置为第三位,则意味着段已分段。

  7. Fragment Offset:

    片段偏移:

    If the packet is fragmented, then this field shows the starting 8 packs of the original packet. This field is of 13 bits.

    如果数据包是分段的,则此字段显示原始数据包的前8包。 该字段是13位。

  8. Time to Live:

    生存时间:

    This field sets a limit. Let the value of this field be 15. If the packet does not reach the destination even after passing from 15 routers, then that packet is discarded. This is an important field from the perspective of authenthenticity. The size of this field is 8 bits.

    此字段设置限制。 将该字段的值设为15。如果即使从15个路由器经过后数据包仍未到达目的地,则该数据包将被丢弃。 从真实性的角度来看,这是一个重要的领域。 该字段的大小为8位。

  9. Protocol:

    协议:

    This field contains the name of the protocol that passed the packet network layer because for de-multiplexing on the receiver side, it should know which protocol to pass the data.

    该字段包含通过分组网络层的协议的名称,因为为了在接收方进行多路分解,它应该知道要通过哪个协议来传输数据。

  10. Header Checksum:

    标头校验和:

    This field is used to check errors. When the packet is sent from source then this field has a value that is calculated by the algorithm through the header. When this packet reaches the receiver side, then the value is calculated by the same algorithm back to the head if the value matches the source side then it is believed that the packet error is free. This field is of 8 bits.

    此字段用于检查错误。 从源发送数据包时,此字段具有一个值,该值由算法通过标头计算。 当该分组到达接收器侧时,则如果该值与源侧匹配,则通过相同的算法将该值返回头部,则认为该分组错误是免费的。 该字段是8位。

  11. Source IP Address:

    源IP地址:

    This represents the IP address of the field source. The size of this field is 32 bits.

    这表示字段源的IP地址。 该字段的大小为32位。

  12. Destination IP Address:

    目的IP地址:

    The destination address is represented by this field. The size of this field is 32 bits.

    目的地址由该字段表示。 该字段的大小为32位。

  13. Options:

    选项:

    This field represents some options that some packets can use. Although this field is not used, whenever it is used, the header length exceeds 32 bits.

    该字段表示某些数据包可以使用的某些选项。 尽管不使用此字段,但无论何时使用,标题头长度都超过32位。

  14. Data:

    数据:

    This field contains the main data that is passed by the transport layer protocols to the IP.

    该字段包含传输层协议传递给IP的主要数据。

IPV4地址类型 (IPV4 Address Types )

Whenever IPV4 packets are sent or received, they are sent / received by one of the three types given address. Let's us learn about them in detail.

每当发送或接收IPV4数据包时,都会通过三种给定地址类型之一发送/接收IPV4数据包。 让我们详细了解它们。

  • Unicast

    单播

    A unicast address represents a specific host. This type of address represents the specific destination host in the IPV4 packet. This type of address is used for one-to-one communication. For example a host of LAN A will send a packet to a host of LAN B, then it will be called unicast addressing.

    单播地址表示特定的主机。 这种类型的地址代表IPV4数据包中的特定目标主机。 此类地址用于一对一通信。 例如,LAN A的主机将向LAN B的主机发送一个数据包,然后将其称为单播寻址。

  • Multicast

    多播

    Multicast addresses are used to send a packet to more than one host. These are used for one-to-many communication. For example, a host can send a packet to an IP address group in another network. These packets are only received by those hosts that are in the multicast group.

    组播地址用于将数据包发送到多个主机。 这些用于一对多通信。 例如,主机可以将数据包发送到另一个网络中的IP地址组。 这些数据包仅由多播组中的那些主机接收。

  • Broadcast

    广播

    Broadcast addresses are used by IPV4 to spread the packet of a single host across the network. This is a one-to-all communication. For example, a host can send a packet to the other available hosts in the LAN.

    IPV4使用广播地址在网络上传播单个主机的数据包。 这是一对一的通信。 例如,主机可以将数据包发送到LAN中的其他可用主机。

翻译自: https://www.includehelp.com/computer-networks/ipv4-addressing.aspx

ipv6寻址

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/543915.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

最长递增子序列 子串_最长递增子序列

最长递增子序列 子串Description: 描述: This is one of the most popular dynamic programming problems often used as building block to solve other problems. 这是最流行的动态编程问题之一,通常用作解决其他问题的基础。 Problem statement: 问…

WPF自定义控件与样式(5)-Calendar/DatePicker日期控件自定义样式及扩展

原文:WPF自定义控件与样式(5)-Calendar/DatePicker日期控件自定义样式及扩展一.前言 申明:WPF自定义控件与样式是一个系列文章,前后是有些关联的,但大多是按照由简到繁的顺序逐步发布的等,若有不明白的地方可以参考本…

bba70_BBA的完整形式是什么?

bba70BBA:工商管理学士 (BBA: Bachelor of Business Administration) BBA is an abbreviation of Bachelor of Business Administration also spelled as B.B.A. In the field of Business Administration, it is an undergraduate degree program. This is a degre…

Qt和纹理

2019独角兽企业重金招聘Python工程师标准>>> test 转载于:https://my.oschina.net/assange/blog/537631

计算机图形学图形旋转_计算机图形学翻译

计算机图形学图形旋转计算机图形学| 翻译 (Computer Graphics | Translations) Transformation techniques mean to modify the current shape or object in a particular manner. Changing of an object after creation, in terms of position or even size is known as trans…

AP 1532E register   Cisco 2504 AP注册WLC

客户的环境是:WLC是 2504 的AP的型号是 1532E的首先要是版本匹配,那么我们就要查一个兼容性列表,请看附件同时,我们要把WLC的版本升级到AIR-CT2500-K9-8-1-111-0.aes 这个版本;同时由于瘦AP 1532E的版本是 Cisco IOS S…

C#中IDisposable 回收非托管资源

C#中IDisposable 更多2014/9/7 来源:C#学习浏览量:4185学习标签: IDisposable本文导读:C#中IDisposable接口的主要用途是释放非托管资源。当不再使用托管对象时,垃圾回收器会自动释放分配给该对象的内存。但无法预测进…

css导航栏_使用CSS的导航栏

css导航栏CSS | 导航栏 (CSS | Navigation Bar) Developing websites is great but developing a user-friendly website is even greater. So how does one design a user-friendly website? What tools to use? Well, there are many tools to mention which are quite hel…

Java代理系列-静态代理

2019独角兽企业重金招聘Python工程师标准>>> 代理模式可以做很多事,像hibernate,spring都使用了代理模式。 spring的aop就是用代理做的。 本系列分为4章,静态代理,动态代理热身,动态代理,cglib代…

ajax的模式_AJAX的完整形式是什么?

ajax的模式AJAX:异步JavaScript和XML (AJAX: Asynchronous JavaScript and XML) AJAX is an abbreviation of Asynchronous JavaScript and XML. It is an organized collection of technologies and not of a single technology. Informing a collection of web De…

JAVA Opencv在图片上添加中文

问题描述: 将图片进行均值、中值、高斯滤波,高斯边缘检测,并在图片上添加中文文字。 一、算法思想 首先经过opencv的一系列操作,例如高斯模糊、均值模糊等操作后、用Imgcodecs.imwrite方法将图片写出到指定的位置。再利用java…

双向tvs和单向tvs_TVS的完整形式是什么?

双向tvs和单向tvsTVS:Thirukkurungudi Vengaram Sundram (TVS: Thirukkurungudi Vengaram Sundram) TVS is an abbreviation of Thirukkurungudi Vengaram Sundram. It is a multinational motorcycle business corporation, which is one of the largest manufactu…

引用头文件报错 .pch引用不了其他的.h文件

2019独角兽企业重金招聘Python工程师标准>>> 一、编绎显示Unknown type name “CGFloat” 错误解决方法 将Compile Sources As 改为 Objective-C 二、如果是extern const引起的。直接加头文件 #import <UIKit/UIKit.h> 最后在 .h文件 #import <UIKit/UIK…

ibm mq的交互命令模式_IBM的完整形式是什么?

ibm mq的交互命令模式IBM&#xff1a;国际商业机器 (IBM: International Business Machines) IBM is an abbreviation of International Business Machines. It is an I.T based multinational and consulting corporation which is also an American trusted brand in the IT …

r软件说明lib文件未指明_软件说明文件

r软件说明lib文件未指明The software primarily consists of Computer Programs and the associated documentation. We all know that the computer program is the baseline of the entire software, but the documentation part is also as important as the programming pa…

dfa与ndfa_DFA和NDFA之间的区别| 目录

dfa与ndfaDFA stands for Deterministic Finite Automata and NDFA stands for Non-Deterministic Finite Automata. DFA代表确定性有限自动机&#xff0c;而NDFA代表非确定性有限自动机。 Read more: Deterministic Finite Automata (DFA) 阅读更多&#xff1a; 确定性有限自…

css圆角三角形3个圆角_CSS中的圆角

css圆角三角形3个圆角CSS | 圆角 (CSS | Rounded Corners) border-radius property is commonly used to convert box elements into circles. We can convert box elements into the circle element by setting the border-radius to half of the length of a square element.…

iti axi dsp_ITI的完整形式是什么?

iti axi dspITI&#xff1a;工业培训学院 (ITI: Industrial Training Institute) ITI is an abbreviation of the Industrial Training Institute. It offers training in engineering and non-engineering technical fields. It is a post-secondary school in India which is…

appweb ejs_具有快速路线的EJS

appweb ejsHI! Welcome to NODE AND EJS TEMPLATE ENGINE SERIES. Today, we will see how we can work with EJS and routes? 嗨&#xff01; 欢迎使用NODE和EJS模板引擎系列 。 今天&#xff0c;我们将看到如何使用EJS和路由&#xff1f; A route is like a sub domain wit…

ups一直响是什么原因_UPS的完整形式是什么?

ups一直响是什么原因UPS&#xff1a;不间断电源 (UPS: Uninterruptible Power Supply) UPS is an abbreviation of Uninterruptible Power Supply. It operates with the support of a battery which is used to supply power in the lack of most important source or when th…