ip rule outputs the routing policy. See below link:
if you want routing table, use
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
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