Skip to content

Instantly share code, notes, and snippets.

@csghone
Last active July 20, 2018 04:24
Show Gist options
  • Select an option

  • Save csghone/e0672b7801ad32b54afa34428ba2a854 to your computer and use it in GitHub Desktop.

Select an option

Save csghone/e0672b7801ad32b54afa34428ba2a854 to your computer and use it in GitHub Desktop.
# Sample ip route examples
sudo ip route # List route
sudo ip route add 52.0.0.0/8 via 192.168.1.1 dev wlp2s0 proto static metric 40
sudo ip route change 52.0.0.0/8 via 192.168.1.1 dev wlp2s0 proto static metric 40
sudo ip route del 52.0.0.0/8 via 192.168.1.1 dev wlp2s0 proto static metric 40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment