The /16 mask for 23.23.0.0 covers usable hosts 23.23.0.1 through
23.23.255.254 where 23.23.0.0 is the network address and 23.23.255.255
being the broadcast.
The initial problem of
Ip route 23.23.23.0 255.255.0.0 12.12.12.2 getting the inconsistent error
mesage is due to that being a host in the /16 range. If the intent was to
route the network, the statement should be corrected as previously noted.
Ip route 23.23.0.0 255.255.0.0 12.12.12.2
Or if the intent was to route to the host address in the original static
route stement, it would need to be corrected to a 32 bit host route
Ip route 23.23.23.0 255.255.255.255 12.12.12.2.
In this scenario however, the solution is more likely trying to route the
network and the first entry of
Ip route 23.23.0.0 255.255.0.0 12.12.12.2
Will resolve the error message issue.
Or as previously noted, if the issue is the /24 network of 23.23.23.0 then
the stsic route statement has to be
Ip route 23.23.23.0 255.255.255.0 12.12.12.2
On Jun 24, 2013 2:15 AM, "Nadeem Anjum" <nadeemkool_at_yahoo.com> wrote:
> 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
> >>
> >>
> _______________________________________________________________________
> >>
> Subscription information may be found at:
> >>
> http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >Blogs and organic groups at
> http://www.ccie.net
> >
> >_______________________________________________________________________
> >Subscription information may be found at:
> >http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Mon Jun 24 2013 - 13:52:43 ART
This archive was generated by hypermail 2.2.0 : Mon Jul 01 2013 - 06:58:42 ART