Question

In: Computer Science

Find the network address, the direct broadcast address, and the number of addresses in a block;...

Find the network address, the direct broadcast address, and the number of addresses in a block; if one of the addresses in this block is 175.120.240.17/19

Solutions

Expert Solution

Network address is 175.120.224.0
broadcast address is 175.120.255.255
number of addresses in a block is 2^(32-19) = 2^13 = 8192

Explanation:
-------------
IP Address: 175.120.240.17
----------------------------------------
Let's first convert this into binary format
175.120.240.17
Let's convert all octets to binary separately
Converting 175 to binary
Divide 175 successively by 2 until the quotient is 0
   > 175/2 = 87, remainder is 1
   > 87/2 = 43, remainder is 1
   > 43/2 = 21, remainder is 1
   > 21/2 = 10, remainder is 1
   > 10/2 = 5, remainder is 0
   > 5/2 = 2, remainder is 1
   > 2/2 = 1, remainder is 0
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 10101111
So, 175 of decimal is 10101111 in binary
175 in binary is 10101111

Converting 120 to binary
Divide 120 successively by 2 until the quotient is 0
   > 120/2 = 60, remainder is 0
   > 60/2 = 30, remainder is 0
   > 30/2 = 15, remainder is 0
   > 15/2 = 7, remainder is 1
   > 7/2 = 3, remainder is 1
   > 3/2 = 1, remainder is 1
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 1111000
So, 120 of decimal is 1111000 in binary
120 in binary is 01111000

Converting 240 to binary
Divide 240 successively by 2 until the quotient is 0
   > 240/2 = 120, remainder is 0
   > 120/2 = 60, remainder is 0
   > 60/2 = 30, remainder is 0
   > 30/2 = 15, remainder is 0
   > 15/2 = 7, remainder is 1
   > 7/2 = 3, remainder is 1
   > 3/2 = 1, remainder is 1
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 11110000
So, 240 of decimal is 11110000 in binary
240 in binary is 11110000

Converting 17 to binary
Divide 17 successively by 2 until the quotient is 0
   > 17/2 = 8, remainder is 1
   > 8/2 = 4, remainder is 0
   > 4/2 = 2, remainder is 0
   > 2/2 = 1, remainder is 0
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 10001
So, 17 of decimal is 10001 in binary
17 in binary is 00010001

=====================================================================================
||    175.120.240.17 in binary notation is 10101111.01111000.11110000.00010001    ||
=====================================================================================

Subnet mask is /19

For Calculating network ID, keep first 19 bits of 10101111.01111000.11110000.00010001 and set all remaining bits to 0.
so, network ID in binary is 10101111.01111000.11100000.00000000
10101111.01111000.11100000.00000000:
----------------------------------------
10101111.01111000.11100000.00000000
Let's convert all octets to decimal separately
Converting 10101111 to decimal
Converting 10101111 to decimal
10101111
=> 1x2^7+0x2^6+1x2^5+0x2^4+1x2^3+1x2^2+1x2^1+1x2^0
=> 1x128+0x64+1x32+0x16+1x8+1x4+1x2+1x1
=> 128+0+32+0+8+4+2+1
=> 175
10101111 in decimal is 175

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

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

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

=====================================================================================
||    10101111.01111000.11100000.00000000 in decimal notation is 175.120.224.0    ||
=====================================================================================
============================================
||    So, Network ID is 175.120.224.0    ||
============================================

For Calculating broadcast ID, keep first 19 bits of 10101111.01111000.11110000.00010001 and set all remaining bits to 1.
so, broadcast ID in binary is 10101111.01111000.11111111.11111111
10101111.01111000.11111111.11111111:
----------------------------------------
10101111.01111000.11111111.11111111
Let's convert all octets to decimal separately
Converting 10101111 to decimal
Converting 10101111 to decimal
10101111
=> 1x2^7+0x2^6+1x2^5+0x2^4+1x2^3+1x2^2+1x2^1+1x2^0
=> 1x128+0x64+1x32+0x16+1x8+1x4+1x2+1x1
=> 128+0+32+0+8+4+2+1
=> 175
10101111 in decimal is 175

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

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

