Cisco IOS NAT pools: Which command correctly creates a dynamic pool named 'Todd' that contains exactly 30 global addresses?

Difficulty: Medium

Correct Answer: ip nat pool Todd 171.16.10.65 171.16.10.94 net 255.255.255.224

Explanation:


Introduction / Context:
Defining the correct NAT pool requires matching the start/end addresses with an appropriate subnet mask so that the range falls within a valid network block. Here the pool must provide exactly 30 addresses.



Given Data / Assumptions:

  • Pool name must be 'Todd' (case sensitive in IOS context).
  • Range: 171.16.10.65 through 171.16.10.94 inclusive.
  • Required count: 30 addresses.


Concept / Approach:
A mask of 255.255.255.224 ('/27') yields a block size of 32 addresses per subnet: network .64 to .95. Usable host addresses are .65 through .94, which is exactly 30 usable addresses—matching the requirement and the provided range.



Step-by-Step Solution:

Compute /27 boundaries: increments of 32 (… .64–.95).Verify the specified range .65–.94 fits entirely inside .64–.95.Count usable addresses: 94 - 65 + 1 = 30.Select the mask /27 (255.255.255.224) with start/end .65 .94.


Verification / Alternative check:
Optionally, confirm with subnet calculators or by mental math of block sizes. /28 would only allow 14 usable addresses per subnet, not 30.



Why Other Options Are Wrong:
Option A (/28 .240): Too small (16 total, 14 usable). Option C: Wrong pool name case ('todd' ≠ 'Todd'). Option D (/24): Would imply 254 usable addresses, not 30, and range does not match full /24.



Common Pitfalls:
Forgetting that the pool's mask must encompass the entire start-end range and align to subnet boundaries.



Final Answer:
ip nat pool Todd 171.16.10.65 171.16.10.94 net 255.255.255.224

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion