Answer to Monday’s Subnetting Speed Test Question

By certskills March 11, 2011 08:06

Monday’s question was about interpreting the output of two show commands, show ip route and show ip interface brief. Answers are below the fold. Enjoy!

Answers: A, F

The key to answering this question is to remember the format and content of the output in the commands listed in the question. If you didn’t recall those details, refer here to Example 2-1, which lists the output.

The lines that begin with “C”, as per the legend at the top of the output from the show ip route command, list all connected routes. Routers put connected routes in their own IP routing table when an interface has an IP address/mask assigned, and the interface is currently in an up/up state.

IOS lists the masks associated with each route either in a heading line for the entire classful network, or per-line if the mask differs for subnets in the same network (in other words, when Variable Length Subnet Masks, VLSM, is used). In this case, with all known subnets of network using mask /24, the mask is on the heading line.

If the user issues the terminal ip netmask-format decimal command, IOS lists the mask in prefix notation, so in this case, the output of show ip route will list masks in dotted decimal notation (DDN).

The show ip interface brief command does not list the masks at all. Instead, it lists the IP address associated with each interface, as well as interface status. It does not list the subnet number of the connected subnets, but rather the IP address as configured with the ip address interface subcommand.

For the three answers that list show ip interface brief, only one answer (A) lists an IP address of an interface on router R2, so answer A is correct. In particular, note that answer E lists a prefix style mask, and the show ip interface brief command does not list masks at all.

For the three answers that mention the show ip route command, note that according to the question text, this command occurs after the user has told IOS to list masks in decimal notation. As a result, answer F is correct, because R2’s F0/0 interface has been configured with mask /25 (, as implied in the figure for this question set.

The other two answers that mention the show ip route command (B and D) both list DDN numbers, but one ( is an interface IP address instead of the subnet connected to an interface, so R2 does not list The other incorrect answer (D) lists a subnet number (, but it exists off router R4. According to the question, the configuration so far does not include any routing protocol configuration, nor any static routes, so R2 would not yet know a route to reach this subnet.

Subnetting Drills: Find the Subnet ID
Mind Maps for Exam Terminology Review
By certskills March 11, 2011 08:06
Write a comment


  1. sylas August 7, 17:25

    This answer is linking to the wrong question..

    Reply to this comment
View comments

Write a comment

Comment; Identify w/ Social Media or Email


Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.