<?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 Setting Gateway for Loopbacks in Routing and SD-WAN</title>
    <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4449873#M354276</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have a router which is connected to two isp. ISP1 and ISP2. we are running bgp with both of them. for inbound traffic we are receiving the traffic almost as expected but for outbound traffic all the traffic is following ISP1 always. and we do not wanted like that and need to send traffic to ISP1 and some to ISP2 (both ISP are sending default route through BGP). after doing many changes we did not get desired results so i went with other solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! Step 1&lt;/P&gt;&lt;P&gt;! Define SLA to track the default route and set default route according to availability.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! SLA for ISP1 as default Gateway&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip sla 15&lt;/P&gt;&lt;P&gt;icmp-echo 172.16.180.161&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! ISP1 Side IP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;frequency 5&lt;/P&gt;&lt;P&gt;ip sla schedule 15 life forever start-time now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!!! Track for SLA 15 to check the status of next hop ISP1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;track 15 ip sla 15 reachability&lt;/P&gt;&lt;P&gt;&amp;nbsp;delay down 120 up 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! Default route for all traffic is ISP1 with default metrics. and Track the availability of ISP1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip route 0.0.0.0 0.0.0.0 172.16.180.161 track 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! Default route for all traffic to ISP2 with metric 15 set lower then 20 (EBGP)&lt;/P&gt;&lt;P&gt;! ISP2&amp;nbsp; side&amp;nbsp;&amp;nbsp; 172.17.4.137&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip route 0.0.0.0 0.0.0.0 172.17.4.137 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! For Load balancing create route-map and call the ACL for preferred path.&lt;/P&gt;&lt;P&gt;! ACL to match the subnet we need to prefer to ISP1.&lt;/P&gt;&lt;P&gt;!&amp;nbsp;&lt;/P&gt;&lt;P&gt;access-list 80 permit 192.12.176.0 0.0.0.255&lt;/P&gt;&lt;P&gt;access-list 81 permit 192.12.177.0 0.0.0.255&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! ACL to match the subnet we need to prefer to ISP2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;access-list 82 permit 192.12.178.0 0.0.0.255&lt;/P&gt;&lt;P&gt;access-list 83 permit 192.12.179.0 0.0.0.255&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!! IP SLA for main ISP1 and backup ISP2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip sla 16&lt;/P&gt;&lt;P&gt;icmp-echo 172.16.180.161&lt;/P&gt;&lt;P&gt;frequency 5&lt;/P&gt;&lt;P&gt;ip sla schedule 16 life forever start-time now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!!! Track for IP SLA 16 for making the next hop for preferred subnet to ISP1&lt;/P&gt;&lt;P&gt;track 16 ip sla 16 reachability&lt;/P&gt;&lt;P&gt;&amp;nbsp;delay down 120 up 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!! IP SLA for main ISP1 and backup ISP2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip sla 17&lt;/P&gt;&lt;P&gt;icmp-echo 172.17.4.137&lt;/P&gt;&lt;P&gt;frequency 5&lt;/P&gt;&lt;P&gt;ip sla schedule 17 life forever start-time now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!!! Track for IP SLA 16 for making the next hop for preferred subnet to ISP1&lt;/P&gt;&lt;P&gt;track 17 ip sla 17 reachability&lt;/P&gt;&lt;P&gt;&amp;nbsp;delay down 120 up 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!! Route map to set ISP1 as main and ISP2&amp;nbsp; as backup for subnet 80 and 81&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;route-map MAIN_ISP1_BACK_ISP2 permit 10&lt;/P&gt;&lt;P&gt;match ip address 80 81&lt;/P&gt;&lt;P&gt;&amp;nbsp;set ip next-hop verify-availability 172.16.180.161 16 track 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!! Route map to set ISP2&amp;nbsp; as main and ISP1 as backup for subnet 82 and 83&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;route-map MAIN_ISP2_BACK_ISP1 permit 10&lt;/P&gt;&lt;P&gt;match ip address 82 83&lt;/P&gt;&lt;P&gt;&amp;nbsp;set ip next-hop verify-availability 172.17.4.137 17 track 17&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int Loopback 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;ip address 192.12.176.1 255.255.255.255&lt;/P&gt;&lt;P&gt;ip policy route-map MAIN_ISP1_BACK_ISP2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int Loopback 101&lt;/P&gt;&lt;P&gt;ip address 192.12.177.1 255.255.255.255&lt;/P&gt;&lt;P&gt;ip policy route-map MAIN_ISP1_BACK_ISP2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Int Loopback 200&lt;/P&gt;&lt;P&gt;ip address 192.12.178.1 255.255.255.255&lt;/P&gt;&lt;P&gt;ip policy route-map MAIN_ISP2_BACK_ISP1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int Loopback 201&lt;/P&gt;&lt;P&gt;ip address 192.12.179.1 255.255.255.255&lt;/P&gt;&lt;P&gt;ip policy route-map MAIN_ISP2_BACK_ISP1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After doing this still the traceroute source as any of these loopback is following ISP1 which we do not want.&lt;/P&gt;&lt;P&gt;so kindly let me know where i am making mistake&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 16 Aug 2021 11:03:22 GMT</pubDate>
    <dc:creator>CCIE Aspirant</dc:creator>
    <dc:date>2021-08-16T11:03:22Z</dc:date>
    <item>
      <title>Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4449873#M354276</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have a router which is connected to two isp. ISP1 and ISP2. we are running bgp with both of them. for inbound traffic we are receiving the traffic almost as expected but for outbound traffic all the traffic is following ISP1 always. and we do not wanted like that and need to send traffic to ISP1 and some to ISP2 (both ISP are sending default route through BGP). after doing many changes we did not get desired results so i went with other solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! Step 1&lt;/P&gt;&lt;P&gt;! Define SLA to track the default route and set default route according to availability.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! SLA for ISP1 as default Gateway&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip sla 15&lt;/P&gt;&lt;P&gt;icmp-echo 172.16.180.161&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! ISP1 Side IP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;frequency 5&lt;/P&gt;&lt;P&gt;ip sla schedule 15 life forever start-time now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!!! Track for SLA 15 to check the status of next hop ISP1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;track 15 ip sla 15 reachability&lt;/P&gt;&lt;P&gt;&amp;nbsp;delay down 120 up 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! Default route for all traffic is ISP1 with default metrics. and Track the availability of ISP1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip route 0.0.0.0 0.0.0.0 172.16.180.161 track 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! Default route for all traffic to ISP2 with metric 15 set lower then 20 (EBGP)&lt;/P&gt;&lt;P&gt;! ISP2&amp;nbsp; side&amp;nbsp;&amp;nbsp; 172.17.4.137&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip route 0.0.0.0 0.0.0.0 172.17.4.137 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! For Load balancing create route-map and call the ACL for preferred path.&lt;/P&gt;&lt;P&gt;! ACL to match the subnet we need to prefer to ISP1.&lt;/P&gt;&lt;P&gt;!&amp;nbsp;&lt;/P&gt;&lt;P&gt;access-list 80 permit 192.12.176.0 0.0.0.255&lt;/P&gt;&lt;P&gt;access-list 81 permit 192.12.177.0 0.0.0.255&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! ACL to match the subnet we need to prefer to ISP2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;access-list 82 permit 192.12.178.0 0.0.0.255&lt;/P&gt;&lt;P&gt;access-list 83 permit 192.12.179.0 0.0.0.255&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!! IP SLA for main ISP1 and backup ISP2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip sla 16&lt;/P&gt;&lt;P&gt;icmp-echo 172.16.180.161&lt;/P&gt;&lt;P&gt;frequency 5&lt;/P&gt;&lt;P&gt;ip sla schedule 16 life forever start-time now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!!! Track for IP SLA 16 for making the next hop for preferred subnet to ISP1&lt;/P&gt;&lt;P&gt;track 16 ip sla 16 reachability&lt;/P&gt;&lt;P&gt;&amp;nbsp;delay down 120 up 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!! IP SLA for main ISP1 and backup ISP2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip sla 17&lt;/P&gt;&lt;P&gt;icmp-echo 172.17.4.137&lt;/P&gt;&lt;P&gt;frequency 5&lt;/P&gt;&lt;P&gt;ip sla schedule 17 life forever start-time now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!!!! Track for IP SLA 16 for making the next hop for preferred subnet to ISP1&lt;/P&gt;&lt;P&gt;track 17 ip sla 17 reachability&lt;/P&gt;&lt;P&gt;&amp;nbsp;delay down 120 up 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!! Route map to set ISP1 as main and ISP2&amp;nbsp; as backup for subnet 80 and 81&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;route-map MAIN_ISP1_BACK_ISP2 permit 10&lt;/P&gt;&lt;P&gt;match ip address 80 81&lt;/P&gt;&lt;P&gt;&amp;nbsp;set ip next-hop verify-availability 172.16.180.161 16 track 16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;!!!! Route map to set ISP2&amp;nbsp; as main and ISP1 as backup for subnet 82 and 83&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;route-map MAIN_ISP2_BACK_ISP1 permit 10&lt;/P&gt;&lt;P&gt;match ip address 82 83&lt;/P&gt;&lt;P&gt;&amp;nbsp;set ip next-hop verify-availability 172.17.4.137 17 track 17&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int Loopback 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;ip address 192.12.176.1 255.255.255.255&lt;/P&gt;&lt;P&gt;ip policy route-map MAIN_ISP1_BACK_ISP2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int Loopback 101&lt;/P&gt;&lt;P&gt;ip address 192.12.177.1 255.255.255.255&lt;/P&gt;&lt;P&gt;ip policy route-map MAIN_ISP1_BACK_ISP2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Int Loopback 200&lt;/P&gt;&lt;P&gt;ip address 192.12.178.1 255.255.255.255&lt;/P&gt;&lt;P&gt;ip policy route-map MAIN_ISP2_BACK_ISP1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int Loopback 201&lt;/P&gt;&lt;P&gt;ip address 192.12.179.1 255.255.255.255&lt;/P&gt;&lt;P&gt;ip policy route-map MAIN_ISP2_BACK_ISP1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After doing this still the traceroute source as any of these loopback is following ISP1 which we do not want.&lt;/P&gt;&lt;P&gt;so kindly let me know where i am making mistake&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 11:03:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4449873#M354276</guid>
      <dc:creator>CCIE Aspirant</dc:creator>
      <dc:date>2021-08-16T11:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450074#M354291</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if your bgp peers send you 0.0.0.0/0 why you configure static route and tracking after this default route ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;After all, if for example peer is down from ISP1 or ISP2 then deafult-route (0.0.0.0/0 via bgp)&amp;nbsp;will be deleted from your routing table and of course next-hop address (ISP peer address) will also be deleted from routing table.&lt;/P&gt;&lt;P&gt;If you want to send traffic through a particular ISP you can use weight for example instead of static route.&lt;/P&gt;&lt;P&gt;in this case traffic that need to exit from you router will uses the secondary ISP (which still publishes default-route 0.0.0.0/0) .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing,&lt;/P&gt;&lt;P&gt;Is it mandatory for you to send traffic from specific addresses through a specific ISP?&lt;BR /&gt;Is there a reason you not use load-balancing for 0.0.0.0/0 via ISP1 and ISP2?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 20:33:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450074#M354291</guid>
      <dc:creator>pman</dc:creator>
      <dc:date>2021-08-16T20:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450100#M354293</link>
      <description>&lt;P&gt;My first comment is that the behavior described in the original post that routing was sending outbound traffic through a single ISP even though there are 2 ISP and each ISP is advertising a default route is the expected behavior. The default when running BGP is to pick a single best path and to use that with the other default route as a backup in case the primary route is withdrawn. You can change you BGP configuration to allow equal cost forwarding on 2 paths and that might solve your problem.&lt;/P&gt;
&lt;P&gt;My second comment is that using Policy Based Routing is another way to accomplish load sharing using both ISP. But there are several things about your implementation that are questionable.&lt;/P&gt;
&lt;P&gt;- Your PBR uses a separate access list to identify each subnet you want to forward. That is overly complex. It would be better if you used a single access list (with 2 permit statements) to identify traffic for ISP 1 and a single access list (with 2 permit statements) to identify traffic for ISP 2.&lt;/P&gt;
&lt;P&gt;- The route map for PBR should be associated with the interface where that traffic arrives on the router. So for ISP 1 it should be the interfaces where&amp;nbsp;&lt;SPAN&gt;192.12.176.0&amp;nbsp;and 192.12.177.0 arrives. And for ISP 2 it should be the interfaces where 192.12.178.0 and 192.12.179.0 arrive. But the interfaces you use are loopback interfaces. What traffic arrives on a loopback interface?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Normal PBR processes traffic that arrives at the router but does not process traffic that is generated by the router. If you want PBR to process your traceroute request you need to configured local policy.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 19:04:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450100#M354293</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2021-08-16T19:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450154#M354298</link>
      <description>&lt;P&gt;Hi Pman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if your bgp peers send you 0.0.0.0/0 why you configure static route and tracking after this default route ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;actually i had tried to go with setting bgp attribute to load balance or to prefer paths for my outbound traffic. the problem with that was all my traffic was going to isp1 although i tried to set the recommended attributes by cisco website or by trainers. at my gns3 lab it was working as expected but on real devices it was not working as expected. so my inbound traffic was working as expected but outbound had problem so i decided to go by this scenario&amp;nbsp;as we need to work on some project and we need the setup. the thing i suspected might go wrong was the default route send by both isp and by bgp best path selection it always selected the next hop availability&amp;nbsp;instead of going to check other attributes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;note that we have our own public ASN and both isp are in different&amp;nbsp;ASN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;may be i am wrong somewhere but i thought this strategy will solve my problems.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is it mandatory for you to send traffic from specific addresses through a specific ISP?&lt;BR /&gt;Is there a reason you not use load-balancing for 0.0.0.0/0 via ISP1 and ISP2?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for both of above questions i would say that we need to utilize both isp links in a way to prefer two subnets on isp1 and two on other and they should not do load balance instead they should do failover.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 21:18:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450154#M354298</guid>
      <dc:creator>CCIE Aspirant</dc:creator>
      <dc:date>2021-08-16T21:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450157#M354299</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/326229"&gt;@Richard Burts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your wonderful reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;i agree at the point the bgp behavior now is what it should behave. but the thing is i do not want load balance i need a sort of failover **bleep** load balance. i mean i have 4 public subnets and i need two of them should be advertised through isp1 and two should be isp2 as main and in case of failure of one isp the other isp should take the responsibility of all subnets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like for first two subnets isp1 is main and isp2 is backup and for last two subnets isp2 is main and isp1 is backup&lt;/P&gt;&lt;P&gt;so is that possible with bgp?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the loopbacks that i have defined are the ipsec source&amp;nbsp; @( local router) and destination @( remote site) ip addresses and they should be publicly pingable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so i want my some tunnels load should come from isp1 and some from isp2 but what currently going on is that traffic for tunnels preferred by isp1 and that preferred by isp2 are coming from isp1 and isp2 respectively but the response of these traffic is going out through isp1 only. so i need to resolve that problem by any means.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;last how we can set local policy?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 21:30:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450157#M354299</guid>
      <dc:creator>CCIE Aspirant</dc:creator>
      <dc:date>2021-08-16T21:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450182#M354302</link>
      <description>&lt;P&gt;if both ISP advertise the same Routes,&amp;nbsp;&lt;BR /&gt;config INBOUND route-map change the weight for some route to be prefer from ISP1 and other route to be prefer from ISP2.&lt;BR /&gt;for default route it must be either from ISP1 and ISP2.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 23:06:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450182#M354302</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2021-08-16T23:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450292#M354314</link>
      <description>&lt;P&gt;Thank you for the additional information. Your clarifications are helpful. In considering BGP and traffic for the Internet we need to consider separately what we do for inbound traffic (Internet to your networks) and outbound traffic (your networks going to the Internet).&lt;/P&gt;
