Skip to content

Instantly share code, notes, and snippets.

@rctay
Created March 29, 2010 04:01
Show Gist options
  • Save rctay/347369 to your computer and use it in GitHub Desktop.
Save rctay/347369 to your computer and use it in GitHub Desktop.
[linux] deleting a route
# to remove the route
# Kernel IP routing table
# Destination Gateway Genmask Flags Metric Ref Use Iface
# 0.0.0.0 10.0.2.2 0.0.0.0 UG 100 0 0 eth1
sudo route del -net 0.0.0.0 gw 10.0.2.2 dev eth1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment