ip rule outputs the routing policy. See below link:
http://www.policyrouting.org/iproute2.doc.html#ss9.6
if you want routing table, use ip route
hvn@hvnatvcc: ~ $ ip route
default via 192.168.25.1 dev eth0 proto static
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.25.0/24 dev eth0 proto kernel scope link src 192.168.25.66 metric 1
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
http://www.policyrouting.org/iproute2.doc.html#ss9.5
About default table:
- Priority 0: Selector = match anything
Action = lookup routing table local (ID 255).
The table local is the special routing table containing high priority
control routes for local and broadcast addresses.
Rule 0 is special, it cannot be deleted or overridden.
- Priority 32766: Selector = match anything
Action = lookup routing table main (ID 254)
The table main is the normal routing table containing all non-policy
routes. This rule may be deleted or overridden with other rules.
- Priority 32767: Selector = match anything
Action = lookup routing table default (ID 253).
The table default is empty and reserved for post-processing if
previous default rules did not select the packet. This rule also may
be deleted.