0% found this document useful (0 votes)
2 views

Tutorial 2

The document is a tutorial sheet for the Computer Networks course at Manipal University Jaipur, detailing various questions related to IP address allocation and subnetting. It includes exercises on distributing IP address blocks to organizations and households, as well as explaining the loopback address. Additionally, it covers routing table analysis and packet forwarding examples for different destination addresses.

Uploaded by

anikeit
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Tutorial 2

The document is a tutorial sheet for the Computer Networks course at Manipal University Jaipur, detailing various questions related to IP address allocation and subnetting. It includes exercises on distributing IP address blocks to organizations and households, as well as explaining the loopback address. Additionally, it covers routing table analysis and packet forwarding examples for different destination addresses.

Uploaded by

anikeit
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

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 120.60.4.0/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 150.80.0.0/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 127.0.0.0/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 192.168.0.0/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
192.168.0.0/18 to 192.168.0.63/18
192.168.63.192 to 192.168.63.255/18
Second subnet
192.168.64.0/19 to 192.168.64.31/19
192.168.127.224/19 to 192.168.127.255/19
Third subnet
192.168.128.0/19 to 192.168.96.63 /19
192.168.159.192 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 192.16.7.42.


Destination address: 192.16.7.42 Binary: 11000000 00010000 00000111 00101010
Destination network: Class C Network address: 192.16.7.0
Next hop address: 111.15.17.32 → Interface: m0

B. A packet arrives at router R1 with destination address 145.80.14.26.


Destination address: 145.80.14.26 Binary: 10010001 01010000 00001110 00011010
Class B Network address: 145.80.0.0 Next hop address: 111.25.19.20 → Interface: m1
C. A packet arrives at router R1 destination address 147.26.50.30.
Binary: 10010011 00011010 00110010 00011110
Destination network: Class B Network address: 147.26.0.0 Next hop address: 111.30.31.18 →
Interface: m0

You might also like