Question

In: Computer Science

IP address: 158.234.28.72 Subnet Mask: 255.248.0.0 Find Network Address and Broadcast address. Provide all necessary steps.

IP address:  158.234.28.72
Subnet Mask: 255.248.0.0

Find Network Address and Broadcast address. Provide all necessary steps.

Solutions

Expert Solution

IP Address: 158.234.28.72
----------------------------------------
Let's first convert this into binary format
158.234.28.72
Let's convert all octets to binary separately
Converting 158 to binary
Divide 158 successively by 2 until the quotient is 0
158/2 = 79, remainder is 0
79/2 = 39, remainder is 1
39/2 = 19, remainder is 1
19/2 = 9, remainder is 1
9/2 = 4, remainder is 1
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 10011110
158 in binary is 10011110

Converting 234 to binary
Divide 234 successively by 2 until the quotient is 0
234/2 = 117, remainder is 0
117/2 = 58, remainder is 1
58/2 = 29, remainder is 0
29/2 = 14, remainder is 1
14/2 = 7, remainder is 0
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 11101010
234 in binary is 11101010

Converting 28 to binary
Divide 28 successively by 2 until the quotient is 0
28/2 = 14, remainder is 0
14/2 = 7, remainder is 0
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 11100
28 in binary is 00011100

Converting 72 to binary
Divide 72 successively by 2 until the quotient is 0
72/2 = 36, remainder is 0
36/2 = 18, remainder is 0
18/2 = 9, remainder is 0
9/2 = 4, remainder is 1
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 1001000
72 in binary is 01001000

====================================================================================
||    158.234.28.72 in binary notation is 10011110.11101010.00011100.01001000    ||
====================================================================================

Subnet address: 255.248.0.0
----------------------------------------
Let's convert this into binary format
255.248.0.0
Let's convert all octets to binary separately
Converting 255 to binary
Divide 255 successively by 2 until the quotient is 0
255/2 = 127, remainder is 1
127/2 = 63, remainder is 1
63/2 = 31, remainder is 1
31/2 = 15, remainder is 1
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 11111111
255 in binary is 11111111

Converting 248 to binary
Divide 248 successively by 2 until the quotient is 0
248/2 = 124, remainder is 0
124/2 = 62, remainder is 0
62/2 = 31, remainder is 0
31/2 = 15, remainder is 1
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 11111000
248 in binary is 11111000

Converting 0 to binary
Divide 0 successively by 2 until the quotient is 0
Read remainders from the bottom to top as 
0 in binary is 00000000

Converting 0 to binary
Divide 0 successively by 2 until the quotient is 0
Read remainders from the bottom to top as 
0 in binary is 00000000

==================================================================================
||    255.248.0.0 in binary notation is 11111111.11111000.00000000.00000000    ||
==================================================================================

Remove all dots to form 11111111111110000000000000000000
Remove all 0's from the right side to form 1111111111111
Number of 1's in this is 13
so, Subnet mask is /13

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

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

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

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

===================================================================================
||    10011110.11101000.00000000.00000000 in decimal notation is 158.232.0.0    ||
===================================================================================
==========================================
||    So, Network ID is 158.232.0.0    ||
==========================================

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

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

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
=> 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

=======================================================================================
||    10011110.11101111.11111111.11111111 in decimal notation is 158.239.255.255    ||
=======================================================================================
================================================
||    So, broadcast ID is 158.239.255.255    ||
================================================

Related Solutions

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.
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.
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.
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
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     
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.
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.
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?
Given an IP address of 220.84.9.123 and a subnet mask of 255.255.255.240 Write down the address...
Given an IP address of 220.84.9.123 and a subnet mask of 255.255.255.240 Write down the address of the network, show your calculation. Write also the broadcast address 2. On a network with an IP address of 133.133.133.13 and a subnet mask of 255.255.248.0 what is the network ID?  Show your calculation.  Write also the broadcast address On a Class C network, you have a subnet mask of 255.255.255.192.   How many hosts per subnet do you have? On how many subnets was divided...
find the broadcast address for 10.248.139.232 with mask 255.255.255.252
find the broadcast address for 10.248.139.232 with mask 255.255.255.252
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT