0

Please can someone help me understand ip rules/routing policies in linux?

For instance consider the below example,

101:from all to 192.168.0.51 lookup table_custom
190:from all to 10.2.3.4 lookup eth1

I understand the rule with priority "101" - from any ip address to 192.168.0.51, lookup the table "table_custom" for the route.

-- But I do not understand the rule "190" - what does lookup an interface mean ?

Thanks in advance.

0

Have a look at /etc/iproute2/rt_tables. eth1 is a table name in this case (an unusual one). Maybe that is a table which sends all packets through eth1. See

ip route show table eth1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.