Home>Article>Backend Development> What is the network address
The network address refers to: The network part of an IP address is called the network address. Devices with the same network address can communicate directly with the host, and it allows the router to place the packet on the correct network segment.
Network address:
The network part of an IP address is called the network number or network address, and the host can have the same The device communicates directly with the network number. In the absence of connected devices, even if they share the same physical network segment, communication cannot occur if the network numbers are different.
The network address of the IP address enables the router to place the packet on the correct network segment. The host number after the network number of the IP address enables the router to transmit the packet encapsulated in a Layer 2 frame to a specific computer on the network. host so that the host number and MAC address can be correctly mapped. The key issue is to use the subnet mask to determine or obtain the network address information of the remote host.
The part after the network address is the host address. The network address of the same network must be the same, but as the same network address, the network address must be the same. The host addresses of a network must be different.
Only hosts in the same network can communicate directly. The network in this case is called a flat network, for example: 192.168.1.1/24 and 192.168.1.2/24, the network ID is the same, the host ID different.
If communication between hosts that are not on the same network must forward data through the device, the network in this case is called a hierarchical network.
The above is the detailed content of What is the network address. For more information, please follow other related articles on the PHP Chinese website!