=======================================================================================
||    10101111.01111000.11111111.11111111 in decimal notation is 175.120.255.255    ||
=======================================================================================
================================================
||    So, broadcast ID is 175.120.255.255    ||
================================================

Related Solutions

Find the number of addresses in a block of classless addresses if one of the addresses...
Find the number of addresses in a block of classless addresses if one of the addresses is 101.10.2.8/29. Total addresses= Usable addresses= briefly explain your answer
Find the network ip and broadcast ip of the ip address: 192.168.225.212/27
Find the network ip and broadcast ip of the ip address: 192.168.225.212/27
Find the subnet addresses, the broadcast addresses, and the range of available addresses for each given...
Find the subnet addresses, the broadcast addresses, and the range of available addresses for each given IPv4 address. 129.153.192.0/22 Network in Binary: __ __ __ __ __ __ __ __ . __ __ __ __ __ __ __ __ . __ __ __ __ __ __ __ __ . __ __ __ __ __ __ __ __          Dotted decimal: ______. ______ . _____ . _____ Broadcast: __ __ __ __ __ __ __ __. __ __ __ __ __ __...
IP Address: 37.124.67.99 Subnet Mask: 255.240.0.0 find Network address, Broadcast address, first valid host address, last...
IP Address: 37.124.67.99 Subnet Mask: 255.240.0.0 find Network address, Broadcast address, first valid host address, last valid host address and number of valid hosts in the network. show very clear steps for all the calculations.
Given an IP address 138.112.25.60, with the mask 255.255.255.240: Calculate the network address and broadcast address...
Given an IP address 138.112.25.60, with the mask 255.255.255.240: Calculate the network address and broadcast address of the network it belongs to. For 138.112.25.47 and 38.112.25.49, which one is in the same network as 138.112.25.60 does, and which one is not. Show the necessary calculation steps and explanation.
Problem 1. Network Address Suppose an ISP has the following IP address block: 130.12.128.0/23 a. Assume...
Problem 1. Network Address Suppose an ISP has the following IP address block: 130.12.128.0/23 a. Assume that the ISP wants to divide its address block (130.12.128.0/23) into two equal-sized contiguous address blocks, and give one of these address blocks to its customers (C1 and C2). Provide network addresses (of the form a.b.c.d/x) for C1 and C2. b. Now let’s assume that the ISP wants to divide its address block (130.12.128.0/23) into four equal-sized contiguous address blocks, and give one of...
A block of addresses is granted to a small organization. one of the addresses is 172.10.0.84/20....
A block of addresses is granted to a small organization. one of the addresses is 172.10.0.84/20. a) What are the first and the last addresses of this block? b) Determine the number of addresses granted to this small organization. c) The network administrator of this small organization wants to create eight subnets. Determine i) the subnet mask, ii) the address of each subnet, iii) number of addresses in each subnet, vi) the range of IP addresses in each subnet, and...
Use the following network address: 172.192.0.0/10 to create four (4) different /12 subnet addresses. Identify the...
Use the following network address: 172.192.0.0/10 to create four (4) different /12 subnet addresses. Identify the range of IPv4 addresses. Identify the broadcast address for each of the above subnet addresses.
You are given a block of IP address 200.128.1.0/24. Create a network with four subnets each...
You are given a block of IP address 200.128.1.0/24. Create a network with four subnets each having equal number of addresses. Connect two nodes in each subnet and configure the arrangement so that any node is able to communicate with the remaining nodes (within the subnet as well as in other subnets). Identify and analyze the configuration requirements. Verify the communication setup and reach ability with Ping diagnostic command. Your report should include the following: i. Network diagram (screenshots), ii....
1. Find the number of unique addresses accessed by a 16-bit microprocessor. If the width of...
1. Find the number of unique addresses accessed by a 16-bit microprocessor. If the width of the data bus is also 8 bits, determine the word size in bytes. 2. What is the difference between DRAM and SRAM in terms of their applications? Why do synchronous DRAMs make use of a register, called a mode register?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT