Contents
How do I permanently delete a route in Linux?
How to Delete a Persistent Route on CentOS
- Open the terminal. …
- Type vi /etc/sysconfig/network-scripts/route-interface_name at the command prompt except replace the “interface_name” with the name of the network interface associated with the route. …
- Locate the route you wish to delete in the text file that appears.
How do I delete routes?
To delete a route:
- Observe the routing table entry for network destination 0.0. 0.0 listed in Activity 1. …
- Type ping 8.8. 8.8 to test Internet connectivity. …
- Type route delete 0.0. …
- Type route print and press Enter.
- Observe the active routes by destination, network mask, gateway, interface, and metric. …
- Type ping 8.8.