In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Subnetting is the subnet mask of class A, B and C by default.
The subnet mask is 32-bit binary
The network portion of the corresponding IP address is represented by 1.
The host portion of the corresponding IP address is represented by 0.
IP address and subnet mask do "logical and" (multiply) operation to get network address
{0 and any number are equal to 0}
{1 and any number are equal to any number itself}
This is the way to calculate the network segment.
Understanding of subnetting
Delimit the host bit to the network bit
Homogenized molecular network (divided into 2, 4, 8, 16, etc.)
Formula:
(1) the number of subnets is 2n (n is borrowed)
(2) available IP (number of hosts) per subnet: 2m-2
M = 32-Network bit length (m host bit)
Subnetting again in the subnet
Summary address
For example, 2Vera 192.168.1.0 Compact 24 (1.0 Murray 1.255)-192.168.1.0 Compact 26
Nasty 26-2402
The number of subnets is 22 to 4.
MFG 32-2606
IP:26-2'64-2'62 is available for each subnet.
Broadcast address coefficient: 001111111163
The first network segment:
Network address: 192.168.1.0
Broadcast address: 192.168.1.63
Range: 1.0-1.63
Available ip:1.1-1.62,
Subnet mask = / 26" 11111111.11111111.11111111.11000000
one hundred and ninety two
The second network segment:
Network address: 192.168.1.64
Broadcast address: 192.168.1.127
Range: 1.64-1.127
Available ip:1.65-1.126
Subnet mask = / 26" 11111111.11111111.11111111.11000000
one hundred and ninety two
The third network segment:
Network address: 192.168.1.128
Broadcast address: 192.168.1.191
Range: 1.128-1.191
Available ip:1.129-1.190
Subnet mask = / 26" 11111111.11111111.11111111.11000000192
The fourth network segment:
Network address: 192.168.1.192
Broadcast address: 192.168.1.255
Range: 1.192-1.255
Available ip:1.193-1.254
Subnet mask = / 26" 11111111.11111111.11111111.11000000
one hundred and ninety two
4. Uneven molecular network (calculated from large to small)
For example, the required number of hosts in the network is 100, 50, 25 and 12 respectively.
Formula:
Number of 2m-2 ≥ hosts
Give an IP address, calculate the network address, broadcast address, and available IP address of the IP
192.168.1.200 Universe 27; 10.1.234.67 Universe 20
Such as: 192.168.1.200 Universe 27
192.168.1.20000 11000000.10101000.00000001.110 01000
/ 27011111111.11111111.11111111.11111111.111 00000
Network address: 11000000.10101000.00000001.110 00000
one hundred and ninety two
Broadcast address: 11000000.10101000.00000001.110 11111223
Available ip: 1.193-1.222
Subnet mask: / 27" 255.255.255.11100000" 255.255.255.224
For example, 10.1.234.67 Compact 20
10.1.234.6700001010.00000001.1110 1010.01000011
/ 20,11111111.11111111.111111 0000.00000000
Network address: 00001010.00000001.1110 0000.00000000
0 broadcast address: 00001010.000001.1110 1111.11111111255
Available ip: 10.1.224.1Murray 10.1.239.254
Subnet mask: / 20 = 255.255.240.0
Let me give you a suggestion, just for reference.
May we make progress together on the road of learning!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.