You are on page 1of 5

Assignment #3

Problem 1: Change the following IP addresses form binary notation to dotted –decimal notation.
a. 1000 0001 0000 1011 0000 1011 1110 1111
(192.11.11.239)
b. 1100 0001 10000011 00011011 11111111
(193.131.27.255)
c. 11100111 11011011 10001011 01101111
(231.219.139.111)
d. 11111001 10011011 11111011 00001111
(249.155.251.15)
Problem 2: Change the following IP Addresses form dotted –decimal notation to binary notation.
a. 129.11.11.239 (1000 0001 0000 1011 0000 1011 1110 1111)
b. 193.131.27.255 (1100 0001 10000011 00011011 11111111)
c. 231.219.139.111 (11100111 11011011 10001011 01101111)
d. 249.155.251.15 (11111001 10011011 11111011 00001111)
Problem 3: Find the error, if and, in the following IP addresses:
a. 111.56.045.78
b. 221.34.7.8.20
c. 75.45.301.14
d. 11100010.23.14.67 (sol in book page no. 551)
Problem 4: Change the following IP Addresses from binary notation to hexadecimal notation.
a. 10000001 00001011 00001011 11101111 (81.0B.0B.EF)
b. 11000001 10000011 00011011 11111111 (C1.83.1B.FF)
Problem 5: Given the network address 132.21.0.0 find the class ,the block and the range of the
addresses. Solution: (class B as it is between the range 128-191) ,netid 132.21. Range
132.21.0.0 ----- 132.21.255.255
Problem 6: Given the network address 220.34.76.0, find the class ,the block and the range of
addresses. solution: (class C as it is between 192-223), netid of 220.34.76. , Range
220.34.76.0 ----- 220.34.76.255
Problem 7: Give the address 23.56.7.91 and the default class A mask find the beginning address
(network address) sol 23.0.0.0
Problem 8: Given the address 132.6.17.85 and t\he default class B mask, find the beginning address
(network address). sol 132.6.0.0
Problem 9: Given the address 201.180.56.5 and class C default mask , find the beginning address
(net-work address). sol201.180.56.0
Problem 10: What is the subnet work address if the destination address is 200.45.34.56 and
the subnet mask is 255.255.240.0?
Sol. We apply the AND operation on the add. and the subnet mask.

Address 11001000 00101101 00100010 00111000


Subnet mask 11111111 11111111 11110000 00000000
Subnetwork add. 11001000 00101101 00100000 00000000

Problem 11: What is the subnet work address if the destination address is 19.30.80.5 and the
mask is 255.255.192.0?

Address 00010011 00011110 01010000 00000101


Subnet mask 11111111 11111111 11000000 00000000
Subnetwork add. 00010011 00011110 01000000 00000000

Problem 12: A company is granted the site address 201.70.64.0 (Class C).The company needs
six subnets Design the subnets.
Solution:
23=8
201.70.64.0
201.70.64.32
201.70.64.64
.
.
.
201.70.64.192
201.70.64.224 are the subnets.

Problem 13: A company is granted the site address 181.56.0.0(Class B) .The company needs
1000 subnets desing the subnets.

Solution:
210=1024
So
181.56.0.0
181.56.0.64
181.56.0.128
181.56.0.192
.
.
.
.
181.56.255.192 are the subnets

Problem 14: An Organization is granted the block 130.56.0.0 in class B. The Administrator
wants to create 1024 subnets.
a) Find the subnet mask.
b) Find the number of addresses in each subnet.
c) Find the first and the last address in the first subnet.
d) Find the first and the last address in the last subnet(subnet 1024)

Solution:

For 1024 subnets we need 10 bits from hostid part.


a. The subnet mask would be /26 or 255.255.255.192
b. The number of addresses in each subnet would be
232-26=26 = 64
c..The first and last address of subnet 1 will be 130.56.0.0 and 130.56.0.64 

d. The first and last address of subnet 1024 will be 130.56.255.192 and130.56.255.255.

Problem 15: An organizations granted the block 211.17.180.0 in class C. The administrator
wants to create 32 subnets.
a) Fine the subnet mask .
b) Find the number of addresses in each subnet.
c) Fine the first and the last address in the first subnet.
d) Find the first and the last address in the last subnet (subnet 32). (Q23 chap 19)

Solution:
For 32 subnets we need 5 bits from hostid part.

a. The subnet mask would be /29 or 255.255.255.248 


b. The number of addresses in each subnet would be
232-29=23 = 8

c. The first and last address of subnet 1 will be 211.17.180.0 and 211.17.180.8 

d. The first and last address of subnet 32 will be 211.17.180.248 and 211.17.180.255
Problem 16: Find the range of addresses in the following block:
a) 123.56.77.32/29
b) 200.17.21.128/27
c) 17.34.16.0/23
d) 180.34.64.64/30

a. 123.56.77.32/29 (123.56.77.32 ~ 123.56.77.39)


b. 200.17.21.128/27 (200.17.21.128 ~ 200.17.21.159)
c. 17.34.16.0/23 (17.34.16.0 ~ 17.34.17.255)
d. 180.34.64.64/30 (180.34.64.64 ~ 180.34.64.67)

Problem 17: We need to make a supernetwork out of 16 class C blocks. What is the
supernetmask.

Solution:

We need 16 blocks. For 16 blocks we need to change four 1s to 0s in the default mask.So the
mask is

So,

11111111 11111111 11110000 00000000 is the supernet mask

Problem 18: A supernet has a first address of 205.16.32.0 and a supernet mask of
255.255.248.0. A router receives three packets with the following destination addresses.
a. 205.16.37.44
b. 205.16.42.76
c. 205.17.33.7
Which packet belongs to supernet?

Solution:
Adding 205.16.37.44 & 255.255.248.0 = 205.16.32.0
So 205.16.37.44 is the packet that belongs to supernet.
While the other two are not.

Problem 19: A supernet has a first address of 205.16.32.0 and a supernet mask of
255.255.248.0. How many blocks are in this supernet and what is the range of addresses?
Solution:
23=8
So there are 8 blocks.
And the range is
205.16.32.0----205.16.39.255

You might also like