Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 8
    Note: do this in console, not over ssh. If you must do this via ssh (or other network method), issue both commands at once, with ; or with && Commented Jul 8, 2014 at 14:58
  • 4
    Or, use the generic safe method: 1) Log into a shell, shutdown/reboot in 15 minutes unless cancelled 2) Do unsafe things. 3) Cancel shutdown/reboot. Commented Jul 8, 2015 at 17:24
  • 3
    On Linux the commands ip route del default and ip route add default via 1.2.3.4 work. So the command is still relevant for Linux users too as it has quite a bit of resemblance. Commented Jan 17, 2017 at 17:26