当前位置:网站首页>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
边栏推荐
- 2-3查找树
- Le système mes est un choix nécessaire pour la production de l'entreprise
- Give full play to the wide practicality of maker education space
- Transformation function map and flatmap in kotlin
- [hard core science popularization] working principle of dynamic loop monitoring system
- POJ - 3784 running medium
- IELTS review progress and method use [daily revision]
- [machine learning] watermelon book data set_ data sharing
- Download and install orcale database11.2.0.4
- rsync远程同步
猜你喜欢

Golang 编译约束/条件编译 ( // +build <tags> )

详解华为应用市场2022年逐步减少32位包体上架应用和策略

Go语言中,函数是一种类型

Practice of combining rook CEPH and rainbow, a cloud native storage solution

Arm GIC (IV) GIC V3 register class analysis notes.

Input and output of floating point data (C language)

【无标题】

The field value in Splunk subquery fuzzy matching CSV is*

联想混合云Lenovo xCloud:4大产品线+IT服务门户

調用華為遊戲多媒體服務的創建引擎接口返回錯誤碼1002,錯誤信息:the params is error
随机推荐
[IELTS speaking] Anna's oral learning records Part3
You should use Google related products with caution
字符串操作
如何理解分布式架构和微服务架构呢
POJ - 3616 Milking Time(DP+LIS)
Infix keyword infix expression and the use of generic extension function in kotlin
uniapp 微信小程序监测网络
The field value in Splunk subquery fuzzy matching CSV is*
Give full play to the wide practicality of maker education space
Ebpf cilium practice (1) - team based network isolation
IELTS review progress and method use [daily revision]
快速集成认证服务-HarmonyOS平台
如何在快应用中实现滑动操作组件
Opencv learning note 5 - gradient calculation / edge detection
National standard gb28181 protocol video platform easygbs adds streaming timeout configuration
Splunk子查询模糊匹配csv中字段值为*
Thirteen forms of lambda in kotlin
How to realize the high temperature alarm of the machine room in the moving ring monitoring system
Rainbow combines neuvector to practice container safety management
POJ - 3784 Running Median(对顶堆)