What is the significance of the prio option in ip rule add/del command? Does a higher priority for a rule give it preference over other rules in the table?
I saw this piece of code online, without any comments to it. I'm curious to know what it does:
ip rule del prio 32766 from "" dev "" fwmark 0 table main
ip rule del prio 32767 from "" dev "" fwmark 0 table default
ip rule add prio 4294967293UL from "" dev "" fwmark 0 table 1
ip rule add prio 4294967294UL from "" dev "" fwmark 0 table main
ip rule add prio 4294967295UL from "" dev "" fwmark 0 table default
No comments:
Post a Comment