Last active
December 21, 2016 01:53
-
-
Save liaohuqiu/cefb94f2336cf6d2ef2ffb6682e00404 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using route | |
route del default gw 192.168.0.1 | |
route add default gw 192.168.0.4 | |
# or using ip | |
ip route del default | |
ip route add default via 192.168.0.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment