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

%Inconsistent address and mask

David Draper
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

John Blakley
VIP Alumni
VIP Alumni

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 ***

HTH, John *** Please rate all useful posts ***

View solution in original post

2 Replies 2

John Blakley
VIP Alumni
VIP Alumni

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 ***

HTH, John *** Please rate all useful posts ***

John,

     Thanks for the reply, I just relaized it when I did the math. I appreciate it!

     Dave

Review Cisco Networking products for a $25 gift card