IP address A, b IP (a) 188.188.0.111 10111100.10111100.00000000.01101111 IP (b) 188.188.5.222 10111100.10111100.00000101.11011110 Mask 255.255.254.0 11111111.11111111.11111110.00000000255.255.254.0 is a subnet mask made up of 23 1, simply speaking, as long as the IP address from the left to the right of the first 23 bits 1 location and the same number of IPs belong to the same network segment, The number from the 24th to the next can be arbitrarily selected 0 or 1. For example, IP (a) 188.188.0.111, can be calculated with IP (a) belonging to the same network segment of the range of 188.188.0.0~188.188.1.255, the IP address in this range belongs to a network segment. IP (B) The IP range of the same network segment is 188.188.4.0~188.188.5.255. Therefore, IP (A) and IP (B) do not belong to the same network segment. If IP (A) 192.168.5.192/25 11000000.10101000.11000000.00000101 IP (B) 192.168.5.128/25 11000000.10101000.10000000.00000101 the Mask of A and B is 11111111.11111111.11111111.10000000 we can know that A and B are all Class C IP addresses, So the network number is 192.168.5 a subnet number for the 128,b subnet number is also the 128,a host number for the 64,B host number is 0
Determine the network segment, subnet, network number