.. _example_protocols_rip_default-distance_staticroute: ############ Static Route ############ Test to verify RIP **default-distance** (administrative distance) configuration. Administrative distance determines route preference when multiple routing protocols provide routes to the same destination. Lower values are preferred. By default, RIP uses distance 120, while static routes use distance 1. This test validates that distance values can be modified to change route preference between RIP and static routes. ******************************************* Test RIP Default Distance Static Route Wins ******************************************* Description =========== Test RIP route preference with **default distance values**. By default, **RIP uses distance 120** and **static routes use distance 1**. **DUT1** redistributes connected route ``10.10.10.0/24`` via RIP. **DUT0** receives this route via RIP and also has a static route to the same destination. The **static route wins** because it has lower distance. The static route is installed in the routing table instead of the RIP route. Scenario ======== .. include:: staticroute/testripdefaultdistancestaticroutewins .. raw:: html