



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This file contains solution to problems related Data Communication Systems. Mr. Prajin Ahuja assigned task at Birla Institute of Technology and Science. Its main points are: Logical, Addressing, Sulution, IPV4, Classful, Host, Mask, Network, Complement, Subnet, Number, Sublock, Identifier
Typology: Exercises
1 / 6
This page cannot be seen from the preview
Don't miss anything!




1
a. 2^8 = 256 b. 2^16 = 65536 c. 2^64 = 1.846744737 ร 1019
c. Class C (first two bits are 1s and the third bit is 0) d. Class D (first three bits are 1s and the fourth bit is 0)
The last address can be found by ORing the host address with the mask comple- ment 0.0.255.255.
However, we need to mention that this is the largest possible block with 2 16 addresses. We can have many small blocks as long as the number of addresses divides this number.
a. log 2 500 = 8.95 Extra 1s = 9 Possible subnets: 512 Mask: /17 (8+9) b. 2 32 โ^17 = 2^15 = 32,768 Addresses per subnet c. Subnet 1: The first address in the this address is the beginning address of the block or 16.0.0.0. To find the last address, we need to write 32,767 (one less than the number of addresses in each subnet) in base 256 (0.0.127.255) and add it to the first address (in base 256).
d. Subnet 500: Note that the subnet 500 is not the last possible subnet; it is the last subnet used by the organization. To find the first address in subnet 500, we need to add 16,351,232 (499 ร 32678) in base 256 (0. 249.128.0) to the first address in sub- net 1. We have 16.0.0.0 + 0.249.128.0 = 16.249.128.0. Now we can calculate the last address in subnet 500.
a. log 2 32 = 5 Extra 1s = 5 Possible subnets: 32 Mask: /29 (24 + 5) b. 2 32 โ^29 = 8 Addresses per subnet
Host Address: (^25). 34. 12. 56 Mask (ANDed): (^255). 255. 0. 0 Network Address (First): (^25). 34. 0. 0
Host Address: (^25). 34. 12. 56 Mask Complement (ORed): (^0). 0. 255. 255 Last Address: (^25). 34. 255. 255
First address in subnet 1: (^16). 0. 0. 0 Number of addresses: (^0). 0. 127. 255 Last address in subnet 1: (^16). 0. 127. 255
First address in subnet 500: (^16). 249. 128. 0 Number of addresses: (^0). 0. 127. 255 Last address in subnet 500: (^16). 249. 255. 255
d. The number of address in this block is 2^32 โ^30 = 4. We need to add 3 (one less) addresses (0.0.0.3 in base 256) to the first address to find the last address.
Sub-blocks:
1024 โ 800 = 224 addresses left (from 120.60.7.31 to 120.60.7.155)
a. 2340:1ABC:119A:A000:: b. 0:AA::119A:A
From: (^180). 34. 64. 64 (^0). 0. 0. 3 To: (^180). 34. 64. 67
Figure 19.1 Solution to Exercise 27
1st subnet: 120.60.4.0/29 to 120.60.4.7/ 2nd subnet: 120.60.4.8/29 to 120.60.4.15/ ... ... ... 32nd subnet: 120.60.4.248/29 to 120.60.4.255/ 33rd subnet: 120.60.5.0/29 to 120.60.5.7/ ... ... ... 64th subnet: 120.60.5.248/29 to 120.60.5.255/ ... ... ... 99th subnet: 120.60.7.16/29 to 120.60.7.23/ 100th subnet: 120.60.7.24/29 to 120.60.7.31/
One granted block of 1024 addresses
100 assigned sub-blocks 28 unused sub-blocks Total of 128 sub-blocks, each of 8 addresses
8-address sub-block
8-address sub-block
8-address sub-block
c. 2340::119A:A001: d. 0:0:0:2340::
a. Link local address b. Site local address c. Multicast address (permanent, link local) d. Loopback address
58ABC
a. FE80:0000:0000:0000:0000:0000:0000:0123 or FE80:: b. FEC0:0000:0000:0000:0000:0000:0000:0123 or FEC0::