<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi  in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065023#M135210</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;You're welcome.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I always use (most of the time) the set ip next hop with extended acl but set interface should work as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I'm sorry i didn't noticed that you were using standard acl. It works with standard acls but you need to setup the destination network and not the source.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2017 21:55:49 GMT</pubDate>
    <dc:creator>Francesco Molino</dc:creator>
    <dc:date>2017-05-30T21:55:49Z</dc:date>
    <item>
      <title>Issue with Policy Based Routing</title>
      <link>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065019#M135190</link>
      <description>&lt;P&gt;I'm trying to set up policy based routing in a staging environment.&amp;nbsp;&amp;nbsp; The ASA is a 5515-x running 9.44 and it supports it.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I have one internal interface and two external interfaces (ISP1 and ISP2)&amp;nbsp;&amp;nbsp; ISP1 is the default route. I'm trying to route traffic from a certain network via ISP2.&amp;nbsp;&amp;nbsp;&amp;nbsp; I have the route policy and ACL setup and applied to the Internal interface, but I can't get traffic to go out the ISP2 interface.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;*ISP2 is live and I can send packets out if I set it as the default route.&amp;nbsp;&amp;nbsp;&amp;nbsp; If I set ISP1 as the default route and try to access the 'world' via hosts on the 192.168.99.0 network, it fails.&amp;nbsp; I can still ping directly connected networks, but that's it.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any suggestions you can provide.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;btw, the IP addresses for the ISP's have been changed for privacy.&amp;nbsp; They are publicly rout-able IP addresses&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;Result of the command: "show policy-route"&lt;BR /&gt;&lt;BR /&gt;Interface Route map &lt;BR /&gt;GigabitEthernet0/1 guest-wifi &lt;BR /&gt;&lt;BR /&gt;***********&lt;BR /&gt;interface GigabitEthernet0/0&lt;BR /&gt; description external to ISP1.&lt;BR /&gt; nameif external&lt;BR /&gt; security-level 0&lt;BR /&gt; ip address 10.211.84.114 255.255.255.248&lt;BR /&gt;!&lt;BR /&gt;interface GigabitEthernet0/1               &amp;lt;------ Internal interface&lt;BR /&gt; description transit to core&lt;BR /&gt; nameif transit&lt;BR /&gt; security-level 100&lt;BR /&gt; ip address 192.168.194.253 255.255.255.0&lt;BR /&gt; policy-route route-map guest-wifi&lt;BR /&gt;!&lt;BR /&gt;interface GigabitEthernet0/2&lt;BR /&gt; description External to ISP2&lt;BR /&gt; nameif External-ISP2&lt;BR /&gt; security-level 0&lt;BR /&gt; ip address 10.99.7.12 255.255.255.248&lt;BR /&gt;************&lt;BR /&gt;  &lt;BR /&gt;access-list PBR-ISP2-out remark Route Guest wifi and other traffic out ISP2 connection.&lt;BR /&gt;access-list PBR-ISP2-out standard permit 192.168.99.0 255.255.255.0 &lt;BR /&gt;access-list PBR-ISP2-out standard permit host 10.99.7.13             &lt;BR /&gt;&lt;BR /&gt;object network Guest-WiFI&lt;BR /&gt; nat (transit,External-ISP2) dynamic 10.99.7.13&lt;BR /&gt; &lt;BR /&gt; route-map guest-wifi permit 12&lt;BR /&gt; match ip address PBR-ISP2-out&lt;BR /&gt; set interface External-ISP2&lt;BR /&gt; set ip default next-hop 10.99.7.9 &lt;BR /&gt; &lt;BR /&gt; route external 0.0.0.0 0.0.0.0 10.211.84.113 1&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 01:00:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065019#M135190</guid>
      <dc:creator>andrewgori</dc:creator>
      <dc:date>2019-03-26T01:00:14Z</dc:date>
    </item>
    <item>
      <title>Hi </title>
      <link>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065020#M135193</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, your 2 statements on the policy-map are doing the same thing and it's not needed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can keep set interface. The set ip default next hop wouldn't be the one i'll choose. I'll prefer set ip next hop.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's is the definition of the set ip default next hop and you'll understand why in your case it isn't the best idea:&amp;nbsp;&lt;I&gt;If the normal route lookup fails for matching traffic, then the ASA forwards the traffic using this specified next-hop IP address. &lt;/I&gt;&lt;/P&gt;
&lt;P&gt;ASA will user in the order the set ip default next hop before the set interface.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you remove it and keep set interface?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do a test and while you're doing the test activate the debug: debug policy-route&lt;/P&gt;
&lt;P&gt;Paste the output of the debug please.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: Please don't forget to rate and mark as correct answer if this answered your question&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 04:26:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065020#M135193</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2017-05-27T04:26:12Z</dc:date>
    </item>
    <item>
      <title>Thank you for the input.   I</title>
      <link>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065021#M135196</link>
      <description>&lt;P&gt;Thank you for the input.&amp;nbsp;&amp;nbsp; I removed the default next hop option and left the Set Interface option.&amp;nbsp; It still isn't working.&amp;nbsp; I've read through the white paper a couple times and it seems straight forward, but apparently, I'm missing something.&lt;/P&gt;
&lt;P&gt;Here is the output from debug policy-route when trying to ping 8.8.8.8:&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;pbr: policy based route lookup called for 192.168.99.8/1 to 8.8.8.8/0 proto 1 sub_proto 8 received on interface transit&lt;/PRE&gt;
&lt;PRE class="prettyprint"&gt;pbr: no route policy found; skip to normal route lookup&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;It says no policy is found, but it's right there in the config...&lt;/P&gt;
&lt;P&gt;Also, I have tried it without 'set intereface' and using 'next hop IP4 address' and I get the same result.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 18:09:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065021#M135196</guid>
      <dc:creator>andrewgori</dc:creator>
      <dc:date>2017-05-30T18:09:15Z</dc:date>
    </item>
    <item>
      <title>I finally have it worked out.</title>
      <link>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065022#M135203</link>
      <description>&lt;P&gt;I finally have it worked out.&amp;nbsp;&amp;nbsp;&amp;nbsp; The ACL needs to be an extended ACL that specifies the source address AND 'any' as the destination.&amp;nbsp; Previously, I was using a standard ACL.&lt;/P&gt;
&lt;P&gt;ALSO: it did not work with the 'set interface' option.&amp;nbsp; I had to use the 'set PBR next-hop' option to make it work.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you &lt;SPAN class="fullname"&gt;&lt;SPAN rel="sioc:has_creator"&gt;&lt;A href="https://supportforums.cisco.com/users/supportlan" title="View user profile." class="username" lang="" about="/users/supportlan" typeof="sioc:UserAccount" property="foaf:name" datatype=""&gt;Francesco Molino.&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 21:38:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065022#M135203</guid>
      <dc:creator>andrewgori</dc:creator>
      <dc:date>2017-05-30T21:38:24Z</dc:date>
    </item>
    <item>
      <title>Hi </title>
      <link>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065023#M135210</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;You're welcome.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I always use (most of the time) the set ip next hop with extended acl but set interface should work as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I'm sorry i didn't noticed that you were using standard acl. It works with standard acls but you need to setup the destination network and not the source.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 21:55:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/issue-with-policy-based-routing/m-p/3065023#M135210</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2017-05-30T21:55:49Z</dc:date>
    </item>
  </channel>
</rss>

