当前位置:网站首页>Five types of questions about network planning
Five types of questions about network planning
2022-06-25 10:37:00 【Yzhenfeng7】
Five types of questions
Suppose a host IP The address is 192.168.5.121, The subnet mask is 255.255.255.248, What is the network number of the host ?
Explain : Subnet mask : 11111111 11111111 11111111 11111000
host IP Address : 11000000 10101000 00000101 01111001
Phase sum operation : 192.168.5.(01111000)=120
The final network number is 192.168.5.120
Of a computer IP The address is 208.37.62.23, If the address mask of the network is 255.255.255.240, Then the network
Up to ( ) Subnet , Each subnet has a maximum of ( ) Console host
Explain : Address mask ( Subnet mask ) The first three 255 All binary numbers are 1,240 The binary number of is 1111 0000
And IP Address (208.37.62. 0001 0111) Perform phase and operation to get 208.37.62.(0001 0000), The number of hosts is 2 Of 4 Power ( The host binary digits are 4 position ) Subtract all 0 And all 1 be equal to 14
Similarly, each subnet is 2 The fourth power of -2=14( Console host )
namely 16 Subnet ,14 Console host .
When A Class network address 34.0.0.0 Use 8 When binary bits are used as subnet addresses , The subnet mask is set to ?
Explain :
The first thing to know is a Class address default subnet mask 255.0.0.0 b class 255.255.0.0 c class 255.255.255.0
So the title is A Class network address , Is to tell you that its default subnet mask is 255.0.0.0
It says to use 8 Bit binary bit as subnet address , Description is to follow the last non-zero bit 8 individual 0 Set up 1,
That is to say 255.255.0.0
So the answer is 255.255.0.0.
A department applied to a C class IP Address , To divide into 6 Subnet , The mask should be ?
Explain :C class IP The default subnet mask of the address is 255.255.255.0
If you want to share 6 Subnet , There should be 2 The third power of =8 Just enough points
So the last host number should be 1110 0000 =224
Mask :255.255.255.224
If the subnet mask is 255.255.255.192(1100 0000), The following IP Which address belongs to the same subnet
Explain : Match the subnet mask to the host IP Address and get their respective network numbers , See if the two options are in the same subnet
such as 156.26.27.(71= 0100 0111) and 156.26.27.(110= 0110 1110)
The last two results of the phase and operation :156.26.27.(0100 0000) and 156.28.27.(0100 0000)
The two are the same , So on the same subnet .
边栏推荐
- Byte interview: under what scenario will syn packets be discarded?
- QT: parsing JSON
- On binary tree
- 持续交付-Jenkinsfile 语法
- Mongodb's principle, basic use, clustering and partitioned clustering
- I'm afraid of the goose factory!
- String implementation strstr()
- 我希望按照我的思路盡可能將canvas基礎講明白
- Difference between malloc and calloc
- Detailed explanation of Android interview notes handler
猜你喜欢

Flask blog practice - archiving and labeling of sidebar articles
![[paper reading | depth] role based network embedding via structural features reconstruction with degree regulated](/img/70/31a4eaec3f517089b220b35af2f3b7.png)
[paper reading | depth] role based network embedding via structural features reconstruction with degree regulated

How to make small programs on wechat? How to make small programs on wechat

【图像融合】基于形态学分析结合稀疏表征实现图像融合附matlab代码

Floating window --- create an activity floating window (can be dragged)

1-7Vmware中的快照与克隆

MCU development -- face recognition application based on esp32-cam
![[200 opencv routines] 210 Are there so many holes in drawing a straight line?](/img/1e/5b8245eb1c391649c7b2783c62c2b0.png)
[200 opencv routines] 210 Are there so many holes in drawing a straight line?

ShardingSphere-Proxy 4.1 分庫分錶

Flask博客实战 - 实现侧边栏最新文章及搜索
随机推荐
依赖属性、依赖附加属性以及类型转换
持续交付-Jenkinsfile 语法
单片机进阶---PCB开发之照葫芦画瓢(二)
Bitmap is converted into drawable and displayed on the screen
The title of my composition is - "my district head father"
[paper reading | deep reading] line: large scale information network embedding
String longest common prefix
String implementation strstr()
Summary of considerations for native applet development
宏的运用接续符\
Modbus protocol and serialport port read / write
CSRF攻击
WPF binding expression and binding data source (I)
【论文阅读|深读】LINE: Large-scale Information Network Embedding
P2P network core technology: Gossip protocol
Mongodb's principle, basic use, clustering and partitioned clustering
I'm afraid of the goose factory!
一个五年北漂的技术er,根据这些年的真实经历,给应届生的一些建议
How to apply for a widget on wechat how to get a widget on wechat
DigiCert和GlobalSign单域名OV SSL证书对比评测