Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Inconsistent Mask and Address Error

can someone please explain why I am receiving this error message?
 
 
OficinaCentral(config)#ip route 192.168.10.64 192.168.10.65 255.255.255.224
%Inconsistent address and mask
OficinaCentral(config)#ip route 192.168.10.96 192.168.10.97 255.255.255.224
%Inconsistent address and mask
OficinaCentral(config)#ip route 192.168.10.128 192.168.10.129 255.255.255.240
%Inconsistent address and mask
OficinaCentral(config)#ip route 192.168.10.144 192.168.10.145 255.255.255.240
%Inconsistent address and mask
OficinaCentral(config)#ip route 192.168.10.160 192.168.10.161 255.255.255.248
%Inconsistent address and mask
OficinaCentral(config)#ip route 192.168.10.168 192.168.10.169 255.255.255.248
%Inconsistent address and mask
OficinaCentral(config)#ip route 192.168.10.176 192.168.10.177 255.255.255.248
2 REPLIES

hi,to my knowledge, the

hi,

the format for static route should be:

ip route <destination network> <subnet mask> <next-hop-ip>

kindly also check your subnetting.

New Member

Hello Johmon171, The problem

Hello

The problem is pretty straight forward in your case.

you are entering the static route in wrong format. consider the following ip router  entry as sample

ip route 192.168.1.192 255.255.255.224 192.168.1.66

 

192.168.1.192 === destination network to reach

255.255.255.224 === destination subnet mask

192.168.1.66 ===  ip address of next hop

you can also specify the exit interface to reach the destination.

 

Hope it will help  :D

i am new to networking please correct me if someone find any mistake in answer.

 

Thanks

1298
Views
0
Helpful
2
Replies
CreatePlease login to create content