Routing decides the path packets take between networks. Routers fill a routing table by hand (static) or by exchanging information (dynamic: RIP, OSPF, BGP).