Recover from running "route -f"

Posted by James L. on Server Fault See other posts from Server Fault or by James L.
Published on 2012-08-31T22:04:32Z Indexed on 2012/09/01 9:40 UTC
Read the original article Hit count: 348

Filed under:
|

I was trying to capture localhost traffic with Ethereal, which doesn't work without re-routing localhost traffic to your router gateway. I didn't get the route command quite right, and messed up my routing table. I typed route -f to clear the routing table and rebooted, but when I finished rebooting, the routing table wasn't restored to its original state. I didn't use the -p parameter, so none of my changes should have persisted after a reboot.

What can I do to restore the routing table to its default routes?

© Server Fault or respective owner

Related posts about Windows

Related posts about route