You are on page 1of 21

1

NET 323
NETWORKS PROTOCOLS
Networks and Communication
Systems Department Chapter 1 and Chapter 2 Exercises
Chapter #1
Introduction

Networks and Communication Systems Department


Question 1
3

Networks and Communication Systems Department


Answer
4

Networks and Communication Systems Department


Question 2
5

Networks and Communication Systems Department


Answer
6

Networks and Communication Systems Department


Chapter #2
IP addressing (subnetting)

Networks and Communication Systems Department


Question # 1
8

 An organization is granted the block


211.17.180.0/24.
 The administrator wants to create 32 subnets.

1. Find the subnet mask.


2. Find the number of address in each subnet
3. Find the first and last address in subnet 1

Networks and Communication Systems Department


Answer
9

1. Find the subnet mask.


Number of extra 1s = 𝑙𝑜𝑔2 32 = 5
Subnet Mask: /29 (24 + 5)

2. Find the number of address in each subnet


Number of addresses = 232−29 = 23 = 8 addresses
per subnet

Networks and Communication Systems Department


Answer cont.
10

3. Find the first and last address in subnet 1

Networks and Communication Systems Department


Question # 2
11

 An organization is granted a block of


addresses 192.168.1.0/24.
 The organization has three branches and needs

to divide the addresses into three subnets (each


subnet has 6 hosts)
 Find the subnet mask, subnet and broadcast
address for each subnet.

Networks and Communication Systems Department


Answer
12

 Subnet mask for the three subnets:


# of address= 232−𝑛
 8 = 232−𝑛
 23 = 232−𝑛
 3= 32-n
 n= 32-3 = 29
Subnet mask = /29

# of address in each subnet = 23 = 8

Networks and Communication Systems Department


Answer cont.
13

Subnet # Subnet address Broadcast hosts


address
1 192.168,1.0/29 192.168.1.7 192.168.1.1- 191.168.1.6
2 192.168,1.8/29 192.168.1.15 192.168.1.9- 191.168.1.14
3 192.168,1.16/29 192.168.1.23 192.168.1.17- 191.168.1.22

Networks and Communication Systems Department


Question # 3
14

 An organization is granted a block of


addresses 208.3.30.0/24
 The organization has three offices and needs

to divide the addresses into three subnets and


each subnet has 10 hosts.
 Find the subnet mask, subnet and broadcast
address for each subnet.

Networks and Communication Systems Department


Answer
15

 Subnet mask for the three subnets:


# of address= 232−𝑛
 16 = 232−𝑛
 24 = 232−𝑛
 4= 32-n
 n= 32-4 = 28
Subnet mask = /28

# of address in each subnet = 2𝟒 = 16

Networks and Communication Systems Department


Answer cont.
16

Subnet # Subnet address Broadcast hosts


address
1 208.3.30.0/28 208.3.30.15 208.3.30.1 - 208.3.30.14
2 208.3.30.16/28 208.3.30.31 208.3.30.17 - 208.3.30.30
3 208.3.30.32/28 208.3.30.47 208.3.30.33 - 208.3.30.46

Networks and Communication Systems Department


Question # 4
17

 An organization is granted a block of addresses


200.3.2.0/24
 The organization has three offices in different cities and
needs to divide the addresses into three subnets as the
following table:
City Number of hosts
Riyadh 40
Jeddah 10
Dammam 6

 Find the subnet mask, the subnet and broadcast address


for each subnet.

Networks and Communication Systems Department


Answer
18

Riyadh
Subnet mask for the Riyadh subnet
# of address= 232−𝑛
 64 = 232−𝑛
 26 = 232−𝑛
 6= 32-n
 n= 32-6 = 26
Subnet mask = /26

# of address in Riyadh subnet = 2𝟔 = 64

Networks and Communication Systems Department


Answer cont.
19

Jeddah
Subnet mask for the Jeddah subnet
# of address= 232−𝑛
 16 = 232−𝑛
 24 = 232−𝑛
 4= 32-n
 n= 32-4 = 28
Subnet mask = /28

# of address in Jeddah subnet = 2𝟒 = 16

Networks and Communication Systems Department


Answer cont.
20

Dammam
Subnet mask for the Dammam subnet
# of address= 232−𝑛
 8 = 232−𝑛
 23 = 232−𝑛
 3= 32-n
 n= 32-3 = 29
Subnet mask = /29

# of address in Dammam subnet = 23 = 8

Networks and Communication Systems Department


Answer cont.
21

Subnet # Subnet address Broadcast hosts


address
Riyadh 200.3.2.0/26 172.16.0.63/26 172.16.0.1 -172.16.0.62
Jeddah 1200.3.2.64/26 172.16.0.79/26 172.16.0.65 - 172.16.0.78
Dammam 200.3.2.80/26 172.16.0.87/26 172.16.0.81 - 172.16.0.86

Networks and Communication Systems Department

You might also like