当前位置:网站首页>IP地址的类别
IP地址的类别
2022-07-07 05:48:00 【Word_Smith_】
我们知道越来越多的IP被使用,不单单是家里的一台电脑,还包括电视机,智能家居等都被分配了属于他们的IP,也就是意味着,越来越多的IP被使用,不过使用面最广的是早就已经非常成熟的IPV4地址。正是由于IP地址越来越被广泛使用,为了防止IP不够用,现在也有了IPV6。
IPV4与IPV6的区别
IPV4由32位二进制构成,表示方式为点分十进制;
IPV6由128位二进制构成,表示方式为是冒分十进制。

IP地址组成部分
IP地址由网络位和主机位组成,网络位相同,则表示在一个广播域,在一个广播域中,使用主机位来区分不同的主机。子网掩码来区分出网络位和主机位,掩码由连续的0和1组成,其中1代表网络位,0代表主机位。
五类IP地址
IP地址被划分为A、B、C、D、E五类,具体划分规则为如下:
A:0XXX XXXX (1-126)
B:10XX XXXX (128-191)
C:110X XXXX (192-223)
D:1110 XXXX (224-239)
E:1111 XXXX (240-255)
其中:
A、B、C类为单播地址,既可以作为源IP地址,也可以作为目标IP地址
A:255.0.0.0 大型网
B:255.255.0.0 中型网
C:255.255.255.0 小型网
不过现在我们一般使用的都是C类IP地址。现在没有具体分某一类IP,我们现在直接把我们使用的IP叫做无类别IP。
D类为组播地址,只能作为目标IP地址使用,不能作为源IP使用
E类为保留地址
特殊IP地址
1、环回地址:127.0.0.1 - 127.255.255.254
2、受限广播地址:255.255.255.255 ,其只能作为目标IP使用
3、主机位全1的地址:192.168.1.255/24,是直接广播地址,其只能作为目标IP地址使用
4、主机位全0 的地址:192.168.1.0/24 ,网段(网络地址,网络号)
5、0.0.0.0 表示:可以表示没有IP地址也可也表示所有IP地址
6、本地链路地址/自动私有地址:169.254.0.0/16
边栏推荐
- Opencv learning note 4 - expansion / corrosion / open operation / close operation
- Teach you how to select PCB board by hand (II)
- String operation
- 【无标题】
- 为什么要选择云原生数据库
- Kotlin combines flatmap for filtering and zip merge operators
- grpc、oauth2、openssl、双向认证、单向认证等专栏文章目录
- Fluentd is easy to use. Combined with the rainbow plug-in market, log collection is faster
- AVL balanced binary search tree
- Merge sort and non comparison sort
猜你喜欢

如何在HarmonyOS应用中集成App Linking服务

SSM integration

单元测试报告成功率低

What is the method of manual wiring in PCB design in 22protel DXP_ Chengdu electromechanical Development Undertaking

Appeler l'interface du moteur de création du service multimédia de jeu Huawei renvoie le Code d'erreur 1002, le message d'erreur: les paramètres sont l'erreur

PLSQL的安装和配置

Data type - integer (C language)

2-3 lookup tree
![[hard core science popularization] working principle of dynamic loop monitoring system](/img/d4/0c0281aec5a4f444528e8cfd401598.jpg)
[hard core science popularization] working principle of dynamic loop monitoring system

Opencv learning note 5 - gradient calculation / edge detection
随机推荐
Detailed explanation of apply, also, let, run functions and principle analysis of internal source code in kotlin
21 general principles of wiring in circuit board design_ Provided by Chengdu circuit board design
Rainbow 5.7.1 supports docking with multiple public clouds and clusters for abnormal alarms
How to understand distributed architecture and micro service architecture
A single game with goods increased by 100000, and the rural anchor sold men's clothes on top of the list?
JEditableTable的使用技巧
PVTV2--Pyramid Vision TransformerV2学习笔记
Openvscode cloud ide joins rainbow integrated development system
Arm GIC (IV) GIC V3 register class analysis notes.
Open3d ISS key points
Rainbow version 5.6 was released, adding a variety of installation methods and optimizing the topology operation experience
The single value view in Splunk uses to replace numeric values with text
Implementation method of data platform landing
Practice of combining rook CEPH and rainbow, a cloud native storage solution
Basic data types and string types are converted to each other
GFS distributed file system
Grpc, oauth2, OpenSSL, two-way authentication, one-way authentication and other column directories
Rsync remote synchronization
Splunk子查询模糊匹配csv中字段值为*
Lua programming learning notes