当前位置:网站首页>中职网络子网划分例题解析
中职网络子网划分例题解析
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位
边栏推荐
- JS function algorithm interview case
- "Pthread.h" not found problem encountered in compiling GCC
- Pan details of deep learning
- Skip table: principle introduction, advantages and disadvantages of skiplist
- 大学校园IP网络广播-厂家基于校园局域网的大学校园IP广播方案设计指南
- "Hands on deep learning" pytorch edition Chapter II exercise
- Altaro o365 total backup subscription plan
- Deploy crawl detection network using tensorrt (I)
- Gan network thought
- Bluebridge cup real topic 2020 palindrome date simulation construction provincial competition
猜你喜欢
"250000 a year is just the price of cabbage" has become a thing of the past. The annual salary of AI posts has decreased by 8.9%, and the latest salary report has been released
Yolov5 model construction source code details | CSDN creation punch in
How to connect the network: Chapter 2 (Part 1): a life cycle of TCP connection | CSDN creation punch in
Why should we rewrite hashcode when we rewrite the equals method?
[set theory] relationship properties (common relationship properties | relationship properties examples | relationship operation properties)
leetcode435. Non overlapping interval
Webrtc M96 release notes (SDP abolishes Plan B and supports opus red redundant coding)
Botu uses peek and poke for IO mapping
酒店公共广播背景音乐-基于互联网+的酒店IP网络广播系统设计
6.23 warehouse operation on Thursday
随机推荐
联想R7000显卡的拆卸与安装
Technical analysis of qianyuantong multi card aggregation router
Go practice -- gorilla / websocket used by gorilla web Toolkit
leetcode406. Rebuild the queue based on height
How to set up altaro offsite server for replication
配置xml文件的dtd
乾元通多卡聚合路由器的技术解析
Learn libcef together -- set cookies for your browser
Common methods of JS array
Gan network thought
请求数据库报错:“could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGram
Detailed explanation of yolov5 training own data set
Azure file synchronization of altaro: the end of traditional file servers?
Maximum continuous sub segment sum (dynamic programming, recursive, recursive)
Deep embedding and alignment of Google | protein sequences
BIO、NIO、AIO区别
[basic grammar] C language uses for loop to print Pentagram
Altaro set grandfather parent child (GFS) archiving
Audio Focus Series: write a demo to understand audio focus and audiomananger
Gbase8s unique index and non unique index