Suppose I was given this IP gateway :
199.141.27.129/26
How can I tell the subnet mask from the /26
? Sometimes I notice this, for example : IP 150.10.10.10 with a mask 255.255.252.0 can be written 150.10.10.10/22
Suppose I was given this IP gateway :
199.141.27.129/26
How can I tell the subnet mask from the /26
? Sometimes I notice this, for example : IP 150.10.10.10 with a mask 255.255.252.0 can be written 150.10.10.10/22
The number (26) is the number of bits in the mask:
11111111.11111111.11111111.11000000
Convert it back to decimal:
255.255.255.192