172.16.15.255 is the broadcast address in the network.
The specific network range is:
172.16.12.0 --- 172.16.12.255
172.16.htm --- 172.16.13.255
172.16.14.0 --- 172.16.14.255
172.16.15.0 --- 172.16.15.255
All the IP addresses here belong to 172.16.12.0/22. At this time, if we need more networks, we must continue to borrow the host bit to the network bit.
Based on the actual needs of the networ
RFC1918) and other types of shared/Special IP addresses.For example, the author blocks the following IP addresses from following their subnet masks) accessing the local machine from the Internet:· 10. 0.0.0255.0.0.0)· 172. 16.0.0385240.0.0)· 192. 168.0.0255.255.0.0)· 127. 0.0.0255.0.0.0)· 224. 0.0.0224.0.0.0)· 169. 254.0.0255.255.0.0)The above lists private
becoming more and more tense, in order to solve this problem, the IANA will retain part A, B and C IP address as the IP address space used in the LAN, and keep the IP range as shown in the schedule. Reserved IP
-192.168.131.254.............192.168.139.1-192.168.139.254192.168.140.1-192.168.140.254192.168.141.1-192.168.141.254192.168.142.1-192.168.142.254192.168.143.1-192.168.143.254.............192.168.254.1-192.168.254.254192.168.255.1-192.168.255.254
8. The total number is (255-128 + 1) * (254-1 + 1) = 128*254 = 32512
Faint !!!! @#! @ We can't afford to buy so many machines after buying all our companies! · ¥! ·
a Class B IP address consists of two bytes of network address and two bytes of host address, the maximum bit of network address must be "10", the address range from 128.0.0.0 to 191.20.255. There are 16382 available class B netwo
There are two ways to compute the subnet mask:
Method One: Use the subnet number to calculate:
1. First of all, the number of subnets from the decimal number into binary number;
2. Then, the number of digits of the binary number obtained by the statistic is set to n;
3. Finally, the subnet mask of the address category corresponding to this IP address is first obt
· 168 · 100 · 254.That is to say, the following addresses are all in one CIDR block.192 · 168 · 100 · 1, 192 · 168 · 2... 192 · 168 · 100 · 20... 192 · 168 · 100 · 111... 192 · 168 · 100 · 2545) number of hostsNumber of hosts = 2 binary number of hosts-22 is because the host does not include the network address and broadcast address. In this example, the number
hosts section, where the physical network is used to identify the different physical networks under the same IP network address, which is the subnet.Class A IP segment 0.0.0.0 to 127.255.255.255Class B IP segment 128.0.0.0 to 191.255.255.255Class C IP segment 192.0.0.0 to 2
". "$3 }''. 254 ">>$ ETHCONF
Echo "This IP address Change success! "
Else
Echo-n "This $ ETHCONF is static exist, please ensure Change Yes or NO ":
Read I
Fi
If
["$ I" = "y"-o "$ I" = "yes"]; then
Read-p "Please insert ip Address:" IPADDR
Co
class B IP address consists of a 2-byte network address and a 2-byte host address, the highest bit of the network address must be "10", and the address range is from 128.0.0.0 to 191.255.255.255. There are 16,382 available Class
2 Windows 2000/xp parameter settings:
Right-click the desktop Network Neighborhood → select "Properties" → "Local Area Connection" of the network card to select "Properties" → "general" → "Internet Protocol (TCP/IP)" To view its properties:
If the router is the default setting, then the host network parameter is set to:
ip:192.168.1.x (2-254)
Mask: 255.255.25
address, and the broadcast address-1 is the last host address.The address range is: network address + 1 to broadcast address-1In this example, the Network range is 192 · 168 · 100 · 1 to 192 · 168 · 100 · 254.That is to say, the
can be defined {214-2}Each network can have 65534 hosts {216-2}In decimal format: 128.0.0.1-191.20.254
Class C address: 110nnnnn. nnnnnnnn. nnnnnnnn. hhhhhhClass C addresses have 21-bit network numbers, so 2097152 Class C addresses can be defined {221-2}Each network can have 254 hosts {28-2}Decimal format: 192.0.0.1-223.20.254
Class D address: 1110xxxx. XXXXXXXX
the last two groups represent host numbers (each network can accommodate 2 ^ 16-2 hosts ), suitable for medium-sized networks.
③ Class C address: the first three digits are 110, and the IP address range is 192.0.0.1 ~ 255.255.255.254, the first three groups of network numbers (a total of 2 ^ 21 = 2097150 network numbers), the last group of master machine numbers
subnets
If a small data center only uses 30 hosts, it is sufficient to use 5-bit binary representation of the host number 2 ^ 5 = 32, A Class c ip address can be used to indicate 254 (host numbers are all 0 and all 1 are reserved for special use) hosts. If you only use 30 computers to allocate IP addresses, the 224
byte is the host address. The first byte starts with 110.
11000000 00000000 00000000 00000001 to 11011111 11111111 11111111 11111110
The range of class c ip addresses is from 192.0.0.01 to 223.20.255.254. Class c ip addresses are 256*256*32 = 2097152, and the number of hosts is 28-1 = 254.
Class d
me with the analysis!
Saidi network IT technology community moderator "Sebei" opened the answer for the netizen harcsbg.
For question 1, the simple question is complicated by you. Why do we need to use a subnet mask to divide network segments? If it is 255.255.255.0, it means that 254 hosts can access the internet. If you change it to 255.255.255.192, it means that only 62 hosts belong to the same network segment.
Let's see if the binary value of 10.
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.