{"id":217,"date":"2017-09-20T21:37:03","date_gmt":"2017-09-20T19:37:03","guid":{"rendered":"http:\/\/www.quisted.net\/?p=217"},"modified":"2017-09-20T21:37:03","modified_gmt":"2017-09-20T19:37:03","slug":"policy-based-routing","status":"publish","type":"post","link":"https:\/\/www.quisted.net\/index.php\/2017\/09\/20\/policy-based-routing\/","title":{"rendered":"Policy Based Routing"},"content":{"rendered":"<ul>\n<li>PBR intercepts packets <strong>before<\/strong> regular routing<\/li>\n<li>PBR overwrites the router&#8217;s natural destination<\/li>\n<li>PBR is tied to <strong>route-maps<\/strong>\n<ul>\n<li>Define the match criteria<\/li>\n<li>Define the action for the packets<\/li>\n<\/ul>\n<\/li>\n<li>\u00a0Packet forwarding\n<ul>\n<li>Outgoing interface<\/li>\n<li>IP Next-Hop<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<p><strong>Configuration<\/strong><\/p>\n<ul>\n<li>Define an <span style=\"color: #ff6600;\">ACL<\/span><\/li>\n<li>Configure route-map\n<ul>\n<li>\u00a0Match the <span style=\"color: #ff6600;\">ACL<\/span><\/li>\n<li>Apply set paramets\n<ul>\n<li><em>Set ip next-hop 10.10.10.10<\/em><\/li>\n<li><em>set ip default next-hop 10.10.10.10\u00a0\u00a0<\/em>\u00a0 <span style=\"color: #3366ff;\">(default routing first, else if nexthop)<\/span><\/li>\n<li><em>set interface fa0\/0<\/em><\/li>\n<li><em>set default interface fa0\/0\u00a0\u00a0<\/em>\u00a0\u00a0\u00a0 <span style=\"color: #3366ff;\">(default routing first, else if nexthop)<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Apply PBR to incoming interface<\/li>\n<li>ip policy route-map\n<ul>\n<li>\u00a0ingress feature on interface<\/li>\n<\/ul>\n<\/li>\n<li>IP precedence\n<ul>\n<li><em>set ip precedence <\/em>(value)<\/li>\n<\/ul>\n<\/li>\n<li>ToS\n<ul>\n<li><em>set ip tos <\/em>(value)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>PBR intercepts packets before regular routing PBR overwrites the router&#8217;s natural destination PBR is tied to route-maps Define the match criteria Define the action for the packets \u00a0Packet forwarding Outgoing interface IP Next-Hop<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[8,11],"tags":[],"class_list":["post-217","post","type-post","status-publish","format-standard","hentry","category-route","category-various"],"_links":{"self":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/comments?post=217"}],"version-history":[{"count":0,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/217\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/media?parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/categories?post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/tags?post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}