Академический Документы
Профессиональный Документы
Культура Документы
1. Assuming a subnet mask of 255.255.248.0, which of the following address is not valid
host address?
b) 172.16.9.0
c) 172.16.8.0
d) 172.16.31.0
e) 172.16.20.0
Ans: b
Explanation: From the subnet mask of 255.255.248.0 we learn that the increment is 8 therefore
172.16.8.0 is a network address which cannot be assigned to a host. Other network addresses are
172.16.16.0, 172.16.24.0, 172.16.32.0… Notice that 172.16.31.0 is a valid host address (which
belongs to 172.16.24.0 to 172.16.31.255 subnet).
2. Which area of the network would a university IT staff most likely have to redesign as a
direct result of many students bringing their own tablets and smartphones to university to access
university resources?
a) intranet
b) wired LAN
c) wireless LAN
d) wireless WAN
Ans: c
3. You are given the IP Address of 193.103.20.0 /24 and need 50 Subnets. How many hosts
per network, and total networks do you get once subnetted?
a) 20 Hosts and 50 Subnets
b) 6 Hosts and 64 Subnets
c) 4 Hosts and 50 Subnets
d) 2 Hosts and 64 Subnets
Ans: d
Explanation: 193.103.20.0 Need 50 Networks
2^5 =32, 2^6=64 so need to borrow 6 bits for network,
host bit =2 ;Block size = 2^2 =4 ; no. of valid host/network = 2^2 -2 =2
2
PIPRALOY || Develop a passion for learning
4. What is the IP range of the last available network once you subnet? Your company has
been given the IP Address of 199.2.1.0 /24 to subnet. You plan to put each of the 5 floors in your
building on its own subnet.
a) 199.2.1.0 - 199.2.1.255
b) 199.2.1.32 - 199.2.1.64
c) 199.2.1.224 - 199.2.1.255
d) 199.2.1.252 - 199.2.1.255
Ans: c
Explanation: 199.2.1.0 /24 Need 5 Networks
2^3=8 so need to borrow 3 bits for network, host bit =5
Block size = 2^5 =32 ; no. of valid host/network = 2^5 -2 =30
5. Subnet the Class B IP Address 130.13.0.0 into 500 Subnets. What is the new Subnet
Mask and what is the Increment?
a) Subnet Mask 255.255.255.0 with an Increment of 2
b) Subnet Mask 255.255.255.192 with an increment of 128
c) Subnet Mask 255.255.255.128 with an increment of 128
d) Subnet Mask 255.255.255.128 with an increment of 64
Ans: c
Explanation: 130.13.0.0/16 ; network bit = 2^9 =512, host bit =16-9 =7
Block size (increment) = 2 ^7 =128
6. You have to subnet the IP Address 210.30.12.0 so there are 60 Hosts in each network. What
are the Broadcast Addresses of each Network?
A. 210.30.12.63, 210.30.12.127, 210.30.12.191, and 210.30.12.255
B. 210.30.12.64, 210.30.12.128, 210.30.12.192, and 210.30.12.255
C. 210.30.12.255
D. 210.30.12.0
Ans: a
Explanation: 210.30.12.0 Need 60 Hosts per Network 128 64 32 16 8 4 2 1 0 0 1 1 1 1 0 0 = 60
in binary Need to save 6 bits for # of Hosts New Subnet Mask = 255.255.255.11000000 (192) or
/26 ^ Increment = 64 2^2 = # of Networks = 4 2^6-2 = # of Hosts per Network = 62 All 4 IP
Ranges 210.30.12.0 - 210.30.12.63 12.64 12.127 12.128 12.191 12.192 12.255
17. Which address is used to test the functioning of NIC of the device?
a) 0.0.0.0
b) 127.0.0.1
c) 169.254.0.0
d) 192.0.2.0
Ans: b
18. Which of the following statement is not true?
a) 127.255.255.255 is loopback address
b) 169.255. 255.255 is link local address
5
PIPRALOY || Develop a passion for learning
d) 192.168.1.255
Ans: b
Explanation:
24. 192. 168.1.0 /24 is subdivided into 8 networks. Which one is not true?
a) Subnet mask address is 255.255.255.224
b) Host 192.168.1.65 resides in 3rd subnet
c) Network address of the ip 192.168.1.126 is 192.168.1.96
d) 192.168.1.225 is the network address of the ip 192.168.1.252
Ans: d
Explanation:
Subnet Network Address Host Range Broadcast Address
0 192.168.1.0/27 192.168.1.1 – 192.168.1.30 192.168.1.31
1 192.168.1.32/27 192.168.1.33 – 192.168.1.62 192.168.1.63
2 192.168.1.64/27 192.168.1.65 – 192.168.1.94 192.168.1.95
3 192.168.1.96/27 192.168.1.97 – 192.168.1.126 192.168.1.127
4 192.168.1.128/27 192.168.1.129 – 192.168.1.158 192.168.1.159
5 192.168.1.160/27 192.168.1.161 – 192.168.1.190 192.168.1.191
6 192.168.1.192/27 192.168.1.193 – 192.168.1.222 192.168.1.223
7 192.168.1.224/27 192.168.1.225 – 192.168.1.254 192.168.1.255
25. Which one is a valid host for the network address 172.16.16.0/22?
a) 172.16.19.255
b) 172.16.18.255
c) 172.16.20.10
d) None of the above
Ans: b
Explanation: 172.16.16.0/22 valid host range 172.16.16.1 -172.16.19.254. 172.16.18.255 belongs
to this range. 172.16.19.255 is the broadcast address.
Ans: c
Explanation: Given ip 10.48.31.254/21 . network bit =5, host bit = 3 block size = 2^3 = 8
Subnet Network ID Host range
29. You have a network that needs 29 subnets while maximizing the number of host
addresses available on each subnet. How many bits must you borrow from the host field to
provide the correct subnet mask?
a) 2
b) 3
c) 4
d) 5
Ans: b
Explanation: A 240 mask is 4 subnet bits and provides 16 subnets, each with 14 hosts. We need
more subnets, so let’s add subnet bits. One more subnet bit would be a 248 mask. This provides
5 subnet bits (32 subnets) with 3 host bits (6 hosts per subnet). This is the best answer.
30. You have an interface on a router with the IP address of 192.168.192.10/29. Including the
router interface, how many hosts can have IP addresses on the LAN attached to the router
8
PIPRALOY || Develop a passion for learning
interface?
a) 6
b) 8
c) 30
d) 32
Ans: a
Explanation: A /29 (255.255.255.248), regardless of the class of address, has only 3 host bits. Six
hosts are the maximum number of hosts on this LAN, including the router interface. Out of the 8
addresses possible with the host bits, the first and the last address are for the subnet id and
broadcast address respectively.
31. If a host on a network has the address 172.16.45.14/30, what is the subnetwork this host
belongs to?
a) 172.16.45.0
b) 172.16.45.4
c) 172.16.45.8
d) 172.16.45.12
Ans: d
32. What is the subnetwork address for a host with the IP address 200.10.5.68/28?
a) 200.10.5.56
b) 200.10.5.32
c) 200.10.5.64
d) 200.10.5.0
Ans: c
Explanation: A /28 is 255.255.255.240, which means that our block size is 16 in the fourth octet.
0, 16, 32, 48, 64, 80, etc. The host is in the 64 subnet.
33. On a VLSM network, which mask should you use on point-to-point WAN links in order
to reduce the waste of IP addresses?
a) /27
b) /28
c) /29
d) /30
Ans: d
Explanation: A point-to-point link uses only two hosts. A /30, or 255.255.255.252, mask
provides two hosts per subnet.
34. To test the IP stack on your local host, which IP address would you ping?
a) 127.0.0.0
9
PIPRALOY || Develop a passion for learning
b) 1.0.0.127
c) 127.0.0.1
d) 127.0.0.255
Ans: c
35. 11100010 has a decimal value of ________
a) 252 b) 225 c) 226 d) 220
Ans: c
36. Which one is correct for subnet mask?
a) 48 bits long
b) When written in binary, 0s in the subnet mask represents network portion
c) Default subnet mask for class B is 255.254.0.0
d) When the IP address of a host is configured, a subnet mask is assigned along with an IP
address.
Ans: d
37. Which one is a private IP address?
a) 100.10.0.1
b) 172.15.100.21
c) 168.172.19.51
d) 192.168.11.11
Ans: d
38. Which one is Broadcast IP Address ?
a) 127.0.0.1
b) 255.0.0.0
c) 255.255.0.0
d) 255.255.255.255
Ans: c
39. What is the first available host address of subnet one (NOT subnet zero) for the network
id 203.28.62.0 which has a requirement of 56 subnets?
a) 203.28.62.1
b) 203.28.62.4
c) 203.28.62.5
d) 203.28.62.6
Ans: c
Explanation: Number of network bit required for 56 subnets is 6 (2^6=64). So the number of host
bit is 2. Block size =2^2 =4.
10
PIPRALOY || Develop a passion for learning
40. You have an IP of 156.233.42.56 with a subnet mask of 7 bits. How many subnets and
hosts/subnet are possible assuming that subnet 0 is not used?
a) 126 subnets and 510 hosts
b) 128 subnets and 512 hosts
c) 510 subnets and 126 hosts
d) 512 subnets and 128 hosts
Ans: a
Explanation: This is a class b ip address. With subnet mask of 7 bits (no. of network bit) the
CIDR value is /23. No. of host bit = 32-23 = 9. No. of subnet =2^7 =128. We need to minus
subnet 0, so no. of subnets become 127. Since 127 is not in any option we have to pick 126.
No. of host/subnet =2^9 -2 =510 [you have to always consider valid hosts in this type of
question].
41. What is the purpose of a subnet mask in an IP address and mask combination?
a) To indicate the default gateway IP address
b) To dictate the physical location of the address
c) To save on the possible addresses that you can use in the network
d) To delineate the network portion of the address from the host portion
Ans: d
42. Which of the following statements about VLSM is incorrect?
a) It is not possible to use a /31 bit mask in production
b) When you use VLSM, you are taking an unused subnet and further subnetting it
c) You can create subnets of just the right size with VLSM
d) VLSM helps with summarization in networks
Ans: a
Explanation: Many routers in production can use a /31 mask. This is often done on WAN links
where no more than two nodes are addressed in the subnet.
43. How many bits are in one of the four octets of an IP address?
a) 4
b) 8
c) 16
d) 32
Ans: b
11
PIPRALOY || Develop a passion for learning
i. 172.16.1.100
ii. 172.16.1.198
iii. 172.16.2.255
iv. 172.16.3.0
a) i only b) ii & iii c) iii & iv d) iv only
Ans: c
Explanation: The router's IP address on the E0 interface is 172.16.2.1/23, which is
255.255.254.0. This makes the third octet a block size of 2. The router's interface is in the 2.0
subnet, and the broadcast address is 3.255 because the next subnet is 4.0. The valid host range is
2.1 through 3.254. The router is using the first valid host address in the range.
subnet. The next subnet is 4.0, so the broadcast address for the 2.0 subnet is 3.255. The valid host
addresses are 2.1 through 3.254.
48. Subnet the Class C IP Address 205.11.2.0 so that you have 30 subnets. What is the IP
address of host 3 on subnet 2 ?
a) 205.11.2.3
b) 205.11.2.11
c) 205.11.2.18
d) 205.11.2.19
Ans: d
Explanation: subnet 2 means 3rd subnet
For 30 subnet no. network bit will be = 5 [2^5 = 32]
No. of Host bit = 3
Block size = 2^3 = 8
49. You have been allocated a class A network address of 29.0.0.0. You need to create at
least 20 networks and each network will support a maximum of 160 hosts. Which subnet mask
you have to use to minimize ip loss?
a) 255.255.0.0
b) 255.255.255.0
c) 255.255.255.128
d) 255.255.128.0
Ans: c
Explanation: 2^7-2 =126
2^8 -2 =254 ; /24 (255.255.255.0) is enough
50. The network address 135.10.1.0 having maximum of 6 hosts per subnet. What will be the
subnet mask in CIDR notation?
a) /8
b) /16
c) /19
d) /21
Ans: d
Explanation: host bit =3 , network bit =5 , since 135.10.1.0 is class B ip address, the subnet mask
will be /21 (255.255.248.0)
13
PIPRALOY || Develop a passion for learning