I am little confused in a basic routing concept. I have a router with routing table as below (mention as example)
D 192.168.32.0/24 [90/12345] via 10.1.1.1
R 192.168.32.0/26 [120/4] via 10.1.1.2
O 192.168.32.0/19 [110/3] via 10.1.1.3
If the packet comes with destination address of 192.168.32.1,
How the router decides which path to take.
I want to know how the router decides the forwarding decision. In which order Administrative Distance, Prefix , Metrics are verified for forwarding decision.
Can any body gives me a clear picture. If available document also please