Question

In: Computer Science

What subnet mask would you use for the 178.32.0.0 network, such that you can get 50...

What subnet mask would you use for the 178.32.0.0 network, such that you can get 50 subnets and 1000 hosts per subnet?

Please show work.

Solutions

Expert Solution

255.255.252.0 or /22

Explanation:
-------------
default subnet mask is /16 or 255.255.0.0
number of subnets = 50
number of additional bits for subnet mask = log2(50) = 5.64 => 6 bits
total number of bits in subnet mask = 16+6 = 22

So, subnet mask in binary is 11111111.11111111.11111100.00000000
Now, let's convert this to decimal
11111111.11111111.11111100.00000000
Let's convert all octets to decimal separately
Converting 11111111 to decimal
Converting 11111111 to decimal
11111111
=> 1x2^7+1x2^6+1x2^5+1x2^4+1x2^3+1x2^2+1x2^1+1x2^0
=> 1x128+1x64+1x32+1x16+1x8+1x4+1x2+1x1
=> 128+64+32+16+8+4+2+1
=> 255
11111111 in decimal is 255

Converting 11111111 to decimal
Converting 11111111 to decimal
11111111
=> 1x2^7+1x2^6+1x2^5+1x2^4+1x2^3+1x2^2+1x2^1+1x2^0
=> 1x128+1x64+1x32+1x16+1x8+1x4+1x2+1x1
=> 128+64+32+16+8+4+2+1
=> 255
11111111 in decimal is 255

Converting 11111100 to decimal
Converting 11111100 to decimal
11111100
=> 1x2^7+1x2^6+1x2^5+1x2^4+1x2^3+1x2^2+0x2^1+0x2^0
=> 1x128+1x64+1x32+1x16+1x8+1x4+0x2+0x1
=> 128+64+32+16+8+4+0+0
=> 252
11111100 in decimal is 252

Converting 00000000 to decimal
Converting 00000000 to decimal
00000000
=> 0x2^7+0x2^6+0x2^5+0x2^4+0x2^3+0x2^2+0x2^1+0x2^0
=> 0x128+0x64+0x32+0x16+0x8+0x4+0x2+0x1
=> 0+0+0+0+0+0+0+0
=> 0
00000000 in decimal is 0

=====================================================================================
||    11111111.11111111.11111100.00000000 in decimal notation is 255.255.252.0    ||
=====================================================================================
So, subnet mask in decimal is 255.255.252.0

Related Solutions

On a network with an IP address of 158.234.28.72 and a subnet mask of 255.248.0.0 what...
On a network with an IP address of 158.234.28.72 and a subnet mask of 255.248.0.0 what is the network ID and the broadcast address? Show your calculations.
What is the range of IP addresses on a network if: A) IP: 192.168.1.1 Subnet mask...
What is the range of IP addresses on a network if: A) IP: 192.168.1.1 Subnet mask is: 255.255.255.0. B) 179.23.0.0/ 16 C) 10.0.0.0 Class A network.
What is the network address if given this IP address and the following subnet mask?  Please note...
What is the network address if given this IP address and the following subnet mask?  Please note that the network may be different if the subnet mask is different. IP address 178.47.188.176 How many network bits if the following subnet masks? 255.254.0.0 255.255.252.0 255.255.255.248    4. 255.128.0.0     
You notice a printer on your network has the IP address 198.75.12.34 and subnet mask 255.255.255.248....
You notice a printer on your network has the IP address 198.75.12.34 and subnet mask 255.255.255.248. What is the network address to which this printer belongs? A router interface on one of your subnets has the IP address 54.187.69.45 and prefix length /25. What would be the broadcast address used for this subnet?
Refer to the network in Figure 14.7 where the subnet mask is 255.255.255.224 If someone attaches...
Refer to the network in Figure 14.7 where the subnet mask is 255.255.255.224 If someone attaches a device whose IP address = 192.228.17.218, find the subnet number and the host number.
On a Class C network, how many hosts per subnet will you get if you have...
On a Class C network, how many hosts per subnet will you get if you have a subnet mask of 255.255.255.240. On how many subnets was divided this class C address? Show your calculations
This is an exercise in subnetting. You will compute a subnet mask and the IP numbers...
This is an exercise in subnetting. You will compute a subnet mask and the IP numbers in each subnet. 1) assume you received a class-C IP address (221.221.221.0) and you are setting up a network with 4 subnets, each with 50 workstations. 2) use the IP Calculator ( http://bitcricket-ip-calculator.software.informer.com)  and compute the subnet mask and also check, and report, the maximum number of workstations in a subnet to see if you can have 50 workstations in each subnet. 3) obtain the...
Consider a router with the: IP address 192.168.1.254/26 Subnet mask: 255.255.255.192 Network Address: 192.168.1.192 Write the...
Consider a router with the: IP address 192.168.1.254/26 Subnet mask: 255.255.255.192 Network Address: 192.168.1.192 Write the relevant DHCP subnet configuration text for this network where the first 50 addresses will be dynamically allocated to hosts.
You have network address as 192.1.1.0/24. Subnet it into /27 network.
You have network address as 192.1.1.0/24. Subnet it into /27 network.
Hello! Um, I don't understand the how to use the IP address and the subnet mask...
Hello! Um, I don't understand the how to use the IP address and the subnet mask to find Via/Next hop, Metric, or the interface aspects of the question.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT