Home> Common Problem> body text

What will happen if the IP addresses of the two hosts are ANDed with their subnet masks?

藏色散人
Release: 2020-05-17 09:49:01
Original
4738 people have browsed it

What will happen if the IP addresses of the two hosts are ANDed with their subnet masks?

What will happen if the IP addresses of the two hosts are ANDed with their subnet masks?

The results of the "AND" operation between the IP addresses of the two hosts and their subnet masks are the same.

Related introduction:

Subnet mask (subnet mask) is also called network mask, address mask, subnet mask. It is a method used to specify which parts of an IP address The bits identify the subnet the host is on, and which bits identify the host's bitmask. The subnet mask cannot exist alone, it must be used in conjunction with the IP address. The subnet mask has only one function, which is to divide an IP address into two parts: a network address and a host address.

The subnet mask is a 32-bit address that is used to mask a part of the IP address to distinguish the network identification and the host identification, and to indicate whether the IP address is on a LAN or a WAN.

The above is the detailed content of What will happen if the IP addresses of the two hosts are ANDed with their subnet masks?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!