A 32-bit value written as 255.255.255.0 or /24 that separates the network portion of an IPv4 address from the host port…