After knowing the IP address and subnet mask, you can calculate:
1. Network Address
2. broadcast address
3. Address range
4. Several hosts on this website
Example 1: the IP address in the following example is 192 · 168 · 100 · 5. The subnet mask is 2
Completely understand the IP address -- after computing the relevant IP address, you can calculate the IP address and subnet mask: 1. network address 2. broadcast address 3. Address range 4. Several hosts on this website. Example 1: in the following
Subnet Mask and IP address calculation network address and broadcast address conversion
IP Address: 202.112.14.20.Subnet Mask: Too Many Subnet MaskWhat is the network address and broadcast address of this host?Solution:Step 1: Determine the
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 1
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 1
IP address and subnet mask used for computing
After knowing the IP address and subnet mask, you can calculate:
1. Network Address2. broadcast address3. Address range4. Several hosts on this website
Example 1: the IP address in the following example
Compute related addresses by IP address and subnet mask and operations
When you know the IP address and subnet mask, you can figure out:
1, network address
2. Broadcast Address
3. Address range
4, the network has several hosts
Example 1: The
One: unsafe (non-reentrant) inet_xxx () function familySince computer-understood IP is stored in binary form, the conversion of string IP and binary IP is often required in network programming, and the Linux system has a set of functions to be used
1.1 Calculation of IP checksumIP check is for the IP header, that is, only the IP header, and for the IP data part of the verification, the corresponding four times the agreement to ensure that the IP head of the test and the field is 16bit.The
The IPV4 address is actually a 32-bit binary number, and then we divide it into four segments, 8 bits per paragraph. The 8-bit binary can be expressed in a range of 0~255, so that every digit in the dotted decimal system is 0~255. Sometimes, for
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.