[Last Call] Learn how to a build a cloud-first strategyRegister Now


How to delete a "rejected" route with route command?

Posted on 2005-05-10
Medium Priority
Last Modified: 2009-07-29
I was experimenting with the route command, and with the assistant of my assistant sysadmin, did the following:

1. Had him ping the IP address of my workstation; success
2. Ran the 'route -n' command, with the following output...
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface   U     0      0        0 eth0         UG    0      0        0 eth0
3. Ran the command 'route add -h reject' <rejecting all packets from his IP>
4. Had him ping the IP address of my workstation; blocked
5. Ran the 'route -n' command, with the following output...
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface      -      !H    0      -        0 -   U     0      0        0 eth0         UG    0      0        0 eth0
6. Attempted to remove the new route with 'route del', with the following output...
    SIOCDELRT: No such process

Everywhere I look on google for that error, I see that I'm trying to delete a route that doesn't exist, but it does, as you can see from the 'route -n' output above.  Fortunately for me, I attempted this on my SuSE 9.1 workstation, so rebooting to clear the route table is not critical.  But if I had tried this on a production machine, being unable to remove a route listing without rebooting would be unacceptable.

Can anyone tell me the correct syntax to remove such an entry in SuSE 9.1?

Thank you!

Unca Xitron
Question by:Xitron
  • 2

Expert Comment

ID: 13974898

route del -host

Author Comment

ID: 13978507
# route del -host
SIOCDELRT: No such process

Any other ideas?  I'm SURE this should be easy.  I find 'route' to be pretty user brutal.  Anyone have a good URL with many, many examples of using the 'route' command?  Often learning by example is easier than learning by command syntax alone.

Unca Xitron
LVL 38

Accepted Solution

wesly_chen earned 1000 total points
ID: 13983486
route del -host reject

Author Comment

ID: 13987116
Excellent!   Thank you, wesly_chen!!

Unca Xitron

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question