<?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 Re: Route with gateway 0.0.0.0 in Routing</title>
    <link>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730479#M375386</link>
    <description>&lt;P&gt;Hello Giuseppe&lt;/P&gt;
&lt;P&gt;Thanks for your answer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I found something about this matter in Internet, even in another topic in Cisco Community:&lt;BR /&gt;&lt;A href="https://community.cisco.com/t5/switching/static-route-next-hop-0-0-0-0-quot-ip-route-192-168-1-0-255-255/td-p/663840" target="_blank"&gt;https://community.cisco.com/t5/switching/static-route-next-hop-0-0-0-0-quot-ip-route-192-168-1-0-255-255/td-p/663840&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;but I think your explanation is clearer, makes sense and é exactly what I'd like to confirm&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 16:45:48 GMT</pubDate>
    <dc:creator>Christian Jorge</dc:creator>
    <dc:date>2022-11-30T16:45:48Z</dc:date>
    <item>
      <title>Route with gateway 0.0.0.0</title>
      <link>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730375#M375379</link>
      <description>&lt;P&gt;Good morning&lt;/P&gt;
&lt;P&gt;Checking an ACI leaf switch I found these static routes&lt;/P&gt;
&lt;P&gt;ip route 10.10.0.0/16 0.0.0.0 200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (gateway 0.0.0.0 ?)&lt;BR /&gt;ip route 10.10.0.0/16 10.1.0.1 210&lt;/P&gt;
&lt;P&gt;Checking the routing table, it's been considered only the route number 2 (distance 210)&lt;/P&gt;
&lt;P&gt;10.10.0.0/16, ubest/mbest: 1/0&lt;BR /&gt;*via 10.1.0.1, vlan10, [210/0], 32w05d, static&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know (or have history about) why someone has created these routes, but I'm wondering:&lt;/P&gt;
&lt;P&gt;- what the reason that a switch disregard the primary route (distance 200)?&lt;/P&gt;
&lt;P&gt;- how a switch/router understands a static route with gateway 0.0.0.0?&lt;/P&gt;
&lt;P&gt;- route with gateway 0.0.0.0 would be different than a route with a gateway Null0?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*ps: I have already seen before a route with gateway 0.0.0.0 only in BGP routing tables&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 15:12:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730375#M375379</guid>
      <dc:creator>Christian Jorge</dc:creator>
      <dc:date>2022-11-30T15:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Route with gateway 0.0.0.0</title>
      <link>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730395#M375382</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/318926"&gt;@Christian Jorge&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;A static route with next-hop 0.0.0.0 is probably treated as invalid with a not specified next-hop.&lt;/P&gt;
&lt;P&gt;This would explain why the second static route with AD 210 is installed because it has a valid IP next-hop hopefully pointing to another device.&lt;/P&gt;
&lt;P&gt;A BGP next-hop of 0.0.0.0 applies to locally generated BGP prefixes.&lt;/P&gt;
&lt;P&gt;Finally a static route to null0 is a valid static route that silently discards packets. null0 is a defined logical interface the waste bin an IP next-hop of 0.0.0.0 is not equivalent to it, it should just be treated as an undefined IP nv4 next-hop.&lt;/P&gt;
&lt;P&gt;Hope to help&lt;/P&gt;
&lt;P&gt;Giuseppe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 15:35:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730395#M375382</guid>
      <dc:creator>Giuseppe Larosa</dc:creator>
      <dc:date>2022-11-30T15:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Route with gateway 0.0.0.0</title>
      <link>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730479#M375386</link>
      <description>&lt;P&gt;Hello Giuseppe&lt;/P&gt;
&lt;P&gt;Thanks for your answer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I found something about this matter in Internet, even in another topic in Cisco Community:&lt;BR /&gt;&lt;A href="https://community.cisco.com/t5/switching/static-route-next-hop-0-0-0-0-quot-ip-route-192-168-1-0-255-255/td-p/663840" target="_blank"&gt;https://community.cisco.com/t5/switching/static-route-next-hop-0-0-0-0-quot-ip-route-192-168-1-0-255-255/td-p/663840&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;but I think your explanation is clearer, makes sense and é exactly what I'd like to confirm&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 16:45:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730479#M375386</guid>
      <dc:creator>Christian Jorge</dc:creator>
      <dc:date>2022-11-30T16:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Route with gateway 0.0.0.0</title>
      <link>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730488#M375387</link>
      <description>&lt;P&gt;sorry can you more elaborate where exact you see next-hop 0.0.0.0 for static route in ACI ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 16:53:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730488#M375387</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2022-11-30T16:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Route with gateway 0.0.0.0</title>
      <link>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730491#M375388</link>
      <description>&lt;P&gt;Actually I can see next-hop 0.0.0.0 only in static route configuration:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ip route 10.10.0.0/16 0.0.0.0 200&lt;BR /&gt;&lt;BR /&gt;but exactly as explained before, this route/gateway is considered invalid and not input in routing table&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 16:57:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/route-with-gateway-0-0-0-0/m-p/4730491#M375388</guid>
      <dc:creator>Christian Jorge</dc:creator>
      <dc:date>2022-11-30T16:57:37Z</dc:date>
    </item>
  </channel>
</rss>

