पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।
भाषा
प्रश्न 1उत्तर + हल
classless addressing में बदलता रहने वाला हिस्सा, जो hostid जैसा काम करता है, क्या कहलाता है?
In classless addressing, the _______ is the varying part (similar to the hostid).
Asuffix
Bprefix
Chostid
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (A)
हल / Solution
classless पते के दो हिस्से होते हैं। शुरू का साझा हिस्सा prefix कहलाता है और उसके बाद का बदलने वाला हिस्सा suffix। block के हर पते में suffix अलग होता है, इसलिए वही classful पद्धति के hostid जैसा काम करता है। पर नाम अलग रखा गया है — classless में hostid शब्द चलता ही नहीं, क्योंकि वहाँ लंबाई वर्ग से नहीं, prefix से तय होती है। इसलिए पहला विकल्प सही है।
A classless address has two parts. The shared part at the start is called the prefix, and the varying part after it is called the suffix. The suffix differs for every address in the block, so it does the same job as the hostid of the classful system. The name, however, is deliberately different: the word hostid is not used in classless addressing, because there the length is set by the prefix and not by a class.
प्रश्न 2उत्तर + हल
classless addressing में पतों की सीमा के साझा हिस्से को और किस नाम से पुकारा जाता है?
In classless addressing, the ______ is another name for the common part of the address range.
Asuffix
Bprefix
Cnetid
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (B)
हल / Solution
classless पद्धति में पते के शुरू के कुछ बिट पूरे block में एक जैसे रहते हैं। यही साझा हिस्सा prefix कहलाता है और mask उसी की लंबाई बताता है, जैसे /26 में छब्बीस बिट। उसके आगे का बदलने वाला हिस्सा suffix होता है, इसलिए पहला विकल्प ग़लत है। netid शब्द classful पद्धति का है, जहाँ लंबाई वर्ग से तय होती थी; classless में उसी काम को prefix कहते हैं।
In the classless system some leading bits of the address stay the same across the whole block. That shared part is called the prefix, and the mask states its length, as in a /26 where twenty-six bits are fixed. The varying part that follows is the suffix, so the first option is wrong. The word netid comes from the classful system, where the length was decided by the class; in classless addressing the same idea is called the prefix.
प्रश्न 3उत्तर + हल
CIDR notation में class C का default mask क्या है?
What is the default mask for class C in CIDR notation?
A/24
B/8
C/16
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (A)
हल / Solution
class C में शुरू के तीन octet network के होते हैं, यानी 24 बिट पक्के रहते हैं, और आख़िरी octet host के लिए बचता है। इसलिए CIDR में उसका default mask /24 है, जो 255.255.255.0 के बराबर है और block में 256 पते छोड़ता है। /8 class A का और /16 class B का default mask है, इसलिए वे यहाँ ग़लत हैं। सही विकल्प मौजूद है, इसलिए आख़िरी विकल्प भी नहीं लिया जाएगा।
In class C the first three octets belong to the network, so 24 bits stay fixed and the last octet is left for hosts. Hence its default mask in CIDR is /24, which equals 255.255.255.0 and leaves 256 addresses in a block. The mask /8 is the default for class A and /16 for class B, so both are wrong here. Since a correct option is present, the last option is ruled out as well.
प्रश्न 4उत्तर + हल
CIDR notation में class B का default mask क्या है?
What is the default mask for class B in CIDR notation?
A/9
B/8
C/16
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (C)
हल / Solution
class B में शुरू के दो octet network के होते हैं, यानी 16 बिट पक्के रहते हैं। इसलिए CIDR में उसका default mask /16 लिखा जाता है, जो 255.255.0.0 के बराबर है और हर block में 65,536 पते छोड़ता है। /8 class A का mask है और /24 class C का, इसलिए वे यहाँ नहीं चलेंगे। /9 किसी वर्ग का default mask नहीं; वह class A के block को subnet में बाँटने पर बनता है।
In class B the first two octets belong to the network, so 16 bits stay fixed. Hence in CIDR its default mask is written as /16, which equals 255.255.0.0 and leaves 65,536 addresses in every block. The mask /8 belongs to class A and /24 to class C, so neither fits here. A /9 is not the default mask of any class; it appears when a class A block is divided into subnets.
प्रश्न 5उत्तर + हल
CIDR notation में class A का default mask क्या है?
What is the default mask for class A in CIDR notation?
A/9
B/8
C/16
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (B)
हल / Solution
class A में सिर्फ़ पहला octet network का होता है, यानी शुरू के 8 बिट पक्के रहते हैं। CIDR में mask इन्हीं पक्के बिट की गिनती से लिखा जाता है, इसलिए class A का default mask /8 हुआ, जो 255.0.0.0 के बराबर है। /16 class B का mask है और /24 class C का। /9 किसी वर्ग का default mask नहीं है; ऐसा prefix तभी बनता है जब block को subnet में बाँटा जाए।
In class A only the first octet belongs to the network, so the first 8 bits stay fixed. In CIDR the mask is written as the count of those fixed bits, so the default mask for class A is /8, which equals 255.0.0.0. The mask /16 belongs to class B and /24 to class C. A /9 is not the default mask of any class; such a prefix appears only when a block is divided into subnets.
प्रश्न 6उत्तर + हल
एक संस्था को classless पतों का block मिला है, जिसका पहला पता 199.34.32.0/27 है। उसे कुल कितने पते मिले?
An organization is granted a block of classless addresses with the starting address 199.34.32.0/27. How many addresses are granted?
A8
B16
C32
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (C)
हल / Solution
prefix /27 का है, इसलिए 32 में से 27 घटाने पर 5 बिट खुले बचते हैं। 2 की पाँचवीं घात यानी 32 पते मिलते हैं, जो 199.34.32.0 से 199.34.32.31 तक चलते हैं। पहला और आख़िरी पता छोड़ने पर 30 host रखे जा सकते हैं। 8 पते /29 पर और 16 पते /28 पर मिलते, इसलिए वे विकल्प ग़लत हैं। शुरुआत .0 है, जो 32 से पूरी कटती है, इसलिए block ठीक बैठा है।
The prefix is /27, so subtracting 27 from 32 leaves 5 free bits. Five bits give 2 to the power 5, that is 32 addresses, running from 199.34.32.0 to 199.34.32.31. Leaving out the first and the last address, 30 hosts can be placed. A count of 8 would need /29 and a count of 16 would need /28, so those options are wrong. The start .0 divides evenly by 32, so the block is properly aligned.
प्रश्न 7उत्तर + हल
एक संस्था को classless पतों का block मिला है, जिसका पहला पता 199.34.76.128/29 है। उसे कुल कितने पते मिले?
An organization is granted a block of classless addresses with the starting address 199.34.76.128/29. How many addresses are granted?
A8
B16
C32
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (A)
हल / Solution
prefix /29 का है, इसलिए 32 में से 29 घटाने पर 3 बिट खुले बचते हैं। 2 की तीसरी घात यानी 8 पते मिलते हैं, जो 199.34.76.128 से 199.34.76.135 तक चलते हैं। पहला network पता और आख़िरी broadcast पता हटाने पर सिर्फ़ 6 host रखे जा सकते हैं। 16 पते /28 पर मिलते और 32 पते /27 पर। ध्यान दीजिए कि शुरुआत .128 है, जो 8 से पूरी कट जाती है।
The prefix is /29, so subtracting 29 from 32 leaves 3 free bits. Three bits give 2 to the power 3, that is 8 addresses, running from 199.34.76.128 to 199.34.76.135. After removing the first network address and the last broadcast address, only 6 hosts can be placed. A count of 16 would need /28 and a count of 32 would need /27. Note also that the start .128 divides evenly by 8.
प्रश्न 8उत्तर + हल
एक संस्था को classless पतों का block मिला है, जिसका पहला पता 199.34.76.64/28 है। उसे कुल कितने पते मिले?
An organization is granted a block of classless addresses with the starting address 199.34.76.64/28. How many addresses are granted?
A8
B16
C32
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (B)
हल / Solution
prefix /28 का है, इसलिए 32 में से 28 घटाने पर 4 बिट खुले बचते हैं। 2 की चौथी घात यानी 16 पते मिलते हैं, जो 199.34.76.64 से 199.34.76.79 तक चलते हैं। इनमें पहला network पता और आख़िरी broadcast पता निकाल दें तो host के लिए 14 पते रह जाते हैं। 8 पते /29 पर मिलते और 32 पते /27 पर, इसलिए वे दोनों विकल्प यहाँ नहीं चलेंगे।
The prefix is /28, so subtracting 28 from 32 leaves 4 free bits. Four bits give 2 to the power 4, that is 16 addresses, running from 199.34.76.64 to 199.34.76.79. If the first network address and the last broadcast address are removed, 14 addresses are left for hosts. A count of 8 would need /29 and a count of 32 would need /27, so neither of those options fits here.
प्रश्न 9उत्तर + हल
एक संस्था को block मिला है, जिसका एक पता 2.2.2.64/25 है। यदि subnet का prefix /28 रखा जाए, तो अधिकतम कितने subnet बनेंगे?
An organization is granted a block; one address is 2.2.2.64/25. If the subnet prefix length is /28, what is the maximum number of subnets?
A2
B4
C8
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (C)
हल / Solution
subnet की संख्या दोनों prefix के अंतर से निकलती है। यहाँ block का prefix /25 है और subnet का /28, इसलिए 28 में से 25 घटाकर 3 बिट subnet को मिलते हैं। 2 की तीसरी घात यानी 8 subnet बनते हैं। जाँच भी आसान है — हर subnet में 16 पते होंगे और 8 गुना 16 बराबर 128, जो /25 वाले block के कुल पतों जितना ही है। 2 subnet /26 पर बनते और 4 subnet /27 पर।
The number of subnets comes from the difference between the two prefixes. Here the block prefix is /25 and the subnet prefix is /28, so subtracting 25 from 28 gives the subnet 3 bits. Three bits give 8 subnets. The check is easy too: each subnet holds 16 addresses and 8 times 16 is 128, exactly the size of a /25 block. A /26 would give 2 subnets and a /27 would give 4.
प्रश्न 10उत्तर + हल
एक संस्था को block मिला है, जिसका एक पता 2.2.2.64/20 है। संस्था को 10 subnet चाहिए। subnet का prefix कितना लंबा होगा?
An organization is granted a block; one address is 2.2.2.64/20. The organization needs 10 subnets. What is the subnet prefix length?
A/20
B/24
C/25
Dइनमें से कोई नहींnone of the above
सही उत्तर / Answer: (B)
हल / Solution
subnet बनाने के लिए इतने बिट चाहिए कि उनकी 2 पर घात 10 से कम न पड़े। 3 बिट से सिर्फ़ 8 subnet बनते हैं, जो कम पड़ जाते हैं, इसलिए 4 बिट लेने पड़ेंगे और उनसे 16 subnet बन जाएँगे। ये चार बिट block के prefix में जुड़ते हैं, इसलिए 20 और 4 जोड़कर subnet का prefix /24 हो जाता है। /20 तो मूल block का prefix है और /25 से ज़रूरत से ज़्यादा subnet बनते।
To make the subnets you need enough bits so that 2 raised to their count is not less than 10. Three bits give only 8 subnets, which falls short, so four bits must be taken and they give 16 subnets. Those four bits are added to the prefix of the block, so 20 plus 4 makes the subnet prefix /24. The value /20 is the prefix of the original block and /25 would create far more subnets than needed.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
एक ISP के पास CIDR आधारित पतों का block 245.248.128.0/20 है। वह इसका आधा भाग संस्था A को और चौथाई भाग संस्था B को देना चाहता है, बाक़ी अपने पास रखना चाहता है। A और B को पते देने का कौन सा बँटवारा सही है?
An 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?
A245.248.136.0/21 और 245.248.128.0/22245.248.136.0/21 and 245.248.128.0/22
B245.248.128.0/21 और 245.248.128.0/22245.248.128.0/21 and 245.248.128.0/22
C245.248.132.0/22 और 245.248.132.0/21245.248.132.0/22 and 245.248.132.0/21
D245.248.136.0/24 और 245.248.132.0/21245.248.136.0/24 and 245.248.132.0/21
मान लीजिए कंप्यूटर A और B के IP पते 10.105.1.113 और 10.105.1.91 हैं और दोनों एक ही netmask N इस्तेमाल करते हैं। यदि A और B को एक ही network में रहना है, तो N का कौन सा मान नहीं लेना चाहिए?
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?