why "ip route get" not provide table_id selector?
i using netlink routes routing table (table id 2) , want specific route , not dump entire routing table , filter in user land.
i looking @ "ip route" code example , seems not have ability using "ip route get" command. option seems dump entire routing table.
any ideas/pointers?
you can 'mark' packets in command.
as in, assuming table id 2 has fwmark 2 in ip rule
, ip route ip/cidr mark 2
.
Comments
Post a Comment