PrefaceThis document is simply a logical algorithm, and how to compute network bits, host bits, and broadcast addresses in the case of known IP addresses and subnet masks. All steps are far from the most primitive binary way, the direct hit principle, please read carefully.1. Logic algorithmLogic and operations and logic or operations are used when computing network bits, host addresses, broadcast addresses, so it is necessary to understand their algo
The subnet mask (subnet mask) is also called the netmask, address mask, and subnet mask, which is used to indicate which bits of an IP address identify the host's
One day, using Centos7, when discovering the network configuration, the subnet mask needs to be converted manually, because the CENTOS7 network is configured as follows:NMCLI Connection Enp4s0 Modify Ipv4.methord manual ipv4.address "192.168.1.120/24" Ipv4.gateway "192.168.1.1" Ipv4.dns "2 23.5.5.5 "A configuration item with no subnet
, which is scaled down step by step and located on a house number. If we create numbers for the province, city, and street, and combine them with the street number, we can get a long string of numbers to uniquely identify a home address. Similarly, the IP address has a 32-bit length, so long as an encoding, why can't we retrieve the first few digits as a "region" address, which of the remaining digits is used as the "relative" address in this region?
Transferred from:
Http://bbs.51cto.com/thread-68584-1-1.html
Subnet Mask and subnet divisionDirectory:I. SummaryIi. Concepts and functions of subnet mask3. Why do I need to use the subnet mask?4. How to obtain the Network/Host ad
A summary of the concept and function of two-subnet mask how to use subnet mask four how to get network/host address by subnet mask classification of five subnet masks six
Subnet Mask and subnet division
Directory:I. SummaryIi. Concepts and functions of subnet mask3. Why do I need to use the subnet mask?4. How to obtain the Network/Host address using the subnet
Directory:I. SummaryIi. Concepts and functions of subnet mask3. Why do I need to use the subnet mask?4. How to obtain the Network/Host address using the subnet maskV. Classification of subnet masksVi. subnet addressing technology7
subnet mask and subnet partitioningDirectory:
I. Summary
The concept and function of subnet mask
Third, why do I need to use the subnet mask
Four, how to use the
I. Concepts and functions of two subnet masks 3. Why do I need to use a subnet mask 4. How do I use a subnet mask to obtain a network/Host address 5? What is the classification of a subnet mas
As for subnet division, the subnet mask is odd. 1.0.1.0 -- 1.0.3.255 Fujian Telecom converts the subnet mask to an IP segment 1.0.1.0/24--1.0.2.0/23, if two IP addresses are replaced by binary IP addresses in a general way, or the
The subnet mask cannot exist alone, it must be used in conjunction with an IP address. The subnet mask has only one function, which is to divide an IP address into two parts: network address and host address.The subnet mask settin
255.255.255.0:/24 (C class address default mask)
Division A Class B class C address subnet:
Several shortcuts for dividing subnets:1. How many subnets will be generated by the subnet mask you choose?: 2 of x -2 (x for subnet bits, 2 for 1) PS: Here x is the
connection;② Determine the maximum number of computers in each subnet and consider future development;Who needs to use a separate host ID?▲Each TCP/IP computer Nic;▲Each TCP/IP printer Nic;▲Route interfaces on each subnet;③ Consider the necessity of the growth plan:Assume that you have applied for a network ID at InterNIC: 192.20.16.0, but you have two remote LANs that need to be interconnected, and each r
machines, but two IP addresses are not available, that is, the last segment cannot be 0 or 255. If the two IP addresses are subtracted, the number is 254.
Calculation Method
00 converts it to a four-digit binary number (each segment is 8 bits. If it is 0, it can be written as 8 zeros, that is, 00000000)
11111111.11111.11111000.00000000
Then, there are several zeros behind the number, and there are 11 in total, that is, the power of 2, equal to 2048, this
;② Determine the maximum number of computers in each subnet and consider future development;Who needs to use a separate host ID?▲Each TCP/IP computer Nic;▲Each TCP/IP printer Nic;▲Route interfaces on each subnet;③ Consider the necessity of the growth plan:Assume that you have applied for a network ID at InterNIC: 192.20.16.0, but you have two remote LANs that need to be interconnected, and each remote LAN h
host address. The subnet mask must be set according to certain rules. Same as the IP address, the subnet mask length is also 32 bits, the network bits on the left are represented by the binary number "1", and the host bits on the right are represented by the binary number "0. Www.2cto.com "192.168.1.1" and the
Subnet Mask:What is a subnet mask subnet mask cannot exist alone,It must be used in conjunction with an IP address. The subnet mask has only one effect,is to divide an IP address into t
Transferred from: http://baike.baidu.com/view/65511.htm
Http://baike.baidu.com/view/878.htm
The IP address is the network number and host number to represent the host on the network, only in a network number under the computer can be "direct" interoperability, different network number of the computer through the gateway to exchange. But such a division does not seem very flexible in some cases. For this reason, the IP network is also allowed to be partitioned into smaller networks called subnet
computer number. If the IP address is represented by a binary, the Class A IP address consists of a 1-byte network address and a 3-byte host address, and the highest bit of the network address must be "0". A class of IP address network identification length of 8 bits, host identification length of 24 bits, a class of network addresses a small number of 126 networks, each network can accommodate the number of hosts up to more than 16 million units. Cl
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.