

For each connected route there is one IP address item such that: RIB tracks the status of connected routes but does not modify them. These routes are created automatically for each IP network that has at least one enabled interface attached to it (as specified in the /ip address or /ipv6 address configuration). Connected RoutesĬonnected routes represent the network on which hosts can be directly reached (direct attachment to Layer2 broadcast domain). Its purpose is not just to store routes, but also to filter routing information to calculate the best route for each destination prefix, to build and update the Forwarding Information Base, and distribute routes between different routing protocols. RIB table contains complete routing information, including static routes and policy routing rules configured by the user, routing information learned from dynamic routing protocols (RIP, OSPF, BGP), and information about connected networks. It is possible to make more than one routing table which we will discuss further in this article, but for now, for sake of simplicity, we will consider that there is only one "main" routing table. One such entry in the routing table is called route.Ī hop occurs when a packet is passed from one network segment to another.īy default, all routes are organized in one "main" routing table. Routing Information Base is a database that lists entries for particular network destinations and their gateways (address of the next device along the path or simply next-hop).


It contains a copy of the necessary routing information.
