Comments
We calculate subnet mask by using to follow different classes as well as by subnet
Posted by crouse
we can calculate subnet mask by using to follow different classes as well as by subnet
Posted by HamidAliKhan
ets say given IP address of 201.222.5.0
By borrowing 5 bits from the last octet, you can. have 30 subnets. If you borrowed only 4 bits you could only have 14 subnets. The formula is (2 to the power of n)-2. By borrowing 4 bits, you have (2กม2x2กม2)-2=14. By borrowing 5 bits, you have (2กม2x2กม2x2)-2=30. To get 20 subnets, you would need to borrow 5 bits so the subnet mask would be 255.255.255.248.
Posted by maveric