Different Metrics used and the show ip route command

Different Metrics used and the show ip route command

RIP uses hop count as its metric, which counts the number of routers that a packet must traverse to reach the destination network. By default, the maximum hop count is 15, meaning that a network that is more than 15 hops away is considered unreachable.

The show ip route command can be used to display the routing table, which lists all of the known networks and how to reach them. For example, if a router is configured with RIP and has learned about two networks (10.1.1.0/24 and 10.2.2.0/24) via RIP, the show ip route command might produce output like the following:

Gateway of last resort is not set

     10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

R       10.1.1.0/24 [120/1] via 192.168.1.1, 00:00:10, FastEthernet0/0

C       10.2.2.0/24 is directly connected, FastEthernet1/0

In this example, the router has two routes to two different networks:

The network 10.1.1.0/24 can be reached via the next-hop router at IP address 192.168.1.1, which is connected to the router’s FastEthernet0/0 interface. The [120/1] indicates the administrative distance (120, which is the default for RIP) and the metric (1 hop count) for this route.

The network 10.2.2.0/24 is directly connected to the router’s FastEthernet1/0 interface, meaning that it is on the same subnet as the interface and doesn’t require any additional hops to reach. The “C” indicates that this is a connected route.

Apply for Basic Network Support Certification Now!!

https://www.vskills.in/certification/certified-basic-network-support-professional

Back to Tutorial

Basic concepts configuring and verifying RIP 2
Debug command and RIP

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?