viper92086
Gawd
- Joined
- Sep 3, 2002
- Messages
- 963
hey guys so i'm studying for my exam and i figured out everything except for these two sample problems. i have the answers and SOME of the work involved but i cant figure out for the life of me how to get to that answer. Here are the questions:
A network of a site has network address 154.18.48.0. If its Direct Broadcast address is 154.18.51.255, then what network mask is used by this network?
154.18.48.0
154.18.00110000.00000000
154.18.51.255
154.18.00110011.11111111
Make net bits = 1
So,
255.255.252.0
* i cannot figure out how to get the "252" without the problem giving me the CIDR or number of hosts.
Here's the second question:
A site has been assigned the class B address 132.25.0.0. If the network administrator of this site wants to be able to introduce 29 subnets, then what mask (in dotted decimal notation) must he use? If the network addresses are assigned in an ascending order with first subnet the one that has all subnet bits equal to 0, then what is the network address and the direct broadcast address of the 21st network? You must use dotted decimal notation for all addresses.
2^5 = 32
132.25.0.0
132.25.10100|000.00000000
21st network, so find #20
Net: 132.25.160.0
Broadcast: 132.25.167.255
*so i know how to get the mask, (2^5 = 32 - 2, so it would be 11111111.1111111.11111000.00000000, or 255.255.248.0), but how do i come about the net and broadcast of the 21st network?
thanks guys.
A network of a site has network address 154.18.48.0. If its Direct Broadcast address is 154.18.51.255, then what network mask is used by this network?
154.18.48.0
154.18.00110000.00000000
154.18.51.255
154.18.00110011.11111111
Make net bits = 1
So,
255.255.252.0
* i cannot figure out how to get the "252" without the problem giving me the CIDR or number of hosts.
Here's the second question:
A site has been assigned the class B address 132.25.0.0. If the network administrator of this site wants to be able to introduce 29 subnets, then what mask (in dotted decimal notation) must he use? If the network addresses are assigned in an ascending order with first subnet the one that has all subnet bits equal to 0, then what is the network address and the direct broadcast address of the 21st network? You must use dotted decimal notation for all addresses.
2^5 = 32
132.25.0.0
132.25.10100|000.00000000
21st network, so find #20
Net: 132.25.160.0
Broadcast: 132.25.167.255
*so i know how to get the mask, (2^5 = 32 - 2, so it would be 11111111.1111111.11111000.00000000, or 255.255.248.0), but how do i come about the net and broadcast of the 21st network?
thanks guys.