Problem

Adding a static route to a different subnet that cannot be accessed through your default gateway.

Solution

To add a temporary route:

To make it persist system or network settings restart, create a route-ifname file for an interface through which the subnet is accessed, in this case eth0:

Add the line with the network settings for the other subnet:

Restart network service