05-19-2022 05:59 PM
Design all private IP addresses to use the 10.11.0.0/16
subnet. All private IP addresses must be in the range 10.11.0.1-10.11.255.254. Change all public IP addresses to use the 20.11.0.0/16 subnet. All public addresses must be in the range 20.11.0.1-20.11.255.254.
Router(config)#ip route 10.11.3.0 255.255.0.0 20.11.2.2
%Inconsistent address and mask
05-19-2022 06:46 PM - edited 05-19-2022 06:47 PM
Hello,
The address you provided is a host address in that /16 network. The way a static route is set up is like this:
ip route 10.11.3.0 255.255.0.0 20.11.2.2 <- the bold is the network you're trying to reach and the 20.11.2.2 is the next hop (hopefully in your configuration)
The 10.11.3.0 you put is a valid host address in the 10.11.0.0./16 network. To change it you would need the statement to read:
ip route 10.11.0.0 255.255.0.0 20.11.2.2
Hope that helps
-David
05-19-2022 06:57 PM
Tried this but still cannot communicate.
05-19-2022 07:33 PM
Were you able to add the command as I set out without errors? Only that specific issue would have been solved with my statement. The issue you posed just stated it gave you that error when putting in an IP route statement, not about communication. If you need further troubleshooting can you provide a diagram and IP addressing and state what you are trying to accomplish?
-David
05-19-2022 06:49 PM
The inconsistency is that the mask you use in the static route 255.255.0.0 says that the first and second octet in the address must match and that the third and fourth octet can be anything. But in the address you configure in the route you specify a particular value in the third octet. To resolve this you need to either change the mask to 255.255.255.0 or you need to change the address to 10.11.0.0.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide