The route command is useful to view/change the IP routing table. Although it is a complicated topic to set up the routing table, the route command is commonly used to check the default gateway of a network. Again, read the manual page to learn more about this command.
The default gateway is usually the router that is connected to the network.