Manipal University Jaipur
Department of Computer Science and Engineering
Tutorial Sheet No: 2
Academic Session : 2023-24 Semester (Even/Odd) : Even
Course No and Name : CS 1304 and Computer Networks
Q1. An ISP is granted a block of addresses starting with [Link]/20. The ISP wants to distribute these
blocks to 100 organizations with each organization receiving 8 addresses only. Design the subblocks and
give the slash notation for each subblock. Find out how many addresses are still available after these
allocations.
Q2. An ISP is granted a block of addresses starting with [Link]/16. The ISP wants to distribute these
blocks to 2600 customers as follows:
a. The first group has 200 medium-size businesses; each need approximately 128 addresses.
b. The second group has 400 small businesses: each need approximately 16 addresses.
c. The third group has 2000 households: each need 4 addresses. Design the subblocks and give the slash
notation for each subblock. Find out how many addresses are still available after these allocations.
Describe the loop back address?
Q3.
The block [Link]/8 is used for the loopback address, which is an address used to test the software on
a machine. When this address is used, a packet never leaves the machine; it simply returns to the
protocol software
An ISP is granted a block of addresses starting with [Link]/16 The ISP wants to distribute these
Q4. blocks to customers in the following order:
a. The first group has 256 medium-size businesses; each need approximately 64 addresses.
b. The second group has 512 small businesses: each need approximately 32 addresses.
c. The third group has 128 households: each need 64 addressee.
Design the subblocks and give the first and last address with slash notation of each subblock.
SOLUTIONS
First subnet
[Link]/18 to [Link]/18
[Link] to [Link]/18
Second subnet
[Link]/19 to [Link]/19
[Link]/19 to [Link]/19
Third subnet
[Link]/19 to [Link] /19
[Link] to 192.168.255 /19
Q5. Consider the below figure and find out the routing table
Solution
Show how packets are forwarded:
A. A packet arrives at router R1 with destination address [Link].
Destination address: [Link] Binary: 11000000 00010000 00000111 00101010
Destination network: Class C Network address: [Link]
Next hop address: [Link] → Interface: m0
B. A packet arrives at router R1 with destination address [Link].
Destination address: [Link] Binary: 10010001 01010000 00001110 00011010
Class B Network address: [Link] Next hop address: [Link] → Interface: m1
C. A packet arrives at router R1 destination address [Link].
Binary: 10010011 00011010 00110010 00011110
Destination network: Class B Network address: [Link] Next hop address: [Link] →
Interface: m0