当前位置:网站首页>根据IP地址和子网掩码求主机所在的网络地址和广播地址
根据IP地址和子网掩码求主机所在的网络地址和广播地址
2022-07-28 05:25:00 【Alice_wm】
例如:有ip202.112.14.137,掩码255.255.255.224 网络地址?广播地址?
255.255.255.224转成二进制数
11111111 11111111 11111111 11100000
网络号位数 主机号位数
将IP地址转成二进制数
11001011 01110000 00001110 10001001
将IP地址的主机号位变成0,有
11001011 01110000 00001110 10000000
转成十进制202.112.14.128,即为网络地址
将IP地址的主机号位变成1,有
11001011 01110000 00001110 10011111
转成十进制202.112.14.159,即为广播地址
主机号有5位,则25 -2=30个主机号位,减去2是因为要排除网络和广播地址。
边栏推荐
- Perl introductory learning (VIII) subroutine
- Beta分布(概率的概率)
- How can fluke dsx2-5000 and dsx2-8000 modules find the calibration expiration date?
- How to use the bit error meter?
- Matlab 信号处理
- ICC2(四)Routing and Postroute Optimization
- 权重衰减 weight decay
- ConNeXt
- Vs code basic configuration and beautification
- WebService error maximum message size quota for incoming messages (65536) has been exceeded
猜你喜欢

Bert bidirectional encoder based on transformer

ICC2(三)Clock Tree Synthesis

Low power design isolation cell

VAN(DWConv+DWDilationConv+PWConv)

ConNeXt

Machine learning note 5 - logistic regression

Beginners choose sensors

Fluke dtx-1800 and its accessories dtx-cha002 channel adapter channel replacement RJ45 socket notes

权重衰减 weight decay

qt中Qthread线程的使用以及安全关闭
随机推荐
The short jumper dsx-8000 test is normal, but the dsx-5000 test has no length display?
set_multicycle_path
当mysql表从压缩表变成普通表会发生什么
Selection of PLC
qt实现将相关信息输出到日志文件
set_clock_groups
Convert data in grilview into datatable
TVs tube parameters and selection
USB network native driver for esxi updated to support esxi7.0.1
clock tree分析实例
What are the common English questions in the postgraduate interview?
WebService error maximum message size quota for incoming messages (65536) has been exceeded
多个ics日历合并成单个ics日历
简述EMD分解、希尔伯特变换、谱方法
Word自动目录字体修改和行间距的问题
权重衰减 weight decay
Beta distribution (probability of probability)
CLIP Learning Transferable Visual Models From Natural Language Supervision
Low power design -power switch
Ship detection in SAR image based on yolov5