Skip to content

Instantly share code, notes, and snippets.

@sebkur
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebkur/9089a4d2b8b6f7ca0728 to your computer and use it in GitHub Desktop.
Save sebkur/9089a4d2b8b6f7ca0728 to your computer and use it in GitHub Desktop.
# show the available routing tables:
ip rule
# 0: from all lookup local
# 32766: from all lookup main
# 32767: from all lookup default
# display the contents of a particular routing table:
ip route show table main
# default via 10.36.1.193 dev wlan0 proto static
# 10.36.1.192/28 dev wlan0 proto kernel scope link src 10.36.1.201 metric 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment