cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
892
Views
10
Helpful
2
Replies
fidelmartin3405
Beginner

Inconsistent address and mask

Hi, i have a trouble today i get errors like : %Inconsistent address and mask

 

i try to ip route 10.0.2.0 255.255.252.0 nexthop

i dont put next hop but that info was irrelevant

 

But dont work.

 

Any help?

1 ACCEPTED SOLUTION

Accepted Solutions
Giuseppe Larosa
Hall of Fame Master

Hello,

static route requires to use the subnet address when network mask is 255.255.252.0

the subnet address is:

10.0.0.0/22

the correct static route is :

ip route 10.0.0.0 255.255.252.0 <nexthop>

 

if you want to create a static route for 10.0.2.0/23 you need to use

ip route 10.0.2.0 255.255.254.0 <nexthop>

 

Hope to help

Giuseppe

 

View solution in original post

2 REPLIES 2
Giuseppe Larosa
Hall of Fame Master

Hello,

static route requires to use the subnet address when network mask is 255.255.252.0

the subnet address is:

10.0.0.0/22

the correct static route is :

ip route 10.0.0.0 255.255.252.0 <nexthop>

 

if you want to create a static route for 10.0.2.0/23 you need to use

ip route 10.0.2.0 255.255.254.0 <nexthop>

 

Hope to help

Giuseppe

 

View solution in original post

Edwin Portillo
Collaborator

Hi my friend,

 

You are using the wrong mask for this case that is not inconsistent you must place:

Mask.PNG

 

Binary

 

binary.PNG

 

Network

 

red.PNG

 

Come on, you can are small things that help us grow.

 

Link: https://www.calculadora-redes.com/ipcalc.php

Content for Community-Ad