当前位置:网站首页>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
边栏推荐
- Transformation function map and flatmap in kotlin
- 23 Chengdu instrument customization undertaking_ Discussion on automatic wiring method of PCB in Protel DXP
- 使用AGC重签名服务前后渠道号信息异常分析
- Arm GIC (IV) GIC V3 register class analysis notes.
- 如何在快应用中实现滑动操作组件
- AVL balanced binary search tree
- National SMS center number inquiry
- National standard gb28181 protocol video platform easygbs adds streaming timeout configuration
- Data type - integer (C language)
- All about PDF crack, a complete solution to meet all your PDF needs
猜你喜欢
Rsync remote synchronization
Golang compilation constraint / conditional compilation (/ / +build < tags>)
Input of mathematical formula of obsidan
Bisenet features
Splunk查询csv lookup table数据动态查询
详解华为应用市场2022年逐步减少32位包体上架应用和策略
Data type - integer (C language)
Using helm to install rainbow in various kubernetes
Virtual address space
Compilation and linking of programs
随机推荐
[go ~ 0 to 1] obtain timestamp, time comparison, time format conversion, sleep and timer on the seventh day
Analyzing the influence of robot science and technology development concept on Social Research
Golang 编译约束/条件编译 ( // +build <tags> )
The field value in Splunk subquery fuzzy matching CSV is*
[Chongqing Guangdong education] audio visual language reference materials of Xinyang Normal University
为什么要选择云原生数据库
National SMS center number inquiry
快速集成认证服务-HarmonyOS平台
Data type - floating point (C language)
Virtual address space
Splunk查询csv lookup table数据动态查询
单元测试报告成功率低
MES系統,是企業生產的必要選擇
Automatic upgrading of database structure in rainbow
iptables 之 state模块(ftp服务练习)
Famine cloud service management script
[paper reading] icml2020: can autonomous vehicles identify, recover from, and adapt to distribution shifts?
Several ways of lambda used in functions in kotlin (higher-order functions)
[IELTS speaking] Anna's oral learning records part2
Componentspace2022, assertions, protocols, bindings, and configuration files