In this article i am going to explain how to manipulate route with AD value in RIP. For this i am using the same old topology.

10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
R 10.4.4.0/24 [120/2] via 172.16.23.1, 00:00:19, Serial1/1
[120/2] via 172.16.12.1, 00:00:27, Serial1/0
172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
R 172.16.14.0/30 [120/1] via 172.16.12.1, 00:00:27, Serial1/0
R 172.16.34.0/30 [120/1] via 172.16.23.1, 00:00:19, Serial1/1
In here i want use R2 to reach 10.4.4.0/24 network for that i am going to use AD value manipulation.
!
access-list 1 permit 10.4.4.0
!
router rip
version 2
network 10.0.0.0
network 172.16.0.0
distance 255 172.16.23.1 0.0.0.0 1
no auto-summary
If you verify the routing table after this you can see only path .
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
R 10.4.4.0/24 [120/2] via 172.16.12.1, 00:00:07, Serial1/0
172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
R 172.16.14.0/30 [120/1] via 172.16.12.1, 00:00:07, Serial1/0
R 172.16.34.0/30 [120/1] via 172.16.23.1, 00:00:07, Serial1/1
Leave a comment