.. _example_protocols_rip_network-distance_network-distance: ################ Network-Distance ################ Scenario to verify RIP **network-distance** configuration and route selection. This test validates that the administrative distance for specific networks can be modified using the ``network-distance`` command. By default, RIP uses distance 120. **DUT0** receives the same route from **DUT1** and **DUT2** with different configured distances and selects the route with the lowest distance. ***************************************** Test RIP Network Distance Route Selection ***************************************** Description =========== Test RIP **network-distance** route selection with multiple neighbors where **DUT0** receives route ``10.10.10.0/24`` from **DUT1** via ``10.1.1.50`` with configured distance **200** and from **DUT2** via ``10.2.2.50`` with configured distance **60** so DUT0 selects the route via DUT2 because 60 < 200 Scenario ======== .. include:: network-distance/testripnetworkdistancerouteselection .. raw:: html