08-29-2013 07:45 AM - edited 03-07-2019 03:12 PM
All,
I am in the process of expanding a subnet from a /24 to a /23 10.12.155.0 255.255.255.0 to 10.12.155.0 255.255.254.0 and I keep getting a %Inconsistent address and mask error when I do an IP Route (ip route 10.12.155.0 255.255.254.0 10.128.0.3). I have expanded multiple subnets in the past for example 10.12.142.0 /24 to a /23 so I am not seeing why this is not working properly. Thanks for any help that you can provide.
Dave
Solved! Go to Solution.
08-29-2013 07:51 AM
David,
Your boundary starts at 154 for that mask, so you'll need to add the route as "ip route 10.12.154.0 255.255.254.0 10.128.0.3".
If you want just the 155 subnet, you can add it as a class c with "ip route 10.12.155.0 255.255.255.0 10.128.0.3" and that would work as well.
In your past example, your boundary would start at 142, so that's why you didn't have an issue then...
HTH,
John
*** Please rate all useful posts ***
08-29-2013 07:51 AM
David,
Your boundary starts at 154 for that mask, so you'll need to add the route as "ip route 10.12.154.0 255.255.254.0 10.128.0.3".
If you want just the 155 subnet, you can add it as a class c with "ip route 10.12.155.0 255.255.255.0 10.128.0.3" and that would work as well.
In your past example, your boundary would start at 142, so that's why you didn't have an issue then...
HTH,
John
*** Please rate all useful posts ***
08-29-2013 07:57 AM
John,
Thanks for the reply, I just relaized it when I did the math. I appreciate it!
Dave
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