Get routing table on linux and macosx