Because each IP defines certain subnet mask.
This is a network address
To find the subnet address, perform a bitwise AND operation between the destination address (198.47.34.31) and the subnet mask (255.255.244.0). In binary, the destination address is 11000110.00101111.00100010.00011111 and the subnet mask is 11111111.11111111.11110100.00000000. Performing the AND operation results in the subnet address of 198.47.32.0.
The network address of an IPv4 address of 192.168.7.5 with a subnet mask of 255.255.255.0 would be 192.168.7.0. Remember that the subnet mask determines the network portion of the IP Address.
255.255.255.0
255.255.255.0
it is a class c address..so default subnet mask is 255.255.255.0 it is a private address...
The default subnet mask for this address - a class A address - is 255.0.0.0 (same as /8).
The default subnet mask would be 255.255.0.0 for a class B address.
if the ip address is 192.168.2.1 then the subnet mask should be 255.255.255.0
Subnet mask for the above is 255.0.0.0
There isn't just a single subnet mask that could be used for that address. The default subnet mask would be 255.0.0.0, but there could be others if the network is subnetted.
Example IP address of 192.168.1.123 with a subnet mask of 255.255.255.0