Network Layer Protocol · Computer Networks
74 questions · asked in 23 of 27 years (2000–2026)
MCQ 54 · MSQ 7 · NAT 131-mark 44 · 2-mark 30
2000Questions per year2026
Questions 61–65 of 74
Assume that "host1.mydomain.dom" has an IP address of 145.128.16.8. Which of the following options would be most appropriate as a subsequence of steps in performing the reverse lookup of 145.128.16.8 ? In the following options "NS" is an abbreviation of "nameserver".
Answer: (C)
A reverse lookup finds a name from an address. The address 145.128.16.8 is written with its octets reversed under the special domain in-addr.arpa: . The name is resolved from the right, one label at a time, through the domain tree: root, then arpa, then in-addr.arpa, then 145.in-addr.arpa, then 128.145.in-addr.arpa, and so on. Each name server points to the server of the next label.
(A) and (B) follow the forward name host1.mydomain.dom, not the reverse name, so they are wrong.
(C) is a correct part of this sequence: ask a server for in-addr.arpa, and later the server for 128.145.in-addr.arpa. A subsequence may skip a step between them, such as 145.in-addr.arpa.
(D) says to query the server for 145.in-addr.arpa directly. A resolver starts knowing only the root servers, so it cannot go straight to 145.in-addr.arpa. It has to get there through the root and in-addr.arpa servers first.
Answer: (C)
(A) and (B) follow the forward name host1.mydomain.dom, not the reverse name, so they are wrong.
(C) is a correct part of this sequence: ask a server for in-addr.arpa, and later the server for 128.145.in-addr.arpa. A subsequence may skip a step between them, such as 145.in-addr.arpa.
(D) says to query the server for 145.in-addr.arpa directly. A resolver starts knowing only the root servers, so it cannot go straight to 145.in-addr.arpa. It has to get there through the root and in-addr.arpa servers first.
Answer: (C)
A company has a class C network address of 204.204.204.0. It wishes to have three subnets, one with 100 hosts and two with 50 hosts each. Which one of the following options represents a feasible set of subnet address/subnet mask pairs?
Answer: (D)
Host capacity needed:
100 hosts need at least 7 host bits, so a /25 (mask 255.255.255.128), which gives hosts.
50 hosts need at least 6 host bits, so a /26 (mask 255.255.255.192), which gives hosts.
Each subnet address must be a multiple of its block size, and the blocks must not overlap. A /25 block has 128 addresses, so it starts at .0 or .128. A /26 block has 64 addresses, so it starts at .0, .64, .128 or .192.
(D): .128/25 covers 128 to 255, .64/26 covers 64 to 127, .0/26 covers 0 to 63. All are aligned and disjoint, and the masks match the sizes, so (D) is feasible.
(A): .64 with mask .128 is not a valid /25 start, and its block 64 to 191 overlaps the others.
(B): .192 with mask .128 is not a valid /25 start, and .64 with mask .128 is not valid either.
(C): .192/26 (192 to 255) lies inside .128/25 (128 to 255), so they overlap, and .224 is not a valid /26 start.
Answer: (D)
100 hosts need at least 7 host bits, so a /25 (mask 255.255.255.128), which gives hosts.
50 hosts need at least 6 host bits, so a /26 (mask 255.255.255.192), which gives hosts.
Each subnet address must be a multiple of its block size, and the blocks must not overlap. A /25 block has 128 addresses, so it starts at .0 or .128. A /26 block has 64 addresses, so it starts at .0, .64, .128 or .192.
(D): .128/25 covers 128 to 255, .64/26 covers 64 to 127, .0/26 covers 0 to 63. All are aligned and disjoint, and the masks match the sizes, so (D) is feasible.
(A): .64 with mask .128 is not a valid /25 start, and its block 64 to 191 overlaps the others.
(B): .192 with mask .128 is not a valid /25 start, and .64 with mask .128 is not valid either.
(C): .192/26 (192 to 255) lies inside .128/25 (128 to 255), so they overlap, and .224 is not a valid /26 start.
Answer: (D)
Count to infinity is a problem associated with:
Answer: (B)
In distance vector routing, each router learns routes only from the distance vectors its neighbours send, and it never sees the whole topology. When a link fails, a router can accept a neighbour's old advertisement that still claims a route through the broken link. The two routers then keep passing the stale route back and forth, each time adding one hop, so the cost climbs slowly towards infinity.
Why the others are wrong: (A) link state routing gives every router the full map and runs a shortest-path algorithm, so it does not count up like this. (C) DNS name resolution does not exchange route costs. (D) TCP congestion control adjusts the window size and has no routing cost to count.
Answer: (B)
Why the others are wrong: (A) link state routing gives every router the full map and runs a shortest-path algorithm, so it does not count up like this. (C) DNS name resolution does not exchange route costs. (D) TCP congestion control adjusts the window size and has no routing cost to count.
Answer: (B)
An organization has a class B network and wishes to form subnets for 64 departments. The subnet mask would be:
Answer: (D)
A class B network has a default mask of , so the last 16 bits are for subnet and host.
64 subnets need bits, since . Borrow these 6 bits from the left end of the third octet.
Third octet: .
So the subnet mask is . The other options give too few subnets or are not valid masks: gives 1 subnet, gives 2, and has the ones not in one block.
Answer: (D)
64 subnets need bits, since . Borrow these 6 bits from the left end of the third octet.
Third octet: .
So the subnet mask is . The other options give too few subnets or are not valid masks: gives 1 subnet, gives 2, and has the ones not in one block.
Answer: (D)
In a network of LANs connected by bridges, packets are sent from one LAN to another through intermediate bridges. Since more than one path may exist between two LANs, packets may have to be routed through multiple bridges. Why is the spanning tree algorithm used for bridge-routing?
Answer: (B)
If two LANs are joined by more than one bridge path, a frame can go round and round in a loop and flood the network. The spanning tree algorithm keeps some bridge ports active and blocks the others, so that the bridges form a tree.
A tree has no loops, and a spanning tree reaches every LAN, so there is exactly one loop-free path between any two LANs.
Why the others are wrong: (A) the tree path between two LANs need not be the shortest. (C) The blocked links stay as backups and are switched on again when an active link or bridge fails, so the tree does help with fault tolerance, but that is a side benefit and not the reason the algorithm is used. (D) Collisions are handled inside each LAN, not by the tree.
Answer: (B)
A tree has no loops, and a spanning tree reaches every LAN, so there is exactly one loop-free path between any two LANs.
Why the others are wrong: (A) the tree path between two LANs need not be the shortest. (C) The blocked links stay as backups and are switched on again when an active link or bridge fails, so the tree does help with fault tolerance, but that is a side benefit and not the reason the algorithm is used. (D) Collisions are handled inside each LAN, not by the tree.
Answer: (B)
Keep practising
Topics in Computer Networks
OSI LayerPhysical LayerData Link Layer
Network Layer ProtocolYou are here
Transport Layer ProtocolApplication Layer ProtocolsNetwork Security