IPv4 addresses consist of 32-bit binary numbers. IPv4 is the 4th version of the Internet communication protocol. IPv4 uses 4 bytes. Each section contains 8 address bits. A total of 32 binary digits represent the network address. According to the number of binary digits of ipv4, it can be seen that ipv4 can represent a total of networks. The address is 2 raised to the 32nd power, which is equal to 4294967296, which is approximately 4.3 billion.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
An IPv4 address is composed of 32-bit binary numbers, or represented by four groups of 8-bit binary numbers.
What is ipv4?
Internet Protocol version 4 (English: Internet Protocol version 4, IPv4), also known as the fourth version of the Internet Communication Protocol, is the fourth revised version in the development process of the Internet Protocol, and is also The first widely deployed version of this protocol. IPv4 is the core of the Internet and the most widely used version of the Internet Protocol. Its successor version is IPv6. Until 2011, when the IANA IPv4 addresses were completely exhausted, IPv6 was still in the early stages of deployment.
IPv4 is a connectionless protocol that operates on the link layer (such as Ethernet) using packet switching. This protocol delivers packets on a best-effort basis, meaning that it does not guarantee that any packet will reach its destination or that all packets will arrive in the correct order without duplication. These aspects are handled by upper-layer transport protocols (such as Transmission Control Protocol).
ipv4 works in the network layer of the OSI seven-layer network model. The IP address is a logical address provided by each network or each host on the Internet to shield the difference in physical addresses.
How many bits does ipv4 have?
ipv4 uses 4 bytes, a total of 32 binary numbers to represent the network address. According to the binary digits of ipv4, it can be seen that the total network address that ipv4 can represent is 2 to the 32nd power, which is equal to 4,294,967,296, which is approximately 4.3 billion.
However, there are not so many routing addresses available on the Internet because some addresses are reserved for special purposes.
ipv4 format
ipv4 format is divided into 32 bits, divided into 4 segments, each segment 8 binary digits separated by decimal points.
Classification of ipv4
In the 32-bit binary number of ipv4, the high bit is defined as the network class, and the remaining bits represent the host identification code . According to this definition, IPv4 is divided into five types of addresses, namely A, B, C, D and E.
Class A:
In a Class A network, the first bit is fixed to binary "0", and 7 bits are used to represent the network Category, the remaining 24 bits represent the host, and the range is 1.0.0.1~126.255.255.254 (0 and 127 are not available).
There are a total of 126 Class A addresses, and since the host number cannot be all 0s and all 1s, each Class A address can be connected to 2 raised to the 24th power minus 2, for a total of 16,777,216-2=16,777,214 units host.
Class B:
In a Class B network, the first two digits are fixed to binary "10", the 14 digits represent the network number, and the last 16 digits represent the host identification number. The representation range is 128.0.0.1~191.255.255.254 (the Class B network address 128.0.0.0 is not assigned).
Then there are a total of 2 to the power of 14 minus 1 for Class B networks, a total of 16383. Each Class B address can accommodate 2 to the 16th power minus 2, for a total of 65536-2=65534.
Class C:
In a Class C network, the first two digits are fixed to binary "110", the 21 digits represent the network number, and the last 8 digits represent the host identification number. The representation range is 192.0.0.1~223.255.255.254.
Then there are a total of 2 to the 21st power of Class C networks, a total of 2,097,152. Each Class C address can accommodate 2 to the 8th power minus 2, for a total of 256-2=254.
Class D: 224~239, multicast address
Class E: 240~254, reserved for research and testing use
For more related knowledge, please visit the FAQ column!
The above is the detailed content of An ipv4 address consists of several binary digits. For more information, please follow other related articles on the PHP Chinese website!

los就是LineageOS,是一个基于Android面向智能手机以及平板电脑的开放源代码操作系统。los的前身为Cyanogenmod,通常称CM,是全球最大的安卓第三方编译团队,促进了用户的安卓版本的第三方升级,在早期曾经先于谷歌为很多手机定制了稳定版的安卓1.6,此后该团队的联合创始人及核心团队,重组了全新的LineageOS,继续为用户提供免费的第三方系统支持。

操作系统实现按名存取的关键在于解决文件名称与具体的物理地址的转换;实现逻辑文件到物理文件间的转换,即按名存取外存上的文件,按名存取实现文件的共享和保密,不同用户能在系统的控制下共享其他用户的文件。

SAP五大模块是:1、物料管理模块,主要有采购、库房与库存管理、供应商评价等管理功能;2、工厂维护模块,提供对定期维护、检查与服务管理的规划、控制和处理;3、质量管理模块,可提供质量计划、质量检测、质量控制、质量文档等功能;4、销售与分销模块,包括销售计划、询价报价、订单管理、运输发货、发票等的管理;5、生产计划模块,可实现对工厂数据、生产计划、能力计划、成本核算等的管理。

荣耀手机使用的是“Magic UI”、“EMUI”和“HarmonyOS”操作系统;荣耀的新机型采用的都是“Magic UI”系统,旧机型普遍使用的是基于安卓的EMUI系统,而部分机型支持升级为华为研发的HarmonyOS操作系统。

方法:1、在电脑桌面上,右击“计算机”,选择“属性”;2、在“系统”界面的“windows 版本”区域即可查看当前系统版本。2、使用“Win+R”快捷键,打开“运行”窗口,输入“winver”回车,在弹出的对话框中即可查看当前系统版本信息。

“funtouch os”是vivo基于安卓系统开发的智能手机操作系统;“funtouch os”是针对vivo公司中高端手机推出的一款人性化手机操作系统,该系统与2013年10月发布,以用户体验为核心,以简约、乐趣、智慧、理念为设计导向。

三星手机是安卓系统,只不过不是原生的安卓系统,而是原生安卓系统经过定制之后的系统,例如OneUI。OneUI是在2018年三星开发者大会上推出的全新基于安卓系统深度定制的用户界面,是三星和google合作进行研发的;可以同时运行在折叠屏产品上和非折叠屏产品上,通过交互的改进让两种不同形态的产品都有相近的操作体验。

Ghost的本质是对磁盘或者硬盘进行快速备份与还原;利用Ghost安装Windows系统最大的优点就是速度快而且一键安装,并且Ghost系统大多集成了大多数电脑所需要的驱动程序以及一些常用的应用软件。需要注意:1、通过网络下载到的Ghost系统,其预置的驱动程序与自己的电脑可能不兼容,会导致安装之后出现蓝屏而无法正常使用;2、Ghost系统捆绑安装的应用软件太多。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Linux new version
SublimeText3 Linux latest version

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 English version
Recommended: Win version, supports code prompts!
