As we understand it... routing is about finding the best path.
static routing is relative simple..where is the connected network and where is the remote network, next set up dst-address and gateway in the routers... if working ...finish. But it's not that simple.
1. Routing Component:
- RIB ( Routing Information Base ) / Routing Table
- FIB ( Forwarding Information Base ) / Forwarding Table
- RIB (Routing Table) contains route data to a specific network.
- RIB (Routing Table) contains metric(value/priority) from each route.
- RIB (Routing Table) made from :
- All route from dynamic routing protocol
- All route from connected network
- All route from static route.
Example: Mikrotik Routing Table in Winbox
2. Administrative Distance:
-Used for finding the best path, when there is more than one routing protocol to same spesific destination.
-Value distance is 0 - 255 | distance = 255 is rejected.
- The Smallest distance is prioritized.