In the IPv4 addressing format, the number of networks allowed under Class C addresses is
Question 1 Explanation:
In class C, 8 bits are reserved for Host Id and 24 bits are reserved for Network Id. Out of these 24 Network Id bits, the leading 3 bits are fixed as 110. So remaining 21 bits can be used for different networks. See this for more details.
A n Internet Service Provider (ISP) has the following chunk of CIDR-based IP addresses available with it: 245.248.128.0/20. The ISP wants to give half of this chunk of addresses to Organization A, and a quarter to Organization B, while retaining the remaining with itself. Which of the following is a valid allocation of addresses to A and B?
245.248.136.0/21 and 245.248.128.0/22
245.248.128.0/21 and 245.248.128.0/22
245.248.132.0/22 and 245.248.132.0/21
245.248.136.0/24 and 245.248.132.0/21
Question 2 Explanation:
See Question 4 of http://www.geeksforgeeks.org/computer-networks-set-1/
Suppose computers A and B have IP addresses 10.105.1.113 and 10.105.1.91 respectively and they both use the same netmask N. Which of the values of N given below should not be used if A and B should belong to the same network?
Question 3 Explanation:
See question 2 http://www.geeksforgeeks.org/computer-networks-set-4-2/
If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?
Question 4 Explanation:
See Question 3 of http://www.geeksforgeeks.org/computer-networks-set-7/
The address of a class B host is to be split into subnets with a 6-bit subnet number. What is the maximum number of subnets and the maximum number of hosts in each subnet?
62 subnets and 262142 hosts.
64 subnets and 262142 hosts.
62 subnets and 1022 hosts.
64 subnets and 1024 hosts.
Question 5 Explanation:
See question 1 of http://www.geeksforgeeks.org/computer-networks-set-10/
The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?
22.214.171.124 and 126.96.36.199
10.35.28.2 and 10.35.29.4
188.8.131.52 and 184.108.40.206
220.127.116.11 and 18.104.22.168
Question 6 Explanation:
Background required - Subnetting and SubNet Mask Answer - D Explanation - Suppose we have a host A with IP Address IPA and Subnet mask of the subnet of which A is a part is Ms. Now when A wants to send packet to a host B with an IP address say IPB, then A will first AND the subnet-Mask Ms with IPA to find out the subnet-id IDN of the subnet in order to identify whether IPB belongs to the same network. Now if B also belongs to the same network, then IPB BITWISE-AND Ms must be equal to IDN which A has calculated. If IPA and IPB belongs to same network, we must have
IPA BITWISE-AND Ms == IPBBITWISE-AND MsOut of the 4 options, only option D matches.
22.214.171.124 BITWISE-AND 255.255.31.0 = 126.96.36.199 188.8.131.52 BITWISE-AND 255.255.31.0 = 184.108.40.206You can check rest of the options. This explanation has been provided by Pranjul Ahuja.
Consider the following routing table at an IP router For each IP address in Group-I identify the correct choice of the next hop from Group-II using the entries from the routing table above.
List-I List-II A. 220.127.116.11 1. Interface 0 B. 18.104.22.168 2. Interface 1 C. 22.214.171.124 3. R2 D. 126.96.36.199 4. R3 5. R4 Codes: A B C D (a) 1 3 5 4 (b) 1 4 2 5 (c) 2 3 4 5 (d) 2 3 5 4
Question 7 Explanation:
The next hop is decide according to the longest prefix matching. Refer following link for details. https://www.youtube.com/watch?v=PSC5omE3pX8&list=PLkHsKoi6eZnzJl1qTzmvBwTxrSJW4D2Jj&index=32
Which of the following IP address can be used in WAN?
Question 8 Explanation:
10.0.0.1 and 172.16.0.10 are private IP address. Thus cannot be used in WAN. 188.8.131.52 is a public IP address.
Which of the following can be used as both Source and Destination IP ?
Question 9 Explanation:
192.168.1.255 is a Direct Broadcast Address (DBA), DBA can't be used as Source Address. 127.0.0.1 Loop back address agsin can't be used as source address. 255.255.255.255 is Limited Broadcast Address, which cannot be used as DBA. 10.0.0.1 can be both used as both source and destination IP address.
There are 35 questions to complete.
My Personal Notes arrow_drop_up