Skip to content

Instantly share code, notes, and snippets.

@hub-cap
Created April 12, 2013 17:25
Show Gist options
  • Save hub-cap/5373656 to your computer and use it in GitHub Desktop.
Save hub-cap/5373656 to your computer and use it in GitHub Desktop.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.88.2 0.0.0.0 UG 100 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br100
192.168.88.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
baz@ubuntu:~$ ip route
default via 192.168.88.2 dev eth0 metric 100
10.0.0.0/24 dev br100 proto kernel scope link src 10.0.0.1
192.168.88.0/24 dev eth0 proto kernel scope link src 192.168.88.150
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment