Skip to content

Instantly share code, notes, and snippets.

@xakrume
Last active December 22, 2015 19:59
Show Gist options
  • Save xakrume/6523443 to your computer and use it in GitHub Desktop.
Save xakrume/6523443 to your computer and use it in GitHub Desktop.
# route | sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4
Destination Gateway Genmask Flags Metric Ref Use Iface
Kernel IP routing table
172.16.16.0 172.16.16.2 255.255.255.252 UG 0 0 0 tun2
172.16.16.2 * 255.255.255.255 UH 0 0 0 tun2
172.16.24.0 172.16.24.2 255.255.248.0 UG 0 0 0 tun3
172.16.24.0 172.16.24.2 255.255.255.252 UG 0 0 0 tun3
172.16.24.2 * 255.255.255.255 UH 0 0 0 tun3
192.168.0.0 172.16.0.2 255.255.224.0 UG 0 0 0 tun0
192.168.32.0 172.16.0.2 255.255.252.0 UG 0 0 0 tun0
192.168.36.0 172.16.24.2 255.255.255.0 UG 0 0 0 tun3
192.168.37.0 172.16.24.2 255.255.255.0 UG 0 0 0 tun3
192.168.38.0 172.16.24.2 255.255.255.0 UG 0 0 0 tun3
192.168.39.0 172.16.24.2 255.255.255.0 UG 0 0 0 tun3
192.168.40.0 172.16.0.2 255.255.248.0 UG 0 0 0 tun0
192.168.48.0 172.16.0.2 255.255.240.0 UG 0 0 0 tun0
192.168.64.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.65.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.66.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.67.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.68.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.69.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.70.0 172.16.24.2 255.255.255.0 UG 0 0 0 tun3
192.168.71.0 172.16.8.2 255.255.255.0 UG 0 0 0 tun1
192.168.72.0 172.16.8.2 255.255.248.0 UG 0 0 0 tun1
192.168.80.0 172.16.8.2 255.255.248.0 UG 0 0 0 tun1
192.168.88.0 172.16.8.2 255.255.252.0 UG 0 0 0 tun1
192.168.91.32 192.168.200.250 255.255.255.224 UG 0 0 0 lan1
192.168.92.0 172.16.24.2 255.255.252.0 UG 0 0 0 tun3
192.168.96.0 172.16.24.2 255.255.248.0 UG 0 0 0 tun3
192.168.97.0 172.16.24.2 255.255.255.224 UG 0 0 0 tun3
192.168.98.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.99.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.100.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.101.0 172.16.0.2 255.255.255.0 UG 0 0 0 tun0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment