Question

In: Computer Science

3) Based on the CIDR addressing scheme, What is the subnet mask for 125.124.0.0/21?

3) Based on the CIDR addressing scheme, What is the subnet mask for 125.124.0.0/21?

Solutions

Expert Solution

CIDR:   125.124.0.0/21
/21 indicates that number of 1's in subnet mask is 21
so, Subnet mask in binary is 11111111.11111111.11111000.00000000

11111111.11111111.11111000.00000000
Let's convert all octets to decimal separately
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
11111111 in decimal is 255  (we've already calculated this above)

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

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.11111000.00000000 in decimal notation is 255.255.248.0    ||
=====================================================================================

Answer: 255.255.248.0

Related Solutions

What is the CIDR notation corresponding to a subnet mask of 255.240.0.0? Please show work.
What is the CIDR notation corresponding to a subnet mask of 255.240.0.0? Please show work.
CIDR notation - First 2 answers given: If the dotted decimal subnet mask is given then...
CIDR notation - First 2 answers given: If the dotted decimal subnet mask is given then give me the CIDR notation If the CIDR notation subnet mask is given give me the dotted decimal notation 255.255.240.0            ______________________________________ /30                      ______________________________________ What network does this address belong to? 3- 200.198.44.220/26       _____________________________ 112.55.78.120/16        _____________________________ What is the broadcast address for this network? (The easiest way to get the broadcast address is to figure out the next network and subtract 1 or put all...
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 benefits does the subnet mask provide? What does a subnetmask of 255.255.252.0 mean?
What benefits does the subnet mask provide? What does a subnet mask of 255.255.252.0 mean?
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...
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     
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.
Given a network topology of 3 or more routers with an IPv4 and IPv6 addressing scheme,...
Given a network topology of 3 or more routers with an IPv4 and IPv6 addressing scheme, implement the appropriate technology to ensure connectivity to the Internet.
11. Consider a router with the IP address 192.168.1.254/26: a) Indicate the subnet mask for the...
11. Consider a router with the IP address 192.168.1.254/26: a) Indicate the subnet mask for the above address. b) Demonstrate calculation of the network address (including binary and decimal values). c) Write the relevant DHCP subnet configuration text for this network where the first 50 addresses will be dynamically allocated to hosts.
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.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT