PrepAway - Latest Free Exam Questions & Answers

Drag each destination IP address on the left to its correct next hop address on the right.

DRAG DROP
Drag each destination IP address on the left to its correct next hop address on the right.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

If we have many entries matching for next hop ip address then the router will choose the one with
most specific path to send the packet. This is called the “longest match” rule, the route with the
most bits in the mask set to “1 will be chosen to route packet.

5 Comments on “Drag each destination IP address on the left to its correct next hop address on the right.

    1. qwe says:

      Exaplanation makes perfect sense. With all due respect, if you didn’t understand that, you’re not even close to being ready for this test.
      What he meant is: whenever you have multiple routes that would be a match to the same IP address, you always apply the one with the highest value (in this case, 255.255.255.0 is higher than 255.255.0.0).




      0



      0
      1. once says:

        The answer is correct as shown. Here’s why.

        The line

        ip route 10.1.0.0 255.255.255.0 192.168.2.2

        means that anything on the 10.1.0.0/24 network should go through the router at 192.168.2.2. This means that any host with an address between 10.1.0.1 and 10.1.0.254 should go through 192.168.2.2. In the list we see there are two hosts like this: 10.1.0.14 and 10.1.0.123

        Next, we look at the line

        ip route 10.1.0.0. 255.255.0.0 192.168.3.3

        this means that anything on the 10.1.0.0/16 network should go through the router at 192.168.3.3. This means any host with an address between 10.1.1.0 and 10.1.255.254 should go through this router. We exclude anything that starts with 10.1.0.X because those are superseded by the line above. In the list, we see two matching hosts: 10.1.1.10 and 10.1.4.6

        Finally, the line

        ip route 0.0.0.0 0.0.0.0 192.168.1.1

        indicates that anything else should go through the router at 192.168.1.1. As we see, the last two IP addresses are outside the range of the above settings, so they fill the last spaces: 10.2.1.3 and 10.6.8.4




        0



        0

Leave a Reply