1/2
Assignment-2
Marks: 10
IP Addressing and Subnetting
1. Write the default Masks for the Class A, Cla ss B and Class C IP addresses.
2. How we can distinguish Class A, Class B, Class C, Class D a nd Class E IP addresses from each
other. Write the range of first octet in decimal for all the 5 IP address classes
3. Write the default subnet Masks f or the following IP addresses:
a. 139.65.225.4
b. 201.35.20.18
c. 10.7.80.0
4. Write down the three available ranges for assigning Private IP addresses recommended by IANA
(Internet Assigned Number Authority).
5. What is the difference between a broadcast address and Network address? Why the all zeros
and all ones addresses are not assigned as host IP a ddresses?
6. A subnet mask is used to distinguish how many bits a re there in Network ID portion and how
ma ny are in host ID portion. We ca n extract the Network Address from the given IP address
using the mask. (Assume that no subnetting is done). Extract the network address from the
following IP addresses:
a. 139.65.225.4
b. 201.35.20.18
c. 190.47.115.6
7. A broadcast address is the one that addresses to all the hosts in any network. State that to create a
broadca st address, a ll the bits of network ID portion or all the bits of host ID portion are set to 1?
Write down the broa dcast addresses of the networks to which the f ollowing IP addresses belong.
(No subnetting)
a. 139.65.225.4
b. 201.35.20.18
c. 190.47.115.6
8. Subnet Mask or Custom mask tells us that how ma ny bits are used for Subnet ID portion a nd how
ma ny for host ID portion. Identify how ma ny bits are use d for subnetting in the following IP
address using its subnet mask:
a. IP Address: 139.65.225.4 Subnet Mask: 255.255.224.0
b. IP Address: 201.35.20.18 Subnet Mask: 255.255.255.240
c. IP Address: 190.47.115.6 Subnet Mask: 255.255.252.0
9. Extract the Network Addresses of the given IP a ddresses in question number 8, using the subnet
ma sks given with them. (Remember tha t ANDing the IP address with the Mask extracts the
network a ddress from the given IP address).
10. Which of the following Subnet m asks would a llow a class B network to a llow subnets to have up
to 150 hosts and allow for up to 164 subnets?
a. 255.0.0.0
b. 255.255.0.0
c. 255.255.255.0
d. 255.255.192.0