Skip to content

Instantly share code, notes, and snippets.

@danish-rehman
Created January 9, 2015 18:45
Show Gist options
  • Save danish-rehman/98afb36c1684c982219d to your computer and use it in GitHub Desktop.
Save danish-rehman/98afb36c1684c982219d to your computer and use it in GitHub Desktop.
Delete entries from the routing table
# Delete lan0 entry
>> sudo route del -net 10.0.0.0 netmask 255.0.0.0
# Delete the lan1 entry
>> sudo route del -net 10.1.2.0 netmask 255.255.255.0
# Delete the link to rtr2
>> sudo route del -net 10.10.3.0 netmask 255.255.255.0
# Delete the link to rtr1
>> sudo route del -net 10.10.1.0 netmask 255.255.255.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment