Uploaded by Agha Muhammad Yar Khan

aghalab8

advertisement
Software construction and development
DEPARTMENT OF SOFTWARE ENGINEERING
HITEC UNIVERSITY TAXILA
LAB REPORT # 6
Submitted by :Agha Muhammad Yar Khan 20 se 047
Azan habib 20 se 0
Submitted to :Sir Waqas
Experiment # 07
Introduction to IP ADDRESSES AND SUBNETTING
Objective
In this lab we will learn about IP addresses and sub netting.
Lab Task
1. Write the class of each address.
a) 00000001 00001011 00001011 11101111
b) 11000001 10000011 00011011 11111111
c) 14.23.120.8
d) 252.5.15.111
Answer:-
a)
b)
c)
d)
This ip belongs to Class A
This ip belongs to Class A
This ip also belongs to class A
This ip belongs to class D
2. A block of addresses is granted to a small organization. We know that one
of the addresses is
205.16.37.39/28. Write its:
a) Network Address
b) The first usable address
c) The last usable address
d) The broadcast address.
e) The total number of addresses.
Answer:-
a)
b)
c)
d)
e)
f)
the network address for this ip is 205.16.37.36
the first useable ip address is 205.16.37.1
the last usable ip address is 205.16.37.254
the broadcast address is 205.16.37.39
total number of addresses will be 64
3. Your company would like to break the Class B private IP address range
172.16.0.0 into 60 different
subnets. Practice the breakdown of IP ranges accordingly.
ANSWER:For breaking down the ip address into the subnets in class b we will follow a procedure .
Total 8 networks are formed as the difference of 32 bits between each host id is attained.
Network 1 :For the network id of 172.16.0.o the host ids will be as follows
172.16.0.1, 172.16.0.2, 172.16.0.3 , 172.16.04, 172.16.0.5, 172.16.0.6, 172.16.0.7, 172.16.0.8,
172.16.0.9, 172.16.0.10, 172.16.0.11, 172.16.0.12, 172.16.0.13 , 172.16.014, 172.16.0.15,
172.16.0.16, 172.16.0.17, 172.16.0.18, 172.16.0.19, 172.16.0.20
172.16.0.21, 172.16.0.22, 172.16.0.23 , 172.16.024, 172.16.0.25, 172.16.0.26, 172.16.0.27,
172.16.0.28, 172.16.0.29, 172.16.0.30
172.16.0.31, 172.16.0.32, 172.16.0.33 , 172.16.0.34, 172.16.0.35, 172.16.0.36, 172.16.0.37,
172.16.0.38, 172.16.0.39, 172.16.0.40
172.16.0.41, 172.16.0.42, 172.16.0.43 , 172.16.0.44, 172.16.0.45, 172.16.0.46, 172.16.0.47,
172.16.0.48, 172.16.0.49, 172.16.0.50
172.16.0.51, 172.16.0.52, 172.16.0.53 , 172.16.0.54, 172.16.0.55, 172.16.0.56, 172.16.0.57,
172.16.0.58, 172.16.0.59, 172.16.0.60
Download