How to Delete a Route



How to Delete a Route

Here's how to delete the routes added in the previous section:

     [root@bigboy tmp]# route del -net 10.0.0.0 netmask 255.0.0.0 \
       gw 192.168.1.254 wlan0

The file /etc/sysconfig/network-scripts/route-wlan0 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