[c-nsp] subnet mask confusion?

sky vader aptgetd at gmail.com
Fri Apr 19 01:51:07 EDT 2013


Correct, but then how come when I use network-object group such as the 
following, netmask of 255.0.255.255 works?

labasa# show run object-group id test
object-group network test
  network-object 10.0.10.100 255.0.255.255


sky

On 04/18/2013 10:37 PM, Bradford Chatterjee wrote:
> Subnet masks and wildcard masks are not the same. Subnet masks always have
> all ones in the network bits and all zeroes in the host bits. Wildcard
> masks use bit masking differently, and for different reasons.
> On Apr 18, 2013 10:32 PM, "sky vader" <aptgetd at gmail.com> wrote:
>
>> Hello,
>>
>> when using the following mask errors out as bad mask when used on an
>> interface.
>>
>> labasa(config-if)# ip address 10.0.10.100 255.0.255.255
>> ERROR: Bad mask 255.0.255.255 for address 10.0.1.100
>>
>>
>> works on an access-list,
>>
>> labasa(config-if)#access-list 101 extended permit ip any 10.0.10.150
>> 255.0.255.255
>>
>> Just wondering what am I missing?
>>
>>
>> sky
>> ______________________________**_________________
>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
>> https://puck.nether.net/**mailman/listinfo/cisco-nsp<https://puck.nether.net/mailman/listinfo/cisco-nsp>
>> archive at http://puck.nether.net/**pipermail/cisco-nsp/<http://puck.nether.net/pipermail/cisco-nsp/>
>>
>


More information about the cisco-nsp mailing list