Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Routing table with policy-based routing

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 3 Posters 595 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kevindd992002
      last edited by

      I understand how policy-based routing makes traffic go to a certain gateway when a certain rule is matched. But I was expecting that a rule with a gateway set (other than default, hence policy-based routing) will automatically add a route to the routing table but I don't see that this is the case. Is this expected behavior?

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        No, routing table is not involved in policy based routing

        1 Reply Last reply Reply Quote 0
        • K
          kevindd992002
          last edited by kevindd992002

          I see. So the rules table is like a supplementary routing table in itself. Thanks.

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by

            It's more like that the routing process uses information tagged on to the packets traversing the system to detect if a set of packets need special handling and bypasses the normal routing table when it sees those special tags. The firewall rules that match the incoming traffic apply these special tags to the incoming packets.

            K 1 Reply Last reply Reply Quote 0
            • K
              kevindd992002 @kpa
              last edited by

              @kpa said in Routing table with policy-based routing:

              It's more like that the routing process uses information tagged on to the packets traversing the system to detect if a set of packets need special handling and bypasses the normal routing table when it sees those special tags. The firewall rules that match the incoming traffic apply these special tags to the incoming packets.

              Gotcha, that makes more sense. Thanks for the explanation!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.