It224 - sh4 - Ma1
It224 - sh4 - Ma1
It224 - sh4 - Ma1
Multiple-Choice Questions
3. A subnet mask in class B can have _______ 1s with the remaining bits 0s.
a. Nine.
b. Fourteen.
c. Seventeen.
d. Three.
4. A subnet mask in class C has twenty-five 1s. How many subnets does it define?
a. 2
b. 8
c. 16
d. 0
5. Given the IP address 18.250.31.14 and the subnet mask 255.240.0.0, what is the subnet
address?
a. 18.0.0.14
b. 18.31.0.14
c. 18.240.0.0
d. 18.9.0.14
6. Class _______ has the greatest number of hosts per given network address.
a. A
b. B
c. C
d. D
a. Router
b. Server
c. Switch
d. None of the above
Page 1 of 3
Exercises
1. Find the class of the following IP addresses.
a. 243.34.2.1 class E
b. 11000111 10010000 00000110 00001000 class C
Page 2 of 3
7. Consider the network structure shown below.
step 2
step 1
222.17.8.4 , 5000
200.24.5.8 , 80 192.168.0.2 1400
200.24.5.8 , 80
200.24.5.8 , 80
192.168.0.3 , 1401
step 3
200.24.5.8 , 80 200.24.5.8 , 80
192.168.0.3 , 1401
222.17.8.4 ,5000 222.17.8.4 , 5001
200.24.5.8 , 80
Suppose that the network address of the home network is 192.168.0.0/24 and that the global
address of Router is 222.17.8.4. Host A and B has one ongoing TCP connection, all to port 80
at the external host 200.24.5.8
Router
192.168.0.2
1400 5000 80
200.24.5.8 TCP
(B) If a host A and B needs to communicate with the external host 200.24.5.8. Fill the
header in the format of (IP, Port) at each stage(do that by filling the blanks in the
diagram)
Page 3 of 3