cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1722
Views
0
Helpful
2
Replies

Inconsistent Mask and Address Error

Johmon171
Level 1
Level 1
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 2

johnlloyd_13
Level 9
Level 9

hi,

the format for static route should be:

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

kindly also check your subnetting.

semakabid1
Level 1
Level 1

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

Review Cisco Networking products for a $25 gift card