01-21-2009 09:37 PM - edited 03-06-2019 03:34 AM
getting error on adding route pls. guide
network to route 172.0.0.0/17
TTT(config)#ip route 172.0.0.0 255.255.108.0 192.168.5.98
%Inconsistent address and mask
01-21-2009 09:55 PM
Only wildcard masks can change to be a non-consecutive bit pattern.
Subnet masks need a mask with consecutive bits:
valid binary subnet mask:
11111111.11111111.1111111.00000000
invalid subnet mask:
01010101.11010111.1111111.01111000
You have 255.255.108.0
Which is:
11111111.11111111.01101100.0000000
Correct mask for a /17 network is:
255.255.128.0
Probably just a minor typo.
01-21-2009 11:38 PM
Hello,
for /17 the right mask is 255.255.128.0
use
ip route 172.0.0.0 255.255.128.0 192.168.5.98
you have just mistyped
Hope to help
Giuseppe
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