12 thoughts on “Which interface?

  1. A is the correct answer.
    For those that would be seeing this later, save yourself the confusion on here, the correct answer is A.
    When a router is making a forwarding decision between routes with different prefix lengths it chooses the route with the highest prefix length. What determines the value of the prefix length is the specificity of the route. A /27 is more specific than a /24 and /16. From the question, we can see that the /27 route has a higher prefix of 11 compared to /24 and /16 with 2 thus R1 sends the traffic through interface FastEthernet0/1.

    You can read up here…
    https://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/8651-21.html

    Prefix Lengths
    Let’s look at another scenario to see how the router handles another common situation: varying prefix lengths. Assume, again, that a router has four routing processes running on it, and each process has received these routes:

    EIGRP (internal): 192.168.32.0/26

    RIP: 192.168.32.0/24

    OSPF: 192.168.32.0/19

    Which of these routes will be installed in the routing table? Since EIGRP internal routes have the best administrative distance, it’s tempting to assume the first one will be installed. However, since each of these routes has a different prefix length (subnet mask), they’re considered different destinations, and they will all be installed in the routing table.

    Let’s see how the forwarding engine uses the information from the routing table to make forwarding decisions.

    Making Forwarding Decisions
    Let’s look at the three routes we just installed in the routing table, and see how they look on the router.

    router# show ip route
    ….
    D 192.168.32.0/26 [90/25789217] via 10.1.1.1
    R 192.168.32.0/24 [120/4] via 10.1.1.2
    O 192.168.32.0/19 [110/229840] via 10.1.1.3
    ….
    If a packet arrives on a router interface destined for 192.168.32.1, which route would the router choose? It depends on the prefix length, or the number of bits set in the subnet mask. Longer prefixes are always preferred over shorter ones when forwarding a packet.

    In this case, a packet destined to 192.168.32.1 is directed toward 10.1.1.1, because 192.168.32.1 falls within the 192.168.32.0/26 network (192.168.32.0 to 192.168.32.63). It also falls within the other two routes available, but the 192.168.32.0/26 has the longest prefix within the routing table (26 bits verses 24 or 19 bits).

    Likewise, if a packet destined for 192.168.32.100 arrives on one of the router’s interfaces, it’s forwarded to 10.1.1.2, because 192.168.32.100 doesn’t fall within 192.168.32.0/26 (192.168.32.0 through 192.168.32.63), but it does fall within the 192.168.32.0/24 destination (192.168.32.0 through 192.168.32.255). Again, it also falls into the range covered by 192.168.32.0/19, but 192.168.32.0/24 has a longer prefix length.

  2. Very confusing question at the first place. But as 192.168.10.45 falls in the 192.168.10.32/27 subnet, the answer seems to be A. But C as an option is also there which covers the 192.168.10.45 network. This is really tricky and confusing one indeed!!

  3. It a tricky question, keep in mind it is an OSPF route:
    If it is /24 then no answer is there for it. (192.168.101.0/24)
    If its up to us, which in this scenario is, then the correct answer is D why?
    192.168.0.0/16 is a summary address, and D fit in there

    1. BTW, the 192.168.10.45 is a wrong “question”, because without mentioning on CIDR there would be two correct answers. A,C

  4. The answer correct is D, because on interface fastethernet1/1 it is possible to reach all network 192.168.0.0/16 (192.168.0.1 to 192.168.255.254)

  5. There’s a mistake in the phrasing of this question – the address should be 192.168.10.45 and not 192.168.101.45.
    In this case, the answer is C.

    1. This question is another one. according to your question, the answer is A Because the IP address 192.168.10.45 belongs to 192.168.10.32/27 network.

  6. La respuesta correcta es la A.
    Es la máscara más específica para llegar a la dirección 192.168.10.45.

    1. That is not the correct Network address. Only summary I see is the 192.168.0.0/16 out fa1/1 that could get you to 192.168.101.45

    2. I agree, host 192.168.10.45 is in the range.
      Network: 192.168.10.32/27 11000000.10101000.00001010.001 00000 (Class C)
      Broadcast: 192.168.10.63 11000000.10101000.00001010.001 11111
      HostMin: 192.168.10.33 11000000.10101000.00001010.001 00001
      HostMax: 192.168.10.62 11000000.10101000.00001010.001 11110
      Hosts/Net: 30 (Private Internet)

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.