Persistent routes should be added in the route file, if your interface name is ens001, then you need to create the following file
vi /etc/sysconfig/network-scripts/route-ens001
and add routes in the following format
10.10.20.0/24 via 192.168.20.1 dev ens001
now the route is permanent and will be recovered after a reboot.