Routing Table

[!important]
Routing table gets populated ahead of time

Is a component of Router, define how the router can reach a particular network

For example, given this network

Pasted image 20240910235800.png

The routing table could be like this

Pasted image 20240910235817.png

How it is populated

  1. Directly Connected (where the network attached physically)
  2. Static route (admin specify where to go if direct connect is not possible)
  3. Dynamic Route (router learn automatically from other router)
    1. These can be done via various protocol, for example BGP (Border Gateway protocol), OSPF