Re: Inconsistent address and mask

From: Nadeem Anjum <nadeemkool_at_yahoo.com>
Date: Mon, 24 Jun 2013 04:32:33 -0700 (PDT)

Dear All,

Interface IP is 12.12.12.1/8. 12.0.0.0 255.0.0.0 is network
address. IP range is 1.0.0.0 126.255.255.255

And I am adding route of
23.23.0.0/16. This network is within the range of interface IP range. Is it
ok?
 
Thanks,

Nadeem Anjum

>________________________________
> From:
Carlos G Mendioroz <tron_at_huapi.ba.ar>
>To: Nadeem Anjum <nadeemkool_at_yahoo.com>
>Cc: Eduardo Vazquez <evazquez_at_gmail.com>; ccie groupstudy
<ccielab_at_groupstudy.com>
>Sent: Monday, June 24, 2013 3:10 PM
>Subject: Re:
Inconsistent address and mask
>
>
>Nadeem,
>the network mask defines the
boundary between network and host regions
>of an IP address.
>A network
address, by definition, has the host part set to zeroes.
>
>If it does not, as
in your case, IOS barfs :)
>
>I.e. in:
> ip route 23.23.23.0 255.255.0.0
12.12.12.2
> ^^^^^^^^^^^^^^^^^^^^^^
> NNNNN HHHH
>
>255.255.0.0 means 23.23 is network and 23.0 is host part.
>
>-Carlos
>
>Nadeem Anjum @ 24/06/2013 03:15 -0300 dixit:
>> Dear All,
>>
>> Concept is
still not clear. Can you please explain in more details.
>>
>>
>>
>>
Thanks,
>> Nadeem Anjum
>>
>>
>>
>>> ________________________________
>>>
From: Eduardo
>> Vazquez <evazquez_at_gmail.com>
>>> To: Nadeem Anjum
<nadeemkool_at_yahoo.com>
>>> Cc:
>> ccie groupstudy <ccielab_at_groupstudy.com>
>>> Sent: Saturday, June 22, 2013 5:14
>> PM
>>> Subject: Re: Inconsistent
address and mask
>>>
>>>
>>> Your mask and network
>> number don't match. It
has to be either:
>>>
>>> Ip route 23.23.0.0 255.255.0.0
>> 12.12.12.2
>>>
>>>
Or
>>>
>>> Ip route 23.23.23.0 255.255.255.0 12.12.12.2
>>>
>>> On
>>
Saturday, June 22, 2013, Nadeem Anjum wrote:
>>>
>>>> Dear All,
>>>>
>>>> I
am facing
>> the following error. My routers output is as follow.
>>>> Why I
am facing this
>> error.
>>>>
>>>> Cisco-R1#sh ip int brief
>>>> Interface
>>>> IP-Address OK?
>> Method Status Protocol
>>>>
FastEthernet0/0
>>>>
>> 12.12.12.1 YES manual up
  up
>>>> FastEthernet0/1
>> unassigned YES unset
administratively down
>>>> down
>>>> Loopback0
>> 1.1.1.1
   YES manual up
>>>> up
>>>> Cisco-R1#
>>>>
>>>>
>> Cisco-R1#sh runn
int fa0/0
>>>> Building
>>>> configuration...
>>>>
>>>> Current
>>
configuration : 91 bytes
>>>> !
>>>> interface FastEthernet0/0
>>>> ip
address
>> 12.12.12.1 255.0.0.0
>>>> duplex auto
>>>> speed auto
>>>> end
>>>>
>>>> Cisco-R1#
>>>>
>> Cisco-R1(config)#ip route 23.23.23.0 255.255.0.0
12.12.12.2
>>>> %Inconsistent
>>>> address and mask
>>>> Cisco-R1(config)#
>>>>
>>>>
>>>> Blogs and organic groups at
>> http://www.ccie.net
>>>>
>>>>
>>
Received on Mon Jun 24 2013 - 04:32:33 ART

This archive was generated by hypermail 2.2.0 : Mon Jul 01 2013 - 06:58:42 ART