Given IP address how will you calculate subnet mask?
samuel 04-January-2008 05:14:31 PM

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



Posted: 04-January-2008 06:15:27 PM By: maveric

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: 20-November-2008 10:09:05 AM By: HamidAliKhan

we can calculate subnet mask by using to follow different classes as well as by subnet

Posted: 01-March-2009 07:31:55 AM By: crouse

We calculate subnet mask by using to follow different classes as well as by subnet