Monday, July 4, 2016

SIOCDELRT error when try to delete a single route from route table

If you want to delete a single route from the route table, you have to specify enough parameters to make this route unique.

For example, this gives you an error, because the mask is not specified:
$ sudo route del -net 192.168.5.0
SIOCDELRT: No such process
This gives you a successful output, because the mask is properly specified:
$ sudo route del -net 192.168.5.0/24

Related Posts:

0 comments:

Post a Comment

Popular Posts

Recent Posts

Unordered List

Text Widget

Pages

Search This Blog

Powered by Blogger.