&lt;P&gt;- For inbound traffic there is a relatively simple solution in BGP. You would advertise a summary route for the 4 subnets to both ISP and you advertise the more specific routes for the first 2 subnets to ISP 1 and advertise more specific routes for the other 2 subnets to ISP 2.&lt;/P&gt;
&lt;P&gt;- For outbound traffic there is not a good solution in BGP. If your intention is that the first 2 subnets go out through ISP 1 and use ISP 2 as a failover and that the last 2 subnets go out through ISP 2 and use ISP 1 as a failover then the better solution would be PBR.&lt;/P&gt;
&lt;P&gt;- As I indicated in my previous response the PBR route map needs to be applied on the router interface where the traffic from those subnets enters the router. Configuring loopback interfaces with a /32 IP address from the subnet does not satisfy that requirement.&lt;/P&gt;
&lt;P&gt;For information about local PBR this link provides information that I think will be helpful&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/12-2/25ew/configuration/guide/conf/pbroute.pdf" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/12-2/25ew/configuration/guide/conf/pbroute.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Your recent response introduces a new aspect of what we need to address. You mention tunnels and ipsec. If there are site to site vpn tunnels then we need information about these and about how you want them to work to be able to give you good advice. Sending user traffic to the Internet is one thing and sending user traffic out through ipsec vpn tunnels is a very different thing.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 07:04:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450292#M354314</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2021-08-17T07:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450318#M354319</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;Actually the loopbacks are at our routers and we need it to go outside through&amp;nbsp; isp1 and isp2. but in a way first two subnets should be reachable (inbound and outbound) as main via isp1 and last two subnets should be reachable ( inbound and outbound) as main via isp2 and in case of one isp link failure all of loopbacks defined at our router should follow ( inbound and outbound) the other isp. is that possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 08:04:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450318#M354319</guid>
      <dc:creator>CCIE Aspirant</dc:creator>
      <dc:date>2021-08-17T08:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450329#M354321</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/326229"&gt;@Richard Burts&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your response. I appreciate your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you mean to say with BGP, we can not achieve what I am trying to achieve right? and i have to use PBR. But with PBR as you said it is meant for traffic coming to our router interface and in this case the traffic is not from outside. The traffic is from the Loopbacks. As the loopbacks are sources of IPSEC tunnels to our remote sites. so i need to know the mechanism to let my outbound traffic for first two subnets follow ISP1 and last two subnets follow ISP2 and they should not look at the default gateway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding our IPSEC scenario, i will explain them.&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;we are using "Cisco IR809G-LTE-GA-K9" at our branch sites with cellular&amp;nbsp;sim inside them. we have created point to point tunnel from these router to our router at head office. at branch router the loopback we defined at our HO router is destination for tunnel and source of tunnel is cellular.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;when we establish the tunnel, then we send all our LAN traffic at sites to our Head office. so we need a way that some of our remote sites tunnel should follow inbound and outbound ISP1 and some should follow Inbound and outbound ISP2. So if tunnel is established from Site1 (ISP1 Loopback destination) let say , then I&amp;nbsp;need all the LAN traffic of that specific tunnel should follow in and out ISP1 and for example Site2( ISP2 loopback destination) , then I&amp;nbsp;need all the LAN traffic of that specific tunnel should follow in and out ISP2. But what is happening now that all the respected tunnels inbound traffic is coming through it respected ISP but the response traffic is only going out of ISP1 due to default&amp;nbsp;gateway.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;so what i am thinking that if i make our loopbacks to force them ( outbound)&amp;nbsp; in a way to override the default gateway, then it might solve the problem. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Let me share the utilization of both ISP graph, which clears that inbound is coming through respected isp but outbound is always going through isp1 which makes the routing asymmetric.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Thanks and appreciate your support.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 08:28:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450329#M354321</guid>
      <dc:creator>CCIE Aspirant</dc:creator>
      <dc:date>2021-08-17T08:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450354#M354325</link>
      <description>&lt;P&gt;&lt;U&gt;about outgoing traffic:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Can you attach the following output: show ip bgp 0.0.0.0/0?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 14:29:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450354#M354325</guid>
      <dc:creator>pman</dc:creator>
      <dc:date>2021-08-17T14:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450426#M354344</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1216614"&gt;@pman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output is&amp;nbsp;&lt;/P&gt;&lt;P&gt;========================================================================&lt;/P&gt;&lt;P&gt;Sup_32UR#sh ip bgp 0.0.0.0/0&lt;BR /&gt;BGP routing table entry for 0.0.0.0/0, version 1656&lt;BR /&gt;Paths: (2 available, best #1, table default, RIB-failure(17) - next-hop mismatch)&lt;BR /&gt;Not advertised to any peer&lt;BR /&gt;Refresh Epoch 1&lt;BR /&gt;25233, (received &amp;amp; used)&lt;BR /&gt;172.16.180.161 from 172.16.180.161 (x.93.193.x)&lt;BR /&gt;Origin IGP, localpref 100, valid, external, best&lt;BR /&gt;rx pathid: 0, tx pathid: 0x0&lt;BR /&gt;Refresh Epoch 2&lt;BR /&gt;29690 39386, (received-only)&lt;BR /&gt;172.17.4.137 from 172.17.4.137 (x.70.41.x)&lt;BR /&gt;Origin IGP, localpref 100, valid, external&lt;BR /&gt;rx pathid: 0, tx pathid: 0&lt;/P&gt;&lt;P&gt;================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No i have not tried this "&lt;SPAN&gt;&amp;nbsp;maximum-path 2" command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what it will do if i use it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Appreciate your support&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 11:46:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450426#M354344</guid>
      <dc:creator>CCIE Aspirant</dc:creator>
      <dc:date>2021-08-17T11:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450446#M354349</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/326229"&gt;@Richard Burts&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried to apply local policy as you suggested for the traffic that is locally generated, but i can see this command exist&lt;/P&gt;&lt;P&gt;"ip local-policy route-map"&lt;/P&gt;&lt;P&gt;(config-if)#ip local-policy route-map ISP_FES&lt;BR /&gt;^&lt;BR /&gt;% Invalid input detected at '^' marker.&lt;/P&gt;&lt;P&gt;=====================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HS-Edge#sh version&lt;BR /&gt;Cisco IOS XE Software, Version 03.13.01.S - Extended Support Release&lt;BR /&gt;Cisco IOS Software, ASR1000 Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.4(3)S1, RELEASE SOFTWARE (fc3)&lt;BR /&gt;Technical Support: &lt;A href="http://www.cisco.com/techsupport" target="_blank"&gt;http://www.cisco.com/techsupport&lt;/A&gt;&lt;BR /&gt;Copyright (c) 1986-2014 by Cisco Systems, Inc.&lt;/P&gt;&lt;P&gt;===============================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 12:09:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450446#M354349</guid>
      <dc:creator>CCIE Aspirant</dc:creator>
      <dc:date>2021-08-17T12:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450456#M354351</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"table default, RIB-failure(17) - next-hop mismatch)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I guess it happens because you point with static route that have better AD to the next-hop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from Cisco:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"&amp;nbsp;A rib-failure occurs when&amp;nbsp;Border Gateway Protocol (BGP)&amp;nbsp;tries to install the bestpath prefix into the RIB, but the RIB rejects the BGP route because a route with better administrative distance already exists in the routing table.&amp;nbsp; "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another thing,&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;about the outbound traffic:&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;If you want to use both ISP1 and ISP2 (load balance from different AS numbers)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;then you can use:&lt;/U&gt;&lt;BR /&gt;maximum-paths 2&lt;BR /&gt;bgp bestpath as-path multipath-relax&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and again I apologize if I misunderstood,&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 14:43:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450456#M354351</guid>
      <dc:creator>pman</dc:creator>
      <dc:date>2021-08-17T14:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450458#M354352</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Actually i am using static route as well you can see in my original post and it is causing RIB failure. so do u think that is the reason of Asymmetric routing.&lt;/P&gt;&lt;P&gt;Thanks for the support&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 12:39:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450458#M354352</guid>
      <dc:creator>CCIE Aspirant</dc:creator>
      <dc:date>2021-08-17T12:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450630#M354374</link>
      <description>&lt;P&gt;If you configure maximum-paths 2 under BGP then it would allow BGP to use both of the advertised default routes. In the beginning of this discussion I thought that this command might achieve your objective of using both ISP. But as you have further explained your objectives it is not just to use both ISP but is that traffic from certain subnets should use ISP 1 as primary while other subnets should use ISP 2 as primary. maximum-paths would not help with that.&lt;/P&gt;
&lt;P&gt;As I said previously to achieve your objectives you need to consider inbound traffic and outbound traffic separately and there would be separate solutions for each objective.&lt;/P&gt;
&lt;P&gt;For inbound traffic I explained in a previous reply how to achieve in BGP that traffic coming from the Internet for certain subnets should use ISP 1 as primary while other traffic from the Internet to other subnets would use ISP 2 as primary. If there are parts of that explanation then please ask about them.&lt;/P&gt;
&lt;P&gt;For outbound traffic there is not any solution using BGP. BGP routing uses destination addresses to make forwarding decisions. Your objective is to use source address to make forwarding decisions. And that is what PBR does. I am surprised that configuring local policy did not work. Would you try ip local policy instead of ip local-policy and let us know if that works?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 16:43:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450630#M354374</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2021-08-17T16:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450770#M354380</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/326229"&gt;@Richard Burts&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So&amp;nbsp; i will try tomorrow as per your suggestion, to advertise first two most specific subnets plus complete /22 subnet to isp1 and other two specific subnet plus /22 summary route to isp2. it should solve my inbound traffic issue.&lt;/P&gt;&lt;P&gt;For outbound if i try maximum path will it solve both things or not? Kindly advice&lt;/P&gt;&lt;P&gt;And for PBR i replied above that " ip local policy route-map " command is not working at my router. i have shared the version as well kindly check.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===============================================================&lt;BR /&gt;&lt;SPAN&gt;Cisco IOS XE Software, Version 03.13.01.S - Extended Support Release&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cisco IOS Software, ASR1000 Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.4(3)S1, RELEASE SOFTWARE (fc3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Technical Support:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.cisco.com/techsupport" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.cisco.com/techsupport&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Copyright (c) 1986-2014 by Cisco Systems, Inc.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 21:27:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450770#M354380</guid>
      <dc:creator>CCIE Aspirant</dc:creator>
      <dc:date>2021-08-17T21:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Gateway for Loopbacks</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450779#M354381</link>
      <description>&lt;P&gt;If you make the changes that I suggest about advertising into BGP it should achieve your objective for inbound traffic from Internet to you. It should have 2 subnets come to you over ISP 1 while the other 2 subnets come to you over ISP 2. And if either ISP is not working then all traffic should use the ISP that is still working.&lt;/P&gt;
&lt;P&gt;For outbound if you try maximum paths it will not achieve your objective. maximum paths will allow BGP to use both default routes. But nothing there will tell the first 2 subnets to use ISP 1 or tell the other 2 subnets to use ISP 2. To achieve that objective you need PBR.&lt;/P&gt;
&lt;P&gt;This is what you posted in an earlier response&lt;/P&gt;
&lt;P&gt;"ip local-policy route-map"&lt;/P&gt;
&lt;P&gt;(config-if)#ip local-policy route-map ISP_FES&lt;BR /&gt;^&lt;BR /&gt;% Invalid input detected at '^' marker.&lt;/P&gt;
&lt;P&gt;Clearly there is a dash between local and policy. local-policy is not a valid command. local policy should be a valid command.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 22:11:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/setting-gateway-for-loopbacks/m-p/4450779#M354381</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2021-08-17T22:11:01Z</dc:date>
    </item>
  </channel>
</rss>

