A few words to master subnet mask, IP address, host number, network number, network address, broadcast address
1, 191.172.16.10.33/27 in the/27 that is, the subnet mask is 255.255.255.224 that is 27 full 1
2. From the subnet mask 255.255.255.252 to obtain its network bit is 30 bits, so only the remaining 2-bit master, the host bit of all zeros for the network address, the host bit all 1 is the broadcast address, the remaining host number is the host address range
3. Public address is the responsibility of the Inter NIC (Internet Network Information Center Internet Information Center). These IP addresses are assigned to organizations that register and apply to the inter NIC. Direct access to the Internet through it.
Private address is a non-registered address and is intended for use within an organization. Private network IP address is not directly used to communicate with the WAN, or use the frame to communicate (for example, fr Frame Relay, HDLC,PPP) or need to route the NAT function to convert the private network address to a public IP address listed below the retained internal private address
Class A 10.0.0.0--10.255.255.255
Class B 172.16.0.0--172.31.255.255
Class C 192.168.0.0--192.168.255.255
Exercises:
IP address =192.168.127.101, subnet mask 255.255.255.192, compute network address, host number, broadcast address, and host maximum number
After the IP address is converted to binary, it is 11000000.10101000.011111111.01100101 the subnet mask is converted to binary 11111111.11111111.11111111.11000000 address segments are calculated after 11000000.10101000.01111111.01000000 is converted to decimal and 192.168.127.64 so the network address of the computer is 192.168.127.64/ 26 The host number is the part that removes the network number is 100101----> 37 broadcast address is the address bit is all 1 that is 11000000.10101000.011111111.01111111 converted to decimal after the 192.168.127.127 can accommodate the number of 2 of 6 (host address bits) 2 (network address and broadcast address) = 62
This article is from the "Learning Path to Linux" blog, so be sure to keep this source http://2845621599.blog.51cto.com/8221220/1633635
Basic knowledge of the network