当前位置:网站首页>中职网络子网划分例题解析
中职网络子网划分例题解析
2022-07-03 05:26:00 【与人点】
一、子网掩码的确定
依据题目直接给出几个子网(直接法)。给出主机数量,则需要算出主机所占位数,最后用默认子网掩码主机位数减去要求的主机位数,得出子网位数(间接法)
1.确定占IP中几位主机位作为子网标识
A.将数字转化为二进制数看几位。B.2n-1<X<2n N即为子网标识位数。
2.依IP类型,写出默认子网掩码二进制。
3.在默认二进制子网掩码之上,将主机标识几位改为1.并转换为十进制
二、子网的划分
根据给出的IP地址218.98.101.0,默认子网掩码为255.255.255.0,所以可以确定,网络地址为218.98.101,主机地址为0
划分子网重点在主机地址上,转化为二进制为00000000
1.子网标识占3位
要求划分6个子网,那么子网标识为3位,具体划分如下:
2、如果子网标识占2位
3、如果子网标识占4位
边栏推荐
- Pessimistic lock and optimistic lock of multithreading
- Redis 击穿穿透雪崩
- ROS Compilation Principle
- Redis expiration elimination mechanism
- Bluebridge cup real topic 2020 palindrome date simulation construction provincial competition
- Latest version of source insight
- study hard and make progress every day
- Simpleitk learning notes
- Configure and use Anaconda environment in pycharm
- Go practice -- use JWT (JSON web token) in golang
猜你喜欢
About debugging the assignment of pagenum and PageSize of the formal parameter pageweb < T > (i.e. page encapsulation generic) in the controller
Detailed explanation of yolov5 training own data set
leetcode406. Rebuild the queue based on height
6.23 warehouse operation on Thursday
Hotel public broadcasting background music - Design of hotel IP network broadcasting system based on Internet +
ES7 easy mistakes in index creation
Webrtc protocol introduction -- an article to understand ice, stun, NAT, turn
SimpleITK学习笔记
穀歌 | 蛋白序列的深度嵌入和比對
leetcode860. Lemonade change
随机推荐
微服务常见面试题
Go practice -- design patterns in golang's singleton
Make your own dataset
appium1.22. Appium inspector after X version needs to be installed separately
College campus IP network broadcasting - manufacturer's design guide for college campus IP broadcasting scheme based on campus LAN
Ueditor, FCKeditor, kindeditor editor vulnerability
Congratulations to musk and NADELLA on their election as academicians of the American Academy of engineering, and Zhang Hongjiang and Fang daining on their election as foreign academicians
ES7 easy mistakes in index creation
Webrtc M96 release notes (SDP abolishes Plan B and supports opus red redundant coding)
Detailed explanation of yolov5 training own data set
Burp suite plug-in based on actual combat uses tips
Installing altaro VM backup
leetcode406. Rebuild the queue based on height
3dslam with 16 line lidar and octomap
Can altaro back up Microsoft teams?
[batch dos-cmd command - summary and summary] - CMD window setting and operation command - close CMD window and exit CMD environment (exit, exit /b, goto: EOF)
Introduction to deep learning - definition Introduction (I)
Go language interface learning notes
Common methods of JS array
Go practice -- generate and read QR codes in golang (skip2 / go QRcode and boombuilder / barcode)