<?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 object-group with network-object containing an IP address range in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158380#M358660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say range of IP addresses do you mean you used the keyword range or you just did it as you showed on the first post as that is incorrect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2013 05:58:11 GMT</pubDate>
    <dc:creator>Julio Carvajal</dc:creator>
    <dc:date>2013-04-09T05:58:11Z</dc:date>
    <item>
      <title>object-group with network-object containing an IP address range</title>
      <link>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158377#M358657</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the ASA treat an object-group with a network-object containing a range of IP addresses as a netmask? For example, I can apply this configuration without the ASA throwing any errors though the configuration calls for a 'net mask':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object-group network test&lt;/P&gt;&lt;P&gt; network-object 192.168.0.0 192.168.63.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;network-object-group mode commands/options:&lt;/P&gt;&lt;P&gt;&amp;nbsp; A.B.C.D&amp;nbsp; Enter an IPv4 network mask&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sh run ob id test&lt;/P&gt;&lt;P&gt;object-group network test&lt;/P&gt;&lt;P&gt; network-object 192.168.0.0 192.168.63.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that in the documentation it requires a netmask as oppose to a range. Is this a bug in the code? I am running code version 8.0(5)23 on a 5520. If this is not a bug how does the ASA treat this type of configuration when applied to an access list? When I ran a quick packet trace and denied access from that range it looks like the ASA doesn't read that configuration properly. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-John&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 01:25:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158377#M358657</guid>
      <dc:creator>john4665cisco</dc:creator>
      <dc:date>2019-03-12T01:25:22Z</dc:date>
    </item>
    <item>
      <title>object-group with network-object containing an IP address range</title>
      <link>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158378#M358658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify my findings. Applying the range of IP addresses:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;192.168.0.0 192.168.63.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to a network-object that resides in an object-group applied to an access list that denies this range, the ASA allows it through:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;input-interface: outside&lt;/P&gt;&lt;P&gt;input-status: up&lt;/P&gt;&lt;P&gt;input-line-status: up&lt;/P&gt;&lt;P&gt;output-interface: testdmz&lt;/P&gt;&lt;P&gt;output-status: up&lt;/P&gt;&lt;P&gt;output-line-status: up&lt;/P&gt;&lt;P&gt;Action: allow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When applying the range with a netmask:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;192.168.0.0 255.255.192.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ASA drops it as expected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;input-interface: outside&lt;/P&gt;&lt;P&gt;input-status: up&lt;/P&gt;&lt;P&gt;input-line-status: up&lt;/P&gt;&lt;P&gt;output-interface: testdmz&lt;/P&gt;&lt;P&gt;output-status: up&lt;/P&gt;&lt;P&gt;output-line-status: up&lt;/P&gt;&lt;P&gt;Action: drop&lt;/P&gt;&lt;P&gt;Drop-reason: (acl-drop) Flow is denied by configured rule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clears up my question, thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 04:58:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158378#M358658</guid>
      <dc:creator>john4665cisco</dc:creator>
      <dc:date>2013-04-09T04:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: object-group with network-object containing an IP address ra</title>
      <link>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158379#M358659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if I missed something but to my understanding there is no option to define a range of IP addresses under the &lt;STRONG&gt;"object-group network"&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the newer softwares you can define an &lt;STRONG&gt;"object network"&lt;/STRONG&gt; inside which you can enter a range of IP addresses. This is totally different than the &lt;STRONG&gt;"object-group network"&lt;/STRONG&gt;. The &lt;STRONG&gt;"object network"&lt;/STRONG&gt; became available in the software 8.3(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though it seems you can still enter the mentioned configuration under the "object-group network" in the new software but it wouldnt really make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 05:57:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158379#M358659</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-04-09T05:57:56Z</dc:date>
    </item>
    <item>
      <title>object-group with network-object containing an IP address range</title>
      <link>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158380#M358660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say range of IP addresses do you mean you used the keyword range or you just did it as you showed on the first post as that is incorrect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 05:58:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158380#M358660</guid>
      <dc:creator>Julio Carvajal</dc:creator>
      <dc:date>2013-04-09T05:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: object-group with network-object containing an IP address ra</title>
      <link>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158381#M358661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your replies. In code version 8.0(5)23, it appears I am able to define a "range" of IP addresses as in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;192.168.0.0 192.168.63.255 as opposed to defining a range with a netmask like 192.168.0.0 255.255.192.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the "range" of IP address applied to the "object-group network test" with sub command "network-object 192.168.0.0 192.168.63.255" the ASA does not pick up on said "range" when this object group is applied to a DENY access list. It only reads it properly when the netmask is attached, which is the correct configuration, as in: "network-object 192.168.0.0 255.255.192.0".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify, I mean range as in 192.168.0.0 - 192.168.63.255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to understand. I am just curious as to why this is even able to be applied in such a way or if it is a bug in this particular code version? I can also confirm that this can be done in code version 8.4(2). See below snippets of my configuration in the 8.4(2) code version:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list 101 line 3 extended deny ip object-group testmask any 0x577f55a8 &lt;/P&gt;&lt;P&gt;&amp;nbsp; access-list 101 line 3 extended deny ip 192.168.0.0 192.168.63.255 any (hitcnt=0) 0x0623b0c4 &lt;/P&gt;&lt;P&gt;access-list 101 line 4 extended permit tcp any any eq 89 (hitcnt=1) 0x36f1e5cd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Packet trace results in allowing the "range" of IP address:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;input-interface: outside&lt;/P&gt;&lt;P&gt;input-status: up&lt;/P&gt;&lt;P&gt;input-line-status: up&lt;/P&gt;&lt;P&gt;output-interface: dmztest&lt;/P&gt;&lt;P&gt;output-status: up&lt;/P&gt;&lt;P&gt;output-line-status: up&lt;/P&gt;&lt;P&gt;Action: allow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now with the "correct" configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list 101 line 3 extended deny ip object-group testmask any 0x577f55a8 &lt;/P&gt;&lt;P&gt;&amp;nbsp; access-list 101 line 3 extended deny ip 192.168.0.0 255.255.192.0 any (hitcnt=1) 0xa31c6bbd &lt;/P&gt;&lt;P&gt;access-list 101 line 4 extended permit tcp any any eq 89 (hitcnt=1) 0x36f1e5cd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;input-interface: outside&lt;/P&gt;&lt;P&gt;input-status: up&lt;/P&gt;&lt;P&gt;input-line-status: up&lt;/P&gt;&lt;P&gt;output-interface: dmztest&lt;/P&gt;&lt;P&gt;output-status: up&lt;/P&gt;&lt;P&gt;output-line-status: up&lt;/P&gt;&lt;P&gt;Action: drop&lt;/P&gt;&lt;P&gt;Drop-reason: (acl-drop) Flow is denied by configured rule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 07:13:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158381#M358661</guid>
      <dc:creator>john4665cisco</dc:creator>
      <dc:date>2013-04-09T07:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: object-group with network-object containing an IP address ra</title>
      <link>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158382#M358662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know if its a bug or if it was intentionally allowed. Either way, using such configuration under and "object-group" wouldnt make sense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Command Reference states that its expecting a network address as the first parameter and the network mask as the second parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ASA(config-network-object-group)# network-object ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;network-object-group mode commands/options:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Hostname or A.B.C.D&amp;nbsp; Enter an IPv4 &lt;STRONG&gt;network address&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ASA(config-network-object-group)# network-object 192.168.0.0 ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;network-object-group mode commands/options:&lt;/P&gt;&lt;P&gt;&amp;nbsp; A.B.C.D&amp;nbsp; Enter an IPv4 &lt;STRONG&gt;network mask&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heres a link to the command "network-object" for ASA software 8.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/no.html#wp1749092" rel="nofollow"&gt;http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/no.html#wp1749092&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 07:27:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/object-group-with-network-object-containing-an-ip-address-range/m-p/2158382#M358662</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-04-09T07:27:32Z</dc:date>
    </item>
  </channel>
</rss>

