Please note that since Linux kernel version 4.20, the route command has been replaced by the ip route command. The ip route command provides more features and flexibility, so it is recommended to use the ip route command to manage the routing table on newer Linux systems.
route -n
route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.1.1
route del -net 192.168.0.0 netmask 255.255.255.0
route add default gw 192.168.1.1