The manual routing of the network administrator is called static routing. When the network structure changes, these routers also need to be changed manually. They are not meant to be replaced by any dynamic routing protocol.
Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.0.1
In the example above, the 192.168.1.0/24 network is routed to the 192.168.0.1 gateway.
The addresses that the router cannot find as a result of the static and dynamic routing definitions are directed to a predefined address. In case there are roads that can be overlooked as a result of static or dynamic routing, it is recommended to enter the default routing definition to the routers. By default, to route all networks to the 192.168.0.1 gateway;
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.0.1
I hope it was a useful article.