Alibabacloud.com offers a wide variety of articles about how to calculate number of hosts in subnet, easily find your how to calculate number of hosts in subnet information here online.
IP address and subnet mask used for computingAfter knowing the IP address and subnet mask, you can calculate:1. Network Address2. broadcast address3. Address range4. Several hosts on this websiteExample 1: the IP address in the following example is 192 · 168 · 100 · 5. The subnet
first n digits of the host address (that is, the host number) of the obtained subnet mask to 1, so that the subnet mask of the IP address is obtained.
4For example, you need to divide the Class B IP address 167.194.0.0 into 28 subnets:1) (28) 10 = (11100) 2;2) If the binary number is 5, n = 5;3) this IP address is
: Because the subnet mask determines the number of network bits and host bits, of course, to see the subnet mask, into the binary system namely: 11111111.11111111.11111000.00000000,There are 21 consecutive 1 that is the network bit 21,host bit =32-21=11Then the number of hosts
.
Method Two: Using the number of hosts to calculate.
1. First, the number of hosts is converted from decimal numbers to binary numbers;
2. Next, if the number of hosts is less than or
255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.1. Based on the subnet mask, you can know the number of network numbers and the number of host numbers!Convert bytes into binary: 11111111 11111111 11111111 1110000
hexadecimal)The NETMASKFFFFFFC0 = ff.ff.ff.c0=255.255.255.192 binary is 11111111.11111111.11111111.11000000There is also a commonly used method to denote netmask is a two-digit number, such as "26", the "26". is calculated by, for example, the following:11111111.11111111.11111111.11000000=> (1+1+1+1+1+1+1+1) + (1+1+1+1+1+1+1+1) + (1+1+1+1+1+1+1+1) + (1+1+0+0+0+0+0+0 ) =8+8+8+2=26For a given network IP address (171.197.26.137) and netmask (255.255.255
NETMASKFFFFFFC0 = ff.ff.ff.c0=255.255.255.192 binary is 11111111.11111111.11111111.11000000Another common method used to denote netmask is a two-bit number, such as "26", which is calculated as follows:11111111.11111111.11111111.11000000=> (1+1+1+1+1+1+1+1) + (1+1+1+1+1+1+1+1) + (1+1+1+1+1+1+1+1) + (1+1+0+0+0+0+0+0 ) =8+8+8+2=26For a given network IP address (171.197.26.137) and netmask (255.255.255.192), a quick way to
Question:
If a company has 100 computers and a class C registered IP address segment: 218.102.142.0, its Intranet (LAN) needs to be further divided into two subnets, each with 40 computers and 60 computers,
Requirements:
(1) Specify the subnet mask;
(2) assume that the IP addresses of one or two computers in the Intranet are 218.102.142.7 and 218.102.142.219. Try to calculate the
hosts in each subnet. 1) convert the number of subnets to a binary value. 2) obtain the number of digits of the binary value, which is N. 3) obtain the class subnet mask of the IP address, obtain the subnet mask of the IP address
private addressClass A 10.0.0.0--10.255.255.255Class B 172.16.0.0--172.31.255.255Class C 192.168.0.0--192.168.255.255Exercises:IP address =192.168.127.101, subnet mask 255.255.255.192, compute network address, host number, broadcast address, and host maximum numberIP address converted to binary after 11000000.10101000.011111111.01100101The subnet mask is convert
I don't need to analyze it professionally. I use dummies to answer questions.
This is a simulated question. Use this question as an example.
URL type: Of course, it is Class B.
Convert the IP address and subnet mask to binary, and then perform operations on them.
145.189.24.3 10010001 10111101 00011000 00000011
201710000224.0 11111111 11111111 11100000 00000000
Network Address: Calculate the IP addr
. 11111111
To convert the IP address to 0.0.0.255 in decimal format, we remove the 0 value on the left and leave only the number on the right. Therefore, the host number of this IP address is 255. The host number indicates that the IP address is added to the network number plus 255.
4.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.