Comments

Hacker News

> “Throw” routes may be used for implementing policy-based routing. In non-default tables they stop the lookup process but don’t send ICMP error messages.

No - "throw" continues to the next "ip rule" entry that matches, i.e. throws the lookup to the next table. It's like "continue" in C-like languages.

Very poorly named.

by eqvinox

Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • what? man
  • iproute? nft all the way!
  • > “Throw” routes may be used for implementing policy-based routing. In non-default tables they stop the lookup process but don’t send ICMP error messages.

    No - "throw" continues to the next "ip rule" entry that matches, i.e. throws the lookup to the next table. It's like "continue" in C-like languages.

    Very poorly named.

Task-centered iproute2 user guide · Birbla