Question:

How Router Select the Route from Static Routing Table?

by  |  earlier

0 LIKES UnLike

Hai Just consider the following routing table

0.0.0.0 0.0.0.0 192.168.1.1

192.10.1.0 255.255.255.0 192.10.1.1

Above table has two routes if my destination ip is 192.10.1.15

its possible for both routes. In this case which route router will select kindly explain me Thank u in advance

 Tags:

   Report

1 ANSWERS


  1. While you do have two routes, the first one is a default route and the second is a network specific route.  The router makes it's forwarding decision on the longest (best) match in it's routing table.

    When traffic enters the router going to network 192.10.1.0 up to and including 192.10.1.255; the router will send the traffic to the 192.10.1.1 address.  Your destination of 192.10.1.15 will be sent to 192.10.1.1.

    When traffic enters the router going to any other address, for example 69.147.76.15 (www.yahoo.com), the router will send it to 192.168.1.1 because it doesn't have a network specific route in it's routing table. By 'default' all traffic without a network specific route will go to 192.168.1.1.

    0.0.0.0 0.0.0.0 192.168.1.1

    192.10.1.0 255.255.255.0 192.10.1.1

    destination ip is 192.10.1.15

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions