<?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: ASA Static Routing same IP with different subnet masks in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224476#M1117567</link>
    <description>&lt;P&gt;It issue'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have packet to 192.168.2.1 that need to route via 192.168.0.0/16 then asa will never forward it to correct interface' asa use longest match and hence always use 192.168.2.0/24&lt;/P&gt;
&lt;P&gt;Try dont use overlapping subnet in any device&lt;/P&gt;
&lt;P&gt;MHM&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 16:50:51 GMT</pubDate>
    <dc:creator>MHM Cisco World</dc:creator>
    <dc:date>2024-11-14T16:50:51Z</dc:date>
    <item>
      <title>ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224469#M1117565</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Would having static routes on an ASA with the same IP but with a different subnet mask present any issues?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;192.168.0.0/16&lt;/P&gt;&lt;P&gt;192.168.2.0/24&lt;/P&gt;&lt;P&gt;From what I understand it wouldn't present an issue because although they may have the same IP, the subnet mask places them on a different network.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;TLS3&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 16:39:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224469#M1117565</guid>
      <dc:creator>tselby3</dc:creator>
      <dc:date>2024-11-14T16:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224471#M1117566</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1768936"&gt;@tselby3&lt;/a&gt; that will be fine, the route for 192.168.2.0/24 is more specific, so traffic will be routed via the configure next hop.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 16:43:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224471#M1117566</guid>
      <dc:creator>Rob Ingram</dc:creator>
      <dc:date>2024-11-14T16:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224476#M1117567</link>
      <description>&lt;P&gt;It issue'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have packet to 192.168.2.1 that need to route via 192.168.0.0/16 then asa will never forward it to correct interface' asa use longest match and hence always use 192.168.2.0/24&lt;/P&gt;
&lt;P&gt;Try dont use overlapping subnet in any device&lt;/P&gt;
&lt;P&gt;MHM&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 16:50:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224476#M1117567</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2024-11-14T16:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224493#M1117569</link>
      <description>&lt;P&gt;MHM&lt;/P&gt;&lt;P&gt;Sorry, not quite following what you are saying.&amp;nbsp; The static route entries would look like the below, they both would use a different interface and gateway.&lt;/P&gt;&lt;P&gt;Existing route:&amp;nbsp; Interface-A 192.168.0.0&amp;nbsp; 255.255.0.0&amp;nbsp; x.x.x.x&amp;nbsp;&lt;/P&gt;&lt;P&gt;New route:&amp;nbsp; Interface-B&amp;nbsp; 192.168.2.0&amp;nbsp; 255.255.255.0&amp;nbsp; y.y.y.y&lt;/P&gt;&lt;P&gt;TLS3&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 17:13:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224493#M1117569</guid>
      <dc:creator>tselby3</dc:creator>
      <dc:date>2024-11-14T17:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224496#M1117570</link>
      <description>&lt;P&gt;If asa need to forward traffic to host have IP 192.168.2.x and it connect via interface- A which static route asa will use?&lt;/P&gt;
&lt;P&gt;Asa like ios devices use longest match and hence it will use static route 192.168.20/24 instead of 192.168.0.0/24 to forward packet to 192.168.2.x&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will make blackhole and packet drop.&lt;/P&gt;
&lt;P&gt;So try avoiding use overlapping subnet as much as you can.&lt;/P&gt;
&lt;P&gt;MHM&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 17:17:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224496#M1117570</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2024-11-14T17:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224506#M1117572</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1768936"&gt;@tselby3&lt;/a&gt; the /24 would be preferred when routing to the specific /24 network, else traffic to any other 192.168.0.0/16 network would go via the other next hop.&lt;/P&gt;
&lt;P&gt;Example from my ASA, via same interface different next hop.&lt;/P&gt;
&lt;PRE&gt;ASA(config)# show run route&lt;BR /&gt;&lt;STRONG&gt;route LAB 192.168.0.0 255.255.0.0 192.168.250.1 1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;route LAB 192.168.10.0 255.255.255.0 192.168.250.2 1&lt;/STRONG&gt;&lt;BR /&gt;ASA(config)# &lt;STRONG&gt;show route 192.168.10.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Routing entry for &lt;STRONG&gt;192.168.10.0 255.255.255.0&lt;/STRONG&gt;&lt;BR /&gt;Known via "static", distance 1, metric 0&lt;BR /&gt;Routing Descriptor Blocks:&lt;BR /&gt;* &lt;STRONG&gt;192.168.250.2, &lt;/STRONG&gt;via LAB&lt;BR /&gt;Route metric is 0, traffic share count is 1&lt;BR /&gt;&lt;BR /&gt;ASA(config)#&lt;STRONG&gt; show route 192.168.20.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Routing entry for &lt;STRONG&gt;192.168.0.0 255.255.0.0,&lt;/STRONG&gt; supernet&lt;BR /&gt;Known via "static", distance 1, metric 0&lt;BR /&gt;Routing Descriptor Blocks:&lt;BR /&gt;*&lt;STRONG&gt; 192.168.250.1&lt;/STRONG&gt;, via LAB&lt;BR /&gt;Route metric is 0, traffic share count is 1&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Or different interface, different next hop.&lt;/P&gt;
&lt;PRE&gt;route &lt;STRONG&gt;LAB 192.168.0.0 255.255.0.0&lt;/STRONG&gt; 192.168.250.3 1&lt;BR /&gt;route &lt;STRONG&gt;VLAN7 192.168.12.0 255.255.255.0&lt;/STRONG&gt; 192.168.7.2&lt;BR /&gt;&lt;BR /&gt;ASA(config)# &lt;STRONG&gt;show route 192.168.12.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Routing entry for 192.168.12.0 255.255.255.0&lt;BR /&gt;Known via "static", distance 1, metric 0&lt;BR /&gt;Routing Descriptor Blocks:&lt;BR /&gt;* &lt;STRONG&gt;192.168.7.2, via VLAN7&lt;/STRONG&gt;&lt;BR /&gt;Route metric is 0, traffic share count is 1&lt;BR /&gt;&lt;BR /&gt;ASA(config)#&lt;STRONG&gt; show route 192.168.0.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Routing entry for 192.168.0.0 255.255.0.0, supernet&lt;BR /&gt;Known via "static", distance 1, metric 0&lt;BR /&gt;Routing Descriptor Blocks:&lt;BR /&gt;* &lt;STRONG&gt;192.168.250.3, via LAB&lt;/STRONG&gt;&lt;BR /&gt;Route metric is 0, traffic share count is 1&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Nov 2024 06:51:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224506#M1117572</guid>
      <dc:creator>Rob Ingram</dc:creator>
      <dc:date>2024-11-15T06:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224516#M1117574</link>
      <description>&lt;P&gt;I see what you are referring to with a possibility of it having to go out interface-a.&amp;nbsp; I'll triple check, but I don't think 192.168.2.x on the /16 is used.&amp;nbsp; I do agree with you on not overlapping subnets on routes, but this is a network i inherited.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 17:45:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224516#M1117574</guid>
      <dc:creator>tselby3</dc:creator>
      <dc:date>2024-11-14T17:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224517#M1117575</link>
      <description>&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;Thanks for your detailed replies.&amp;nbsp; I've got a few things to check before I enter the route and I'll go from there.&lt;/P&gt;&lt;P&gt;TLS3&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 17:47:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224517#M1117575</guid>
      <dc:creator>tselby3</dc:creator>
      <dc:date>2024-11-14T17:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224646#M1117577</link>
      <description>&lt;P&gt;One more question, does the same apply if it is the same interface but different gateways?&lt;/P&gt;&lt;P&gt;Interface1&amp;nbsp; 192.168.0.0&amp;nbsp; 255.255.0.0&amp;nbsp; x.x.x.x&lt;/P&gt;&lt;P&gt;Interface1&amp;nbsp; 192.168.2.0&amp;nbsp; 255.255.255.0&amp;nbsp; y.y.y.y&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;TLS3&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 21:49:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224646#M1117577</guid>
      <dc:creator>tselby3</dc:creator>
      <dc:date>2024-11-14T21:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224744#M1117578</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1768936"&gt;@tselby3&lt;/a&gt; yes that will work, I updated the example above to reflect that scenario.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 06:52:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5224744#M1117578</guid>
      <dc:creator>Rob Ingram</dc:creator>
      <dc:date>2024-11-15T06:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Static Routing same IP with different subnet masks</title>
      <link>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5225113#M1117598</link>
      <description>&lt;P&gt;Sorry it not work.&lt;/P&gt;
&lt;P&gt;Still asa see overlapping.&lt;/P&gt;
&lt;P&gt;The asa will still prefer longest match and never try use 192.168.0.0 to forward traffic for 192.168.2.0.&lt;/P&gt;
&lt;P&gt;MHM&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:06:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-static-routing-same-ip-with-different-subnet-masks/m-p/5225113#M1117598</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2024-11-15T20:06:20Z</dc:date>
    </item>
  </channel>
</rss>

