I have a basic lab in Packet Tracer where I'm trying to master ip routing statements, see attached screenshot. I continue to get the following error when I try to enter this in on the 2911_router001 (HQ), to set a route to router002.
2911_router001(config)#ip route 192.168.2.1 255.255.255.252 192.168.1.2
%Inconsistent address and mask
This is the setup
2911_router001 (HQ)
s0/0/0 - 192.168.1.1
s0/0/1 - 192.168.3.1
2911_router002 (Branch 1)
s0/2/0 - 192.168.2.1
s0/0/0 - 192.168.1.2
2911_router003 (Branch 2)
s0/2/0 - 192.168.2.2
s0/0/1 - 192.168.3.2
If I put in static routes to reach router002 and router003 from router001
2911_router001(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.2
2911_router001(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.2
This takes with no issues and I repeat this as well for the router002 and router003 and I am able to ping all serial interfaces.
I don't understand why I'm getting Inconsistent address and mask error. This isn't clear to me.