How to delete a route in Linux?
Here’s how to delete a route for the network 10.0.0.0/8 with a gateway of 192.168.1.254 connected to the interface eth0.
[root@linux etc]# route del -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.1.254 eth0
The file /etc/sysconfig/network-scripts/route-eth0 will also have to be updated so that when you reboot the server will not reinsert the route. Delete the line that reads:
10.0.0.0/8 via 192.168.1.254