How do I permanently delete a default route in Linux?

How do I permanently delete a default route in Linux?
Answer
How to Delete a Persistent Route on CentOS
  1. Open the terminal. …
  2. 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. …
  3. Locate the route you wish to delete in the text file that appears.
 

Tìm kiếm

Back
